[PATCH v4 net-next 0/6] bnxt_en: Updates to devlink info_get cb

Vasundhara Volam
2020-03-27T09:36:47Z

This series adds support for a generic macro to devlink info_get cb.
Adds support for fw.mgmt.api and board.id info to bnxt_en driver info_get
cb. Also, updates the devlink-info.rst and bnxt.rst documentation
accordingly.

This series adds a patch to fix few macro names that maps to bnxt_en
firmware versions.

---
v1->v2: Remove ECN dev param, base_mh_addr and serial number info support
in this series.
Rename drv.spec macro to fw.api.
---
v2->v3: Remove hw.addr info as it is per netdev but not per device info.
---
v3->v4: Rename "fw.api" to "fw.mgmt.api".
Also, add a patch that modifies few macro names in info_get command,
to match the devlink documentation.
---

Vasundhara Volam (6):
devlink: Add macro for "fw.mgmt.api" to info_get cb.
bnxt_en: Add fw.mgmt.api version to devlink info_get cb.
PCI: Add new PCI_VPD_RO_KEYWORD_SERIALNO macro
bnxt_en: Read partno and serialno of the board from VPD
bnxt_en: Add partno to devlink info_get cb
bnxt_en: Fix "fw.mgmt" and "fw.nsci" info via devlink info_get cb

Documentation/networking/devlink/bnxt.rst | 14 +++--
Documentation/networking/devlink/devlink-info.rst | 6 ++
drivers/net/ethernet/broadcom/bnxt/bnxt.c | 74 ++++++++++++++++++++++-
drivers/net/ethernet/broadcom/bnxt/bnxt.h | 5 ++
drivers/net/ethernet/broadcom/bnxt/bnxt_devlink.c | 18 +++++-
include/linux/pci.h | 1 +
include/net/devlink.h | 2 +
7 files changed, 113 insertions(+), 7 deletions(-)

--
1.8.3.1