aboutsummaryrefslogtreecommitdiff
path: root/Documentation/networking
diff options
context:
space:
mode:
authorGravatar Jiri Pirko <jiri@nvidia.com> 2022-07-25 10:29:20 +0200
committerGravatar Jakub Kicinski <kuba@kernel.org> 2022-07-26 13:56:10 -0700
commit4da0eb2a75eb14a474a94d9249255f97a9175a3c (patch)
treea3462eb0153e283de3d54f1e80b7a9dd1d9492bf /Documentation/networking
parentmlxsw: reg: Extend MDDQ by device_info (diff)
downloadlinux-4da0eb2a75eb14a474a94d9249255f97a9175a3c.tar.gz
linux-4da0eb2a75eb14a474a94d9249255f97a9175a3c.tar.bz2
linux-4da0eb2a75eb14a474a94d9249255f97a9175a3c.zip
mlxsw: core_linecards: Probe active line cards for devices and expose FW version
In case the line card is active, go over all possible existing devices (gearboxes) on it and expose FW version of the flashable one. Example: $ devlink dev info auxiliary/mlxsw_core.lc.0 auxiliary/mlxsw_core.lc.0: versions: fixed: hw.revision 0 running: ini.version 4 fw 19.2010.1312 Signed-off-by: Jiri Pirko <jiri@nvidia.com> Reviewed-by: Ido Schimmel <idosch@nvidia.com> Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'Documentation/networking')
-rw-r--r--Documentation/networking/devlink/mlxsw.rst3
1 files changed, 3 insertions, 0 deletions
diff --git a/Documentation/networking/devlink/mlxsw.rst b/Documentation/networking/devlink/mlxsw.rst
index aededcf68df4..65ceed98f94d 100644
--- a/Documentation/networking/devlink/mlxsw.rst
+++ b/Documentation/networking/devlink/mlxsw.rst
@@ -75,6 +75,9 @@ The ``mlxsw`` driver reports the following versions for line card auxiliary devi
* - ``ini.version``
- running
- Version of line card INI loaded
+ * - ``fw.version``
+ - running
+ - Three digit firmware version of line card device
Driver-specific Traps
=====================