diff options
author | Jakub Kicinski <jakub.kicinski@netronome.com> | 2019-02-10 19:35:29 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-02-11 20:39:56 -0800 |
commit | 14fd1901e718138b22ae7cbd8995bfdeb4df578f (patch) | |
tree | 346b2d8aac9f52f6f3a906e0241952eda1b8eba8 | |
parent | 68750561dd5622307bbf0c77bc4f80e7b2dfce0c (diff) |
devlink: add a generic board.manufacture version name
At Jiri's suggestion add a generic "board.manufacture"
version identifier.
Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Acked-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r-- | Documentation/networking/devlink-info-versions.rst | 5 | ||||
-rw-r--r-- | include/net/devlink.h | 2 |
2 files changed, 7 insertions, 0 deletions
diff --git a/Documentation/networking/devlink-info-versions.rst b/Documentation/networking/devlink-info-versions.rst index 7d4ecf6b6f34..c79ad8593383 100644 --- a/Documentation/networking/devlink-info-versions.rst +++ b/Documentation/networking/devlink-info-versions.rst @@ -14,6 +14,11 @@ board.rev Board design revision. +board.manufacture +================= + +An identifier of the company or the facility which produced the part. + fw.mgmt ======= diff --git a/include/net/devlink.h b/include/net/devlink.h index 2b384a38911b..07660fe4c0e3 100644 --- a/include/net/devlink.h +++ b/include/net/devlink.h @@ -435,6 +435,8 @@ enum devlink_param_wol_types { #define DEVLINK_INFO_VERSION_GENERIC_BOARD_ID "board.id" /* Revision of board design */ #define DEVLINK_INFO_VERSION_GENERIC_BOARD_REV "board.rev" +/* Maker of the board */ +#define DEVLINK_INFO_VERSION_GENERIC_BOARD_MANUFACTURE "board.manufacture" /* Control processor FW version */ #define DEVLINK_INFO_VERSION_GENERIC_FW_MGMT "fw.mgmt" |