mlxsw: core_linecards: Expose device PSID over device info
Use tunneled MGIR to obtain PSID of line card device and extend
device_info_get() op to fill up the info with that.
Example:
$ devlink dev info auxiliary/mlxsw_core.lc.0
auxiliary/mlxsw_core.lc.0:
versions:
fixed:
hw.revision 0
fw.psid MT_0000000749
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>
This commit is contained in:
committed by
Jakub Kicinski
parent
8f9b0513a9
commit
3fc0c51905
@@ -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.psid``
|
||||
- fixed
|
||||
- Line card device PSID
|
||||
* - ``fw.version``
|
||||
- running
|
||||
- Three digit firmware version of line card device
|
||||
|
||||
Reference in New Issue
Block a user