]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
mlxsw: core: Expose FW version over defined keyword
authorJiri Pirko <jiri@nvidia.com>
Wed, 26 May 2021 10:45:08 +0000 (12:45 +0200)
committerJakub Kicinski <kuba@kernel.org>
Thu, 27 May 2021 21:51:18 +0000 (14:51 -0700)
commitf55c998c274e3b59f8b07234f16521524c564a23
treea48931d756903140abe952c70b7f495e90ce735f
parent2754125ebd334268d815277e2909dc9fbb504356
mlxsw: core: Expose FW version over defined keyword

To be aligned with the rest of the drivers, expose FW version under "fw"
keyword in devlink dev info, in addition to the existing "fw.version",
which is currently Mellanox-specific.

devlink output before:
       running:
         fw.version 30.2008.2018
after:
       running:
         fw.version 30.2008.2018
         fw 30.2008.2018

Signed-off-by: Jiri Pirko <jiri@nvidia.com>
Reviewed-by: Ido Schimmel <idosch@nvidia.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/mellanox/mlxsw/core.c