bnxt_en: Prepare to support new P7 chips
Status from this message: This series was applied to netdev/net-next.git (main)
Get series with b4
b4 am [email protected]Versions newest first
Patches in v1 All 13 applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/13 | bnxt_en: The caller of bnxt_alloc_ctx_mem() should always free bp->ctxdrivers/ | +2 | 0 replies | Applied |
| 2/13 | bnxt_en: Free bp->ctx inside bnxt_free_ctx_mem()drivers/ drivers/ | +2 | 0 replies | Applied |
| 3/13 | bnxt_en: Restructure context memory data structuresdrivers/ drivers/ | +242 | 0 replies | Applied |
| 4/13 | bnxt_en: Add page info to struct bnxt_ctx_mem_typedrivers/ drivers/ | +32 | 0 replies | Applied |
| 5/13 | bnxt_en: Use the pg_info field in bnxt_ctx_mem_type structdrivers/ drivers/ | +29 | 0 replies | Applied |
| 6/13 | bnxt_en: Add bnxt_setup_ctxm_pg_tbls() helper functiondrivers/ | +59 | 0 replies | Applied |
| 7/13 | bnxt_en: Add support for new backing store query firmware APIdrivers/ drivers/ | +81 | 0 replies | Applied |
| 8/13 | bnxt_en: Add support for HWRM_FUNC_BACKING_STORE_CFG_V2 firmware callsdrivers/ drivers/ | +71 | 0 replies | Applied |
| 9/13 | bnxt_en: Add db_ring_mask and related macro to bnxt_db_info struct.drivers/ drivers/ | +40 | 0 replies | Applied |
| 10/13 | bnxt_en: Modify TX ring indexing logic.drivers/ drivers/ drivers/ | +21 | 0 replies | Applied |
| 11/13 | bnxt_en: Modify RX ring indexing logic.drivers/ drivers/ | +22 | 0 replies | Applied |
| 12/13 | bnxt_en: Modify the NAPI logic for the new P7 chipsdrivers/ drivers/ | +10 | 0 replies | Applied |
| 13/13 | bnxt_en: Rename some macros for the P5 chipsdrivers/ drivers/ drivers/ +4 more | +116 | 0 replies | Applied |
Reviews trailers per patch
All 13 patches have a Reviewed-by or Acked-by.
| Patch | Pavan Chebbi | Somnath Kotur | Andy Gospodarek | Hongguang Gao | Ajit Khaparde |
|---|---|---|---|---|---|
| 1/13 | R-b | R-b | |||
| 2/13 | R-b | ||||
| 3/13 | R-b | R-b | |||
| 4/13 | R-b | ||||
| 5/13 | R-b | ||||
| 6/13 | R-b | ||||
| 7/13 | R-b | ||||
| 8/13 | R-b | ||||
| 9/13 | R-b | ||||
| 10/13 | R-b | ||||
| 11/13 | R-b | ||||
| 12/13 | R-b | R-b | |||
| 13/13 | R-b | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 5 reviewers.
Cover letter [PATCH net-next 00/13] bnxt_en: Prepare to support new P7 chips
This patchset is to prepare the driver to support the new P7 chips by refactoring and modifying the code. The P7 chip is built on the P5 chip and many code paths can be modified to support both chips. The whole patchset to have basic support for P7 chips is about 20 patches so a follow-on patchset will complete the support and add the new PCI IDs.
The first 8 patches are changes to the backing store logic to support both chips with mostly common code paths and datastructures. Both chips require host backing store memory but the relevant firmware APIs have been modified to make it easier to support new backing store memory types.
The next 4 patches are changes to TX and RX ring indexing logic and NAPI logic. The main changes are to increment the TX and RX producers unbounded and to do any masking only when needed. These changes are needed to support the P7 chips which require additional higher bits in these producer indices. The NAPI logic is also slightly modifed.
The last patch is a rename of BNXT_FLAG_CHIP_P5 to BNXT_FLAG_P5_PLUS and other related macro changes to make it clear that the P5_PLUS macro applies to P5 and newer chips.
Michael Chan (12):
bnxt_en: The caller of bnxt_alloc_ctx_mem() should always free bp->ctx
bnxt_en: Free bp->ctx inside bnxt_free_ctx_mem()
bnxt_en: Restructure context memory data structures
bnxt_en: Add page info to struct bnxt_ctx_mem_type
bnxt_en: Use the pg_info field in bnxt_ctx_mem_type struct
bnxt_en: Add bnxt_setup_ctxm_pg_tbls() helper function
bnxt_en: Add support for new backing store query firmware API
bnxt_en: Add support for HWRM_FUNC_BACKING_STORE_CFG_V2 firmware calls
bnxt_en: Add db_ring_mask and related macro to bnxt_db_info struct.
bnxt_en: Modify TX ring indexing logic.
bnxt_en: Modify RX ring indexing logic.
bnxt_en: Modify the NAPI logic for the new P7 chips
Randy Schacher (1):
bnxt_en: Rename some macros for the P5 chips
drivers/net/ethernet/broadcom/bnxt/bnxt.c | 921 +++++++++++------- drivers/net/ethernet/broadcom/bnxt/bnxt.h | 161 +-- .../net/ethernet/broadcom/bnxt/bnxt_devlink.c | 10 +- .../net/ethernet/broadcom/bnxt/bnxt_ethtool.c | 6 +- drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c | 4 +- .../net/ethernet/broadcom/bnxt/bnxt_sriov.c | 8 +- drivers/net/ethernet/broadcom/bnxt/bnxt_ulp.c | 2 +- drivers/net/ethernet/broadcom/bnxt/bnxt_xdp.c | 14 +- 8 files changed, 677 insertions(+), 449 deletions(-)
Signature · 1 line
2.30.1