Skip to content

Commit 7d5aa9a

Browse files
emuslndavem330
authored andcommitted
devlink: Add new info version tags for ASIC and FW
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 <[email protected]> Acked-by: Jakub Kicinski <[email protected]> Signed-off-by: Shannon Nelson <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent 0d62214 commit 7d5aa9a

File tree

2 files changed

+23
-0
lines changed

2 files changed

+23
-0
lines changed

Documentation/networking/devlink-info-versions.rst

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,27 @@ board.rev
1414

1515
Board design revision.
1616

17+
asic.id
18+
=======
19+
20+
ASIC design identifier.
21+
22+
asic.rev
23+
========
24+
25+
ASIC design revision.
26+
1727
board.manufacture
1828
=================
1929

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

32+
fw
33+
==
34+
35+
Overall firmware version, often representing the collection of
36+
fw.mgmt, fw.app, etc.
37+
2238
fw.mgmt
2339
=======
2440

include/net/devlink.h

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -458,6 +458,13 @@ enum devlink_param_generic_id {
458458
/* Maker of the board */
459459
#define DEVLINK_INFO_VERSION_GENERIC_BOARD_MANUFACTURE "board.manufacture"
460460

461+
/* Part number, identifier of asic design */
462+
#define DEVLINK_INFO_VERSION_GENERIC_ASIC_ID "asic.id"
463+
/* Revision of asic design */
464+
#define DEVLINK_INFO_VERSION_GENERIC_ASIC_REV "asic.rev"
465+
466+
/* Overall FW version */
467+
#define DEVLINK_INFO_VERSION_GENERIC_FW "fw"
461468
/* Control processor FW version */
462469
#define DEVLINK_INFO_VERSION_GENERIC_FW_MGMT "fw.mgmt"
463470
/* Data path microcode controlling high-speed packet processing */

0 commit comments

Comments
 (0)