From: Vasundhara Volam <redacted>
Add definitions and documentation for 2 new generic info "fw.roce" and
"board.nvm_cfg".
Cc: Jiri Pirko <redacted>
Signed-off-by: Vasundhara Volam <redacted>
Signed-off-by: Michael Chan <michael.chan@broadcom.com>
---
Documentation/networking/devlink/devlink-info.rst | 11 +++++++++++
include/net/devlink.h | 4 ++++
2 files changed, 15 insertions(+)
diff --git a/Documentation/networking/devlink/devlink-info.rst b/Documentation/networking/devlink/devlink-info.rst
index 0385f15..ab0690e 100644
--- a/Documentation/networking/devlink/devlink-info.rst
+++ b/Documentation/networking/devlink/devlink-info.rst
@@ -59,6 +59,11 @@ board.manufacture
An identifier of the company or the facility which produced the part.
+board.nvm_cfg
+-------------
+
+Non-volatile memory version of the board.
+
fw
--
@@ -92,3 +97,9 @@ fw.psid
-------
Unique identifier of the firmware parameter set.
+
+fw.roce
+-------
+
+RoCE firmware version which is responsible for handling roce
+management.
diff --git a/include/net/devlink.h b/include/net/devlink.h
index 5e46c24..9e168a3 100644
--- a/include/net/devlink.h
+++ b/include/net/devlink.h
@@ -469,6 +469,8 @@ enum devlink_param_generic_id {
#define DEVLINK_INFO_VERSION_GENERIC_BOARD_REV "board.rev"
/* Maker of the board */
#define DEVLINK_INFO_VERSION_GENERIC_BOARD_MANUFACTURE "board.manufacture"
+/* Non-volatile memory version of the board */
+#define DEVLINK_INFO_VERSION_GENERIC_BOARD_NVM_CFG "board.nvm_cfg"
/* Part number, identifier of asic design */
#define DEVLINK_INFO_VERSION_GENERIC_ASIC_ID "asic.id"@@ -487,6 +489,8 @@ enum devlink_param_generic_id {
#define DEVLINK_INFO_VERSION_GENERIC_FW_NCSI "fw.ncsi"
/* FW parameter set id */
#define DEVLINK_INFO_VERSION_GENERIC_FW_PSID "fw.psid"
+/* RoCE FW version */
+#define DEVLINK_INFO_VERSION_GENERIC_FW_ROCE "fw.roce"
struct devlink_region;
struct devlink_info_req;--
2.5.1