Message ID | 1585204021-10317-4-git-send-email-vasundhara-v.volam@broadcom.com |
---|---|
State | New |
Headers | show |
Series | [v2,net-next,1/7] devlink: Add macro for "fw.api" to info_get cb. | expand |
diff --git a/Documentation/networking/devlink/devlink-info.rst b/Documentation/networking/devlink/devlink-info.rst index 650e2c0e3..56d13c5 100644 --- a/Documentation/networking/devlink/devlink-info.rst +++ b/Documentation/networking/devlink/devlink-info.rst @@ -144,6 +144,11 @@ board.manufacture An identifier of the company or the facility which produced the part. +hw.addr +------- + +Hardware address of the interface. + fw -- diff --git a/include/net/devlink.h b/include/net/devlink.h index d51482f..c9383f4 100644 --- a/include/net/devlink.h +++ b/include/net/devlink.h @@ -476,6 +476,9 @@ enum devlink_param_generic_id { /* Revision of asic design */ #define DEVLINK_INFO_VERSION_GENERIC_ASIC_REV "asic.rev" +/* Hardware address */ +#define DEVLINK_INFO_VERSION_GENERIC_HW_ADDR "hw.addr" + /* Overall FW version */ #define DEVLINK_INFO_VERSION_GENERIC_FW "fw" /* Overall FW interface specification version */