commit | 700a8991f05e6e37889101196a531cf82777bdf7 | [log] [tgz] |
---|---|---|
author | Jiri Pirko <jiri@nvidia.com> | Tue Aug 09 15:17:30 2022 +0200 |
committer | David Ahern <dsahern@kernel.org> | Sun Aug 14 11:32:29 2022 -0600 |
tree | 2692348d74cbc8acd12e29df653671c97ed8cebb | |
parent | d9305ec5a81ebc0b092d6d985b3869a443a0d03d [diff] |
devlink: expose nested devlink for a line card object If line card object contains a nested devlink, expose it. Example: $ devlink lc show pci/0000:01:00.0 lc 1 pci/0000:01:00.0: lc 1 state active type 16x100G nested_devlink auxiliary/mlxsw_core.lc.0 supported_types: 16x100G $ devlink dev show auxiliary/mlxsw_core.lc.0 auxiliary/mlxsw_core.lc.0 Signed-off-by: Jiri Pirko <jiri@nvidia.com> Reviewed-by: Ido Schimmel <idosch@nvidia.com> Signed-off-by: David Ahern <dsahern@kernel.org>