linux/net/devlink
Jiri Pirko c5e1bf8a51 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>
2023-09-17 14:01:47 +01:00
..
core.c devlink: introduce possibility to expose info about nested devlinks 2023-09-17 14:01:47 +01:00
dev.c devlink: introduce possibility to expose info about nested devlinks 2023-09-17 14:01:47 +01:00
devl_internal.h devlink: introduce possibility to expose info about nested devlinks 2023-09-17 14:01:47 +01:00
dpipe.c devlink: push dpipe related code into separate file 2023-08-28 08:02:22 -07:00
health.c genetlink: use attrs from struct genl_info 2023-08-15 15:00:45 -07:00
linecard.c devlink: convert linecard nested devlink to new rel infrastructure 2023-09-17 14:01:47 +01:00
Makefile devlink: move devlink_notify_register/unregister() to dev.c 2023-08-28 08:02:24 -07:00
netlink_gen.c netlink: specs: devlink: extend health reporter dump attributes by port index 2023-08-14 11:47:25 -07:00
netlink_gen.h netlink: specs: devlink: add commands that do per-instance dump 2023-08-14 11:47:25 -07:00
netlink.c devlink: extend devlink_nl_put_nested_handle() with attrtype arg 2023-09-17 14:01:46 +01:00
param.c devlink: push param related code into separate file 2023-08-28 08:02:22 -07:00
port.c devlink: expose peer SF devlink instance 2023-09-17 14:01:47 +01:00
rate.c devlink: push rate related code into separate file 2023-08-28 08:02:23 -07:00
region.c devlink: push region related code into separate file 2023-08-28 08:02:23 -07:00
resource.c devlink: push resource related code into separate file 2023-08-28 08:02:22 -07:00
sb.c devlink: push shared buffer related code into separate file 2023-08-28 08:02:22 -07:00
trap.c devlink: push trap related code into separate file 2023-08-28 08:02:23 -07:00