diff options
author | Jiri Pirko <jiri@nvidia.com> | 2022-07-25 10:29:20 +0200 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2022-07-26 13:56:10 -0700 |
commit | 4da0eb2a75eb14a474a94d9249255f97a9175a3c (patch) | |
tree | a3462eb0153e283de3d54f1e80b7a9dd1d9492bf /lib/packing.c | |
parent | 4ea07cf638dbd6260664b69b0f69cc951934194d (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 'lib/packing.c')
0 files changed, 0 insertions, 0 deletions