[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1585204021-10317-2-git-send-email-vasundhara-v.volam@broadcom.com>
Date: Thu, 26 Mar 2020 11:56:58 +0530
From: Vasundhara Volam <vasundhara-v.volam@...adcom.com>
To: davem@...emloft.net
Cc: netdev@...r.kernel.org,
Vasundhara Volam <vasundhara-v.volam@...adcom.com>,
Jakub Kicinski <kuba@...nel.org>,
Jiri Pirko <jiri@...lanox.com>,
Jacob Keller <jacob.e.keller@...el.com>,
Michael Chan <michael.chan@...adcom.com>
Subject: [PATCH v2 net-next 1/7] devlink: Add macro for "fw.api" to info_get cb.
Add definition and documentation for the new generic info "fw.api".
"fw.api" specifies the version of the software interfaces between
driver and overall firmware.
Cc: Jakub Kicinski <kuba@...nel.org>
Cc: Jiri Pirko <jiri@...lanox.com>
Cc: Jacob Keller <jacob.e.keller@...el.com>
Signed-off-by: Vasundhara Volam <vasundhara-v.volam@...adcom.com>
Signed-off-by: Michael Chan <michael.chan@...adcom.com>
---
v1->v2: Rename macro to "fw.api" from "drv.spec".
---
Documentation/networking/devlink/devlink-info.rst | 6 ++++++
include/net/devlink.h | 2 ++
2 files changed, 8 insertions(+)
diff --git a/Documentation/networking/devlink/devlink-info.rst b/Documentation/networking/devlink/devlink-info.rst
index e5e5e89..650e2c0e3 100644
--- a/Documentation/networking/devlink/devlink-info.rst
+++ b/Documentation/networking/devlink/devlink-info.rst
@@ -150,6 +150,12 @@ fw
Overall firmware version, often representing the collection of
fw.mgmt, fw.app, etc.
+fw.api
+------
+
+Overall firmware interface specification version of the software interfaces
+between driver and firmware.
+
fw.mgmt
-------
diff --git a/include/net/devlink.h b/include/net/devlink.h
index 37230e2..d51482f 100644
--- a/include/net/devlink.h
+++ b/include/net/devlink.h
@@ -478,6 +478,8 @@ enum devlink_param_generic_id {
/* Overall FW version */
#define DEVLINK_INFO_VERSION_GENERIC_FW "fw"
+/* Overall FW interface specification version */
+#define DEVLINK_INFO_VERSION_GENERIC_FW_API "fw.api"
/* Control processor FW version */
#define DEVLINK_INFO_VERSION_GENERIC_FW_MGMT "fw.mgmt"
/* Data path microcode controlling high-speed packet processing */
--
1.8.3.1
Powered by blists - more mailing lists