Message ID | 1585301692-25954-2-git-send-email-vasundhara-v.volam@broadcom.com |
---|---|
State | Accepted |
Delegated to: | David Miller |
Headers | show |
Series | bnxt_en: Updates to devlink info_get cb | expand |
Fri, Mar 27, 2020 at 10:34:51AM CET, vasundhara-v.volam@broadcom.com wrote: >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 <kuba@kernel.org> >Cc: Jacob Keller <jacob.e.keller@intel.com> >Cc: Jiri Pirko <jiri@mellanox.com> >Signed-off-by: Vasundhara Volam <vasundhara-v.volam@broadcom.com> >Signed-off-by: Michael Chan <michael.chan@broadcom.com> >--- >v1->v2: Rename macro to "fw.api" from "drv.spec". >--- >v3->v4: Rename "fw.api" to "fw.mgmt.api", to make it more common >across all vendors. Sounds fine. Reviewed-by: Jiri Pirko <jiri@mellanox.com>
diff --git a/Documentation/networking/devlink/devlink-info.rst b/Documentation/networking/devlink/devlink-info.rst index e5e5e89..3fe1140 100644 --- a/Documentation/networking/devlink/devlink-info.rst +++ b/Documentation/networking/devlink/devlink-info.rst @@ -157,6 +157,12 @@ 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.mgmt.api +----------- + +Firmware interface specification version of the software interfaces between +driver and firmware. + fw.app ------ diff --git a/include/net/devlink.h b/include/net/devlink.h index a1a02cd5..3be5034 100644 --- a/include/net/devlink.h +++ b/include/net/devlink.h @@ -481,6 +481,8 @@ enum devlink_param_generic_id { #define DEVLINK_INFO_VERSION_GENERIC_FW "fw" /* Control processor FW version */ #define DEVLINK_INFO_VERSION_GENERIC_FW_MGMT "fw.mgmt" +/* FW interface specification version */ +#define DEVLINK_INFO_VERSION_GENERIC_FW_MGMT_API "fw.mgmt.api" /* Data path microcode controlling high-speed packet processing */ #define DEVLINK_INFO_VERSION_GENERIC_FW_APP "fw.app" /* UNDI software version */