summaryrefslogtreecommitdiff
path: root/include/net/aligned_data.h
diff options
context:
space:
mode:
authorJiri Pirko <jiri@nvidia.com>2026-03-12 13:04:04 +0300
committerJakub Kicinski <kuba@kernel.org>2026-03-14 23:08:49 +0300
commita4c6d53e5fd61829f707b7a723dd2937ed67c803 (patch)
treecb8800f34361550c64f4694ff31f54c9fb66cffd /include/net/aligned_data.h
parent104733e1303efcec97c9a581adabbc03c6679006 (diff)
downloadlinux-a4c6d53e5fd61829f707b7a723dd2937ed67c803.tar.xz
devlink: allow devlink instance allocation without a backing device
Allow devlink_alloc_ns() to be called with dev=NULL to support device-less devlink instances. When dev is NULL, the instance is identified over netlink using "devlink_index" as bus_name and the decimal index value as dev_name. Signed-off-by: Jiri Pirko <jiri@nvidia.com> Link: https://patch.msgid.link/20260312100407.551173-11-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