bnxt_en: Ntuple filter improvements
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 10 applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/10 | bnxt_en: Refactor ring reservation functionsdrivers/ drivers/ | +132 | 0 replies | Applied |
| 2/10 | bnxt_en: Explicitly specify P5 completion rings to reservedrivers/ drivers/ | +13 | 0 replies | Applied |
| 3/10 | bnxt_en: Improve RSS context reservation infrastructuredrivers/ drivers/ | +36 | 0 replies | Applied |
| 4/10 | bnxt_en: Check additional resources in bnxt_check_rings()drivers/ | +2 | 0 replies | Applied |
| 5/10 | bnxt_en: Add bnxt_get_total_vnics() to calculate number of VNICsdrivers/ | +17 | 0 replies | Applied |
| 6/10 | bnxt_en: Refactor bnxt_set_features()drivers/ | +12 | 0 replies | Applied |
| 7/10 | bnxt_en: Define BNXT_VNIC_DEFAULT for the default vnic indexdrivers/ drivers/ drivers/ | +24 | 0 replies | Applied |
| 8/10 | bnxt_en: Provision for an additional VNIC for ntuple filtersdrivers/ drivers/ | +32 | 0 replies | Applied |
| 9/10 | bnxt_en: Create and setup the additional VNIC for adding ntuple filtersdrivers/ drivers/ | +36 | 0 replies | Applied |
| 10/10 | bnxt_en: Use the new VNIC to create ntuple filtersdrivers/ | +27 | 0 replies | Applied |
Reviews trailers per patch
9 of 10 patches have a Reviewed-by or Acked-by.
| Patch | Ajit Khaparde | Pavan Chebbi | Somnath Kotur | Kalesh AP | Andy Gospodarek |
|---|---|---|---|---|---|
| 1/10 | R-b | R-b | |||
| 2/10 | R-b | R-b | |||
| 3/10 | |||||
| 4/10 | R-b | R-b | |||
| 5/10 | R-b | ||||
| 6/10 | R-b | R-b | |||
| 7/10 | R-b | R-b | |||
| 8/10 | R-b | R-b | |||
| 9/10 | R-b | ||||
| 10/10 | 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/10] bnxt_en: Ntuple filter improvements
The current Ntuple filter implementation has a limitation on 5750X (P5) and newer chips. The destination ring of the ntuple filter must be a valid ring in the RSS indirection table. Ntuple filters may not work if the RSS indirection table is modified by the user to only contain a subset of the rings. If an ntuple filter is set to a ring destination that is not in the RSS indirection table, the packet matching that filter will be placed in a random ring instead of the specified destination ring.
This series of patches will fix the problem by using a separate VNIC for ntuple filters. The default VNIC will be dedicated for RSS and so the indirection table can be setup in any way and will not affect ntuple filters using the separate VNIC.
Quite a bit of refactoring is needed to do the the VNIC and RSS context accounting in the first few patches. This is technically a bug fix, but I think the changes are too big for -net.
Michael Chan (3):
bnxt_en: Refactor ring reservation functions
bnxt_en: Explicitly specify P5 completion rings to reserve
bnxt_en: Check additional resources in bnxt_check_rings()
Pavan Chebbi (6):
bnxt_en: Improve RSS context reservation infrastructure
bnxt_en: Refactor bnxt_set_features()
bnxt_en: Define BNXT_VNIC_DEFAULT for the default vnic index
bnxt_en: Provision for an additional VNIC for ntuple filters
bnxt_en: Create and setup the additional VNIC for adding ntuple
filters
bnxt_en: Use the new VNIC to create ntuple filters
Venkat Duvvuru (1):
bnxt_en: Add bnxt_get_total_vnics() to calculate number of VNICs
drivers/net/ethernet/broadcom/bnxt/bnxt.c | 487 +++++++++++------- drivers/net/ethernet/broadcom/bnxt/bnxt.h | 20 + .../net/ethernet/broadcom/bnxt/bnxt_ethtool.c | 4 +- 3 files changed, 311 insertions(+), 200 deletions(-)
Signature · 1 line
2.30.1