Skip to content

bnxt_en: Ntuple filter improvements

Michael Chan netdev 1 version Applied

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

  1. v1 Latest10 patches 0 repliesApplied 10/10

Patches in v1 All 10 applied

#Subject and filesSizeRepliesApplied
1/10bnxt_en: Refactor ring reservation functionsdrivers/net/ethernet/broadcom/bnxt/bnxt.c drivers/net/ethernet/broadcom/bnxt/bnxt.h+132 -1300 repliesApplied
2/10bnxt_en: Explicitly specify P5 completion rings to reservedrivers/net/ethernet/broadcom/bnxt/bnxt.c drivers/net/ethernet/broadcom/bnxt/bnxt.h+13 -70 repliesApplied
3/10bnxt_en: Improve RSS context reservation infrastructuredrivers/net/ethernet/broadcom/bnxt/bnxt.c drivers/net/ethernet/broadcom/bnxt/bnxt.h+36 -230 repliesApplied
4/10bnxt_en: Check additional resources in bnxt_check_rings()drivers/net/ethernet/broadcom/bnxt/bnxt.c+2 -00 repliesApplied
5/10bnxt_en: Add bnxt_get_total_vnics() to calculate number of VNICsdrivers/net/ethernet/broadcom/bnxt/bnxt.c+17 -110 repliesApplied
6/10bnxt_en: Refactor bnxt_set_features()drivers/net/ethernet/broadcom/bnxt/bnxt.c+12 -70 repliesApplied
7/10bnxt_en: Define BNXT_VNIC_DEFAULT for the default vnic indexdrivers/net/ethernet/broadcom/bnxt/bnxt.c drivers/net/ethernet/broadcom/bnxt/bnxt.h drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c+24 -210 repliesApplied
8/10bnxt_en: Provision for an additional VNIC for ntuple filtersdrivers/net/ethernet/broadcom/bnxt/bnxt.c drivers/net/ethernet/broadcom/bnxt/bnxt.h+32 -50 repliesApplied
9/10bnxt_en: Create and setup the additional VNIC for adding ntuple filtersdrivers/net/ethernet/broadcom/bnxt/bnxt.c drivers/net/ethernet/broadcom/bnxt/bnxt.h+36 -100 repliesApplied
10/10bnxt_en: Use the new VNIC to create ntuple filtersdrivers/net/ethernet/broadcom/bnxt/bnxt.c+27 -60 repliesApplied

Reviews trailers per patch

9 of 10 patches have a Reviewed-by or Acked-by.

PatchAjit KhapardePavan ChebbiSomnath KoturKalesh APAndy Gospodarek
1/10R-b R-b
2/10R-b R-b
3/10
4/10R-b R-b
5/10R-b
6/10R-b R-b
7/10R-b R-b
8/10R-b R-b
9/10R-b
10/10R-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.

Read the v1 thread

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