|
|
Subscribe / Log in / New account

bnxt_en: Add NPAR 1.2 and TPH support

From:  Michael Chan <michael.chan-AT-broadcom.com>
To:  davem-AT-davemloft.net
Subject:  [PATCH net-next v2 00/10] bnxt_en: Add NPAR 1.2 and TPH support
Date:  Thu, 16 Jan 2025 11:23:33 -0800
Message-ID:  <20250116192343.34535-1-michael.chan@broadcom.com>
Cc:  netdev-AT-vger.kernel.org, edumazet-AT-google.com, kuba-AT-kernel.org, pabeni-AT-redhat.com, andrew+netdev-AT-lunn.ch, pavan.chebbi-AT-broadcom.com, andrew.gospodarek-AT-broadcom.com, michal.swiatkowski-AT-linux.intel.com, helgaas-AT-kernel.org
Archive-link:  Article

The first patch adds NPAR 1.2 support.  Patches 2 to 10 add TPH
(TLP Processing Hints) support.  These TPH driver patches are new
revisions originally posted as part of the TPH PCI patch series.
Additional driver refactoring has been done so that we can free
and allocate RX completion ring and the TX rings if the channel is
a combined channel.  We also add napi_disable() and napi_enable()
during queue_stop() and queue_start() respectively, and reset for
error handling in queue_start().

v2:
Major change is error handling in patch #9.

v1: 
https://lore.kernel.org/netdev/20250113063927.4017173-1-m...

Discussion about adding napi_disable()/napi_enable():

https://lore.kernel.org/netdev/5336d624-8d8b-40a6-b732-b0...

Previous driver series fixing rtnl_lock and empty release function:

https://lore.kernel.org/netdev/20241115200412.1340286-1-w...

v5 of the PCI series using netdev_rx_queue_restart():

https://lore.kernel.org/netdev/20240916205103.3882081-5-w...

v1 of the PCI series using open/close:

https://lore.kernel.org/netdev/20240509162741.1937586-9-w...

Manoj Panicker (1):
  bnxt_en: Add TPH support in BNXT driver

Michael Chan (5):
  bnxt_en: Set NAPR 1.2 support when registering with firmware
  bnxt_en Refactor completion ring allocation logic for P5_PLUS chips
  bnxt_en: Refactor TX ring allocation logic
  bnxt_en: Refactor RX/RX AGG ring parameters setup for P5_PLUS
  bnxt_en: Pass NQ ID to the FW when allocating RX/RX AGG rings

Somnath Kotur (4):
  bnxt_en: Refactor completion ring free routine
  bnxt_en: Refactor bnxt_free_tx_rings() to free per TX ring
  bnxt_en: Reallocate RX completion ring for TPH support
  bnxt_en: Extend queue stop/start for TX rings

 drivers/net/ethernet/broadcom/bnxt/bnxt.c | 519 ++++++++++++++++------
 drivers/net/ethernet/broadcom/bnxt/bnxt.h |   8 +
 2 files changed, 396 insertions(+), 131 deletions(-)

-- 
2.30.1




Copyright © 2025, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds