diff options
author | Jiri Pirko <jiri@nvidia.com> | 2022-04-25 06:44:23 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2022-04-25 10:42:28 +0100 |
commit | 28b2d1f1ac41dda0b239830765d85c7ae4434182 (patch) | |
tree | ad118d767f90b4f9539c87dd8e7c836a94bc5c9e /Documentation/networking | |
parent | 276910aecc6a4076f5fbfd8160ff70695d6c1eb5 (diff) | |
download | linux-stable-28b2d1f1ac41dda0b239830765d85c7ae4434182.tar.gz linux-stable-28b2d1f1ac41dda0b239830765d85c7ae4434182.tar.bz2 linux-stable-28b2d1f1ac41dda0b239830765d85c7ae4434182.zip |
devlink: introduce line card device info infrastructure
Extend the line card info message with information (e.g., FW version)
about devices found on the line card.
Example:
$ devlink lc info pci/0000:01:00.0 lc 8
pci/0000:01:00.0:
lc 8
versions:
fixed:
hw.revision 0
running:
ini.version 4
devices:
device 0
versions:
running:
fw 19.2010.1310
device 1
versions:
running:
fw 19.2010.1310
device 2
versions:
running:
fw 19.2010.1310
device 3
versions:
running:
fw 19.2010.1310
Signed-off-by: Jiri Pirko <jiri@nvidia.com>
Signed-off-by: Ido Schimmel <idosch@nvidia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'Documentation/networking')
-rw-r--r-- | Documentation/networking/devlink/devlink-linecard.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Documentation/networking/devlink/devlink-linecard.rst b/Documentation/networking/devlink/devlink-linecard.rst index 5a8d5989702a..a98b468ad479 100644 --- a/Documentation/networking/devlink/devlink-linecard.rst +++ b/Documentation/networking/devlink/devlink-linecard.rst @@ -14,7 +14,7 @@ system. Following operations are provided: * Get a list of supported line card types. * Provision of a slot with specific line card type. * Get and monitor of line card state and its change. - * Get information about line card versions. + * Get information about line card versions and devices. Line card according to the type may contain one or more gearboxes to mux the lanes with certain speed to multiple ports with lanes |