summaryrefslogtreecommitdiff
path: root/Documentation/networking/devlink/mlxsw.rst
diff options
context:
space:
mode:
authorJiri Pirko <jiri@nvidia.com>2022-07-25 10:29:20 +0200
committerJakub Kicinski <kuba@kernel.org>2022-07-26 13:56:10 -0700
commit4da0eb2a75eb14a474a94d9249255f97a9175a3c (patch)
treea3462eb0153e283de3d54f1e80b7a9dd1d9492bf /Documentation/networking/devlink/mlxsw.rst
parent4ea07cf638dbd6260664b69b0f69cc951934194d (diff)
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/devlink/mlxsw.rst')
-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
=====================