devlink: add generic info version names
Add defines and docs for generic info versions. v3: - add docs; - separate patch (Jiri). 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>
This commit is contained in:

committed by
David S. Miller

parent
fc6fae7dd9
commit
785bd550c4
38
Documentation/networking/devlink-info-versions.rst
Normal file
38
Documentation/networking/devlink-info-versions.rst
Normal file
@@ -0,0 +1,38 @@
|
|||||||
|
.. SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
|
||||||
|
|
||||||
|
=====================
|
||||||
|
Devlink info versions
|
||||||
|
=====================
|
||||||
|
|
||||||
|
board.id
|
||||||
|
========
|
||||||
|
|
||||||
|
Unique identifier of the board design.
|
||||||
|
|
||||||
|
board.rev
|
||||||
|
=========
|
||||||
|
|
||||||
|
Board design revision.
|
||||||
|
|
||||||
|
fw.mgmt
|
||||||
|
=======
|
||||||
|
|
||||||
|
Control unit firmware version. This firmware is responsible for house
|
||||||
|
keeping tasks, PHY control etc. but not the packet-by-packet data path
|
||||||
|
operation.
|
||||||
|
|
||||||
|
fw.app
|
||||||
|
======
|
||||||
|
|
||||||
|
Data path microcode controlling high-speed packet processing.
|
||||||
|
|
||||||
|
fw.undi
|
||||||
|
=======
|
||||||
|
|
||||||
|
UNDI software, may include the UEFI driver, firmware or both.
|
||||||
|
|
||||||
|
fw.ncsi
|
||||||
|
=======
|
||||||
|
|
||||||
|
Version of the software responsible for supporting/handling the
|
||||||
|
Network Controller Sideband Interface.
|
@@ -24,6 +24,7 @@ Contents:
|
|||||||
device_drivers/intel/i40e
|
device_drivers/intel/i40e
|
||||||
device_drivers/intel/iavf
|
device_drivers/intel/iavf
|
||||||
device_drivers/intel/ice
|
device_drivers/intel/ice
|
||||||
|
devlink-info-versions
|
||||||
kapi
|
kapi
|
||||||
z8530book
|
z8530book
|
||||||
msg_zerocopy
|
msg_zerocopy
|
||||||
|
@@ -428,6 +428,20 @@ enum devlink_param_wol_types {
|
|||||||
.validate = _validate, \
|
.validate = _validate, \
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Part number, identifier of board design */
|
||||||
|
#define DEVLINK_INFO_VERSION_GENERIC_BOARD_ID "board.id"
|
||||||
|
/* Revision of board design */
|
||||||
|
#define DEVLINK_INFO_VERSION_GENERIC_BOARD_REV "board.rev"
|
||||||
|
|
||||||
|
/* Control processor FW version */
|
||||||
|
#define DEVLINK_INFO_VERSION_GENERIC_FW_MGMT "fw.mgmt"
|
||||||
|
/* Data path microcode controlling high-speed packet processing */
|
||||||
|
#define DEVLINK_INFO_VERSION_GENERIC_FW_APP "fw.app"
|
||||||
|
/* UNDI software version */
|
||||||
|
#define DEVLINK_INFO_VERSION_GENERIC_FW_UNDI "fw.undi"
|
||||||
|
/* NCSI support/handler version */
|
||||||
|
#define DEVLINK_INFO_VERSION_GENERIC_FW_NCSI "fw.ncsi"
|
||||||
|
|
||||||
struct devlink_region;
|
struct devlink_region;
|
||||||
struct devlink_info_req;
|
struct devlink_info_req;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user