summaryrefslogtreecommitdiff
path: root/include/net/aligned_data.h
diff options
context:
space:
mode:
authorJiri Pirko <jiri@nvidia.com>2026-03-12 13:03:59 +0300
committerJakub Kicinski <kuba@kernel.org>2026-03-14 23:08:48 +0300
commit725d5fdb7b9c01d9e7079682acf998703762475b (patch)
tree076f9770f2024247a9b91e102a7c61315852df85 /include/net/aligned_data.h
parentd85a8af57da871964c60eb5b9ab121a6c31e3bd3 (diff)
downloadlinux-725d5fdb7b9c01d9e7079682acf998703762475b.tar.xz
devlink: support index-based lookup via bus_name/dev_name handle
Devlink instances without a backing device use bus_name "devlink_index" and dev_name set to the decimal index string. When user space sends this handle, detect the pattern and perform a direct xarray lookup by index instead of iterating all instances. Signed-off-by: Jiri Pirko <jiri@nvidia.com> Link: https://patch.msgid.link/20260312100407.551173-6-jiri@resnulli.us Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'include/net/aligned_data.h')
0 files changed, 0 insertions, 0 deletions