diff options
author | Jiri Pirko <jiri@nvidia.com> | 2022-07-25 11:29:18 +0300 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2022-07-26 23:56:06 +0300 |
commit | 5ba325fec511fecdfcf3815695c275f6c0ba817b (patch) | |
tree | 00e5deedbca52be4a4a4fb3ebd3ff475e25dae5d /Documentation/networking/devlink/mlxsw.rst | |
parent | bd02fd76d1909637c95e8ef13e7fd1e748af910d (diff) | |
download | linux-5ba325fec511fecdfcf3815695c275f6c0ba817b.tar.xz |
mlxsw: core_linecards: Expose HW revision and INI version
Implement info_get() to expose HW revision of a linecard and loaded INI
version.
Example:
$ devlink dev info auxiliary/mlxsw_core.lc.0
auxiliary/mlxsw_core.lc.0:
versions:
fixed:
hw.revision 0
running:
ini.version 4
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.rst | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/Documentation/networking/devlink/mlxsw.rst b/Documentation/networking/devlink/mlxsw.rst index cf857cb4ba8f..aededcf68df4 100644 --- a/Documentation/networking/devlink/mlxsw.rst +++ b/Documentation/networking/devlink/mlxsw.rst @@ -58,6 +58,24 @@ The ``mlxsw`` driver reports the following versions - running - Three digit firmware version +Line card auxiliary device info versions +======================================== + +The ``mlxsw`` driver reports the following versions for line card auxiliary device + +.. list-table:: devlink info versions implemented + :widths: 5 5 90 + + * - Name + - Type + - Description + * - ``hw.revision`` + - fixed + - The hardware revision for this line card + * - ``ini.version`` + - running + - Version of line card INI loaded + Driver-specific Traps ===================== |