aboutsummaryrefslogtreecommitdiffstats
path: root/include/net/devlink.h
diff options
context:
space:
mode:
authorJakub Kicinski <jakub.kicinski@netronome.com>2019-02-10 19:35:29 -0800
committerDavid S. Miller <davem@davemloft.net>2019-02-11 20:39:56 -0800
commit14fd1901e718138b22ae7cbd8995bfdeb4df578f (patch)
tree346b2d8aac9f52f6f3a906e0241952eda1b8eba8 /include/net/devlink.h
parentdevlink: don't allocate attrs on the stack (diff)
downloadlinux-dev-14fd1901e718138b22ae7cbd8995bfdeb4df578f.tar.xz
linux-dev-14fd1901e718138b22ae7cbd8995bfdeb4df578f.zip
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>
Diffstat (limited to 'include/net/devlink.h')
-rw-r--r--include/net/devlink.h2
1 files changed, 2 insertions, 0 deletions
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"