Skip to content

Commit

Permalink
devlink: Add new info version tags for ASIC and FW
Browse files Browse the repository at this point in the history
The current tag set is still rather small and needs a couple
more tags to help with ASIC identification and to have a
more generic FW version.

Cc: Jiri Pirko <jiri@resnulli.us>
Acked-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Signed-off-by: Shannon Nelson <snelson@pensando.io>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Shannon Nelson authored and David S. Miller committed Sep 5, 2019
1 parent 0d62214 commit 7d5aa9a
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 0 deletions.
16 changes: 16 additions & 0 deletions Documentation/networking/devlink-info-versions.rst
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,27 @@ board.rev

Board design revision.

asic.id
=======

ASIC design identifier.

asic.rev
========

ASIC design revision.

board.manufacture
=================

An identifier of the company or the facility which produced the part.

fw
==

Overall firmware version, often representing the collection of
fw.mgmt, fw.app, etc.

fw.mgmt
=======

Expand Down
7 changes: 7 additions & 0 deletions include/net/devlink.h
Original file line number Diff line number Diff line change
Expand Up @@ -458,6 +458,13 @@ enum devlink_param_generic_id {
/* Maker of the board */
#define DEVLINK_INFO_VERSION_GENERIC_BOARD_MANUFACTURE "board.manufacture"

/* Part number, identifier of asic design */
#define DEVLINK_INFO_VERSION_GENERIC_ASIC_ID "asic.id"
/* Revision of asic design */
#define DEVLINK_INFO_VERSION_GENERIC_ASIC_REV "asic.rev"

/* Overall FW version */
#define DEVLINK_INFO_VERSION_GENERIC_FW "fw"
/* Control processor FW version */
#define DEVLINK_INFO_VERSION_GENERIC_FW_MGMT "fw.mgmt"
/* Data path microcode controlling high-speed packet processing */
Expand Down

0 comments on commit 7d5aa9a

Please sign in to comment.