Skip to content

Commit 2d9eade

Browse files
Vasundhara Volamdavem330
authored andcommitted
devlink: Add macro for "fw.mgmt.api" to info_get cb.
Add definition and documentation for the new generic info "fw.mgmt.api". This macro specifies the version of the software interfaces between driver and firmware. Cc: Jakub Kicinski <[email protected]> Cc: Jacob Keller <[email protected]> Cc: Jiri Pirko <[email protected]> Signed-off-by: Vasundhara Volam <[email protected]> Signed-off-by: Michael Chan <[email protected]> Reviewed-by: Jiri Pirko <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent a1c7a53 commit 2d9eade

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

Documentation/networking/devlink/devlink-info.rst

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -157,6 +157,12 @@ Control unit firmware version. This firmware is responsible for house
157157
keeping tasks, PHY control etc. but not the packet-by-packet data path
158158
operation.
159159

160+
fw.mgmt.api
161+
-----------
162+
163+
Firmware interface specification version of the software interfaces between
164+
driver and firmware.
165+
160166
fw.app
161167
------
162168

include/net/devlink.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -481,6 +481,8 @@ enum devlink_param_generic_id {
481481
#define DEVLINK_INFO_VERSION_GENERIC_FW "fw"
482482
/* Control processor FW version */
483483
#define DEVLINK_INFO_VERSION_GENERIC_FW_MGMT "fw.mgmt"
484+
/* FW interface specification version */
485+
#define DEVLINK_INFO_VERSION_GENERIC_FW_MGMT_API "fw.mgmt.api"
484486
/* Data path microcode controlling high-speed packet processing */
485487
#define DEVLINK_INFO_VERSION_GENERIC_FW_APP "fw.app"
486488
/* UNDI software version */

0 commit comments

Comments
 (0)