diff options
author | Fei Qin <fei.qin@corigine.com> | 2024-04-10 13:26:36 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2024-04-12 12:40:09 +0200 |
commit | 8910f93b95706b4b11485bb0f318f88918a46b04 (patch) | |
tree | 61539339d76e8f6d843eee4fcbec3fbddbef4f52 /drivers/net/ethernet/netronome | |
parent | devlink: add a new info version tag (diff) | |
download | linux-8910f93b95706b4b11485bb0f318f88918a46b04.tar.xz linux-8910f93b95706b4b11485bb0f318f88918a46b04.zip |
nfp: update devlink device info output
Newer NIC will introduce a new part number, now add it
into devlink device info.
This patch also updates the information of "board.id" in
nfp.rst to match the devlink-info.rst.
Signed-off-by: Fei Qin <fei.qin@corigine.com>
Signed-off-by: Louis Peens <louis.peens@corigine.com>
Reviewed-by: Jacob Keller <jacob.e.keller@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/netronome')
-rw-r--r-- | drivers/net/ethernet/netronome/nfp/nfp_devlink.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/ethernet/netronome/nfp/nfp_devlink.c b/drivers/net/ethernet/netronome/nfp/nfp_devlink.c index 635d33c0d6d3..ea75b9a06313 100644 --- a/drivers/net/ethernet/netronome/nfp/nfp_devlink.c +++ b/drivers/net/ethernet/netronome/nfp/nfp_devlink.c @@ -160,6 +160,7 @@ static const struct nfp_devlink_versions_simple { { DEVLINK_INFO_VERSION_GENERIC_BOARD_REV, "assembly.revision", }, { DEVLINK_INFO_VERSION_GENERIC_BOARD_MANUFACTURE, "assembly.vendor", }, { "board.model", /* code name */ "assembly.model", }, + { DEVLINK_INFO_VERSION_GENERIC_BOARD_PART_NUMBER, "pn", }, }; static int |