aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorGravatar Jiri Pirko <jiri@nvidia.com> 2023-09-13 09:12:42 +0200
committerGravatar David S. Miller <davem@davemloft.net> 2023-09-17 14:01:47 +0100
commitc5e1bf8a51cfe5060e91c7533098e329c0118f6d (patch)
tree3423558f0377069c1eb39110f2b2347e5e1bd2dc /scripts
parentdevlink: convert linecard nested devlink to new rel infrastructure (diff)
downloadlinux-c5e1bf8a51cfe5060e91c7533098e329c0118f6d.tar.gz
linux-c5e1bf8a51cfe5060e91c7533098e329c0118f6d.tar.bz2
linux-c5e1bf8a51cfe5060e91c7533098e329c0118f6d.zip
devlink: introduce possibility to expose info about nested devlinks
In mlx5, there is a devlink instance created for PCI device. Also, one separate devlink instance is created for auxiliary device that represents the netdev of uplink port. This relation is currently invisible to the devlink user. Benefit from the rel infrastructure and allow for nested devlink instance to set the relationship for the nested-in devlink instance. Note that there may be many nested instances, therefore use xarray to hold the list of rel_indexes for individual nested instances. Signed-off-by: Jiri Pirko <jiri@nvidia.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions