[PATCH net-next 0/5] i40e: Add basic devlink support

From: Ivan Vecera
Date: Fri Oct 13 2023 - 13:08:59 EST


The series adds initial support for devlink to i40e driver.

Patch-set overview:
Patch 1: Adds initial devlink support (devlink and port registration)
Patch 2: Refactors and split i40e_nvm_version_str()
Patch 3: Adds support for 'devlink dev info'
Patch 4: Refactors existing helper function to read PBA ID
Patch 5: Adds 'board.id' to 'devlink dev info' using PBA ID

Ivan Vecera (5):
i40e: Add initial devlink support
i40e: Split and refactor i40e_nvm_version_str()
i40e: Add handler for devlink .info_get
i40e: Refactor and rename i40e_read_pba_string()
i40e: Add PBA as board id info to devlink .info_get

drivers/net/ethernet/intel/Kconfig | 1 +
drivers/net/ethernet/intel/i40e/Makefile | 3 +-
drivers/net/ethernet/intel/i40e/i40e.h | 136 ++++++++---
drivers/net/ethernet/intel/i40e/i40e_common.c | 58 +++--
.../net/ethernet/intel/i40e/i40e_devlink.c | 224 ++++++++++++++++++
.../net/ethernet/intel/i40e/i40e_devlink.h | 18 ++
.../net/ethernet/intel/i40e/i40e_ethtool.c | 4 +-
drivers/net/ethernet/intel/i40e/i40e_main.c | 40 +++-
.../net/ethernet/intel/i40e/i40e_prototype.h | 3 +-
drivers/net/ethernet/intel/i40e/i40e_type.h | 3 +
10 files changed, 414 insertions(+), 76 deletions(-)
create mode 100644 drivers/net/ethernet/intel/i40e/i40e_devlink.c
create mode 100644 drivers/net/ethernet/intel/i40e/i40e_devlink.h

--
2.41.0