bnxt_en: Add basic ntuple filter support
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 · linked by author and title
- v2 Latest13 patches 12 repliesApplied 13/13
- v113 patches 0 repliesSuperseded
Patches in v2 All 13 applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/13 | bnxt_en: Refactor bnxt_ntuple_filter structure.drivers/ drivers/ drivers/ | +44 | 1 reply | Applied |
| 2/13 | bnxt_en: Add bnxt_l2_filter hash table.drivers/ drivers/ | +191 | 1 reply | Applied |
| 3/13 | bnxt_en: Re-structure the bnxt_ntuple_filter structure.drivers/ drivers/ | +40 | 1 reply | Applied |
| 4/13 | bnxt_en: Refactor L2 filter alloc/free firmware commands.drivers/ drivers/ | +112 | 0 replies | Applied |
| 5/13 | bnxt_en: Add function to calculate Toeplitz hashdrivers/ drivers/ | +108 | 0 replies | Applied |
| 6/13 | bnxt_en: Add bnxt_lookup_ntp_filter_from_idx() functiondrivers/ | +20 | 2 replies | Applied |
| 7/13 | bnxt_en: Add new BNXT_FLTR_INSERTED flag to bnxt_filter_base struct.drivers/ drivers/ | +11 | 1 reply | Applied |
| 8/13 | bnxt_en: Refactor filter insertion logic in bnxt_rx_flow_steer().drivers/ drivers/ | +41 | 1 reply | Applied |
| 9/13 | bnxt_en: Refactor the hash table logic for ntuple filters.drivers/ drivers/ drivers/ | +59 | 0 replies | Applied |
| 10/13 | bnxt_en: Refactor ntuple filter removal logic in bnxt_cfg_ntp_filters().drivers/ drivers/ | +22 | 1 reply | Applied |
| 11/13 | bnxt_en: Add ntuple matching flags to the bnxt_ntuple_filter structure.drivers/ drivers/ drivers/ | +99 | 0 replies | Applied |
| 12/13 | bnxt_en: Add support for ntuple filters added from ethtool.drivers/ drivers/ drivers/ | +201 | 1 reply | Applied |
| 13/13 | bnxt_en: Add support for ntuple filter deletion by ethtool.drivers/ | +29 | 3 replies | Applied |
Reviews trailers per patch
All 13 patches have a Reviewed-by or Acked-by.
| Patch | Vasundhara Volam | Andy Gospodarek | Pavan Chebbi | Simon Horman |
|---|---|---|---|---|
| 1/13 | R-b | R-b | R-b | R-b |
| 2/13 | R-b | R-b | R-b | R-b |
| 3/13 | R-b | R-b | R-b | R-b |
| 4/13 | R-b | R-b | R-b | |
| 5/13 | R-b | |||
| 6/13 | R-b | R-b | R-b | |
| 7/13 | R-b | R-b | R-b | |
| 8/13 | R-b | R-b | R-b | |
| 9/13 | R-b | R-b | R-b | |
| 10/13 | R-b | R-b | R-b | R-b |
| 11/13 | R-b | R-b | R-b | |
| 12/13 | R-b | R-b | R-b | |
| 13/13 | R-b | 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 4 reviewers.
Cover letter [PATCH net-next v2 00/13] bnxt_en: Add basic ntuple filter support
The current driver only supports ntuple filters added by aRFS. This patch series adds basic support for user defined TCP/UDP ntuple filters added by the user using ethtool. Many of the patches are refactoring patches to make the existing code more general to support both aRFS and user defined filters. aRFS filters always have the Toeplitz hash value from the NIC. A Toepliz hash function is added in patch 5 to get the same hash value for user defined filters. The hash is used to store all ntuple filters in the table and all filters must be hashed identically using the same function and key.
v2: Fix compile error in patch #4 when CONFIG_BNXT_SRIOV is disabled.
Michael Chan (12):
bnxt_en: Refactor bnxt_ntuple_filter structure.
bnxt_en: Add bnxt_l2_filter hash table.
bnxt_en: Re-structure the bnxt_ntuple_filter structure.
bnxt_en: Refactor L2 filter alloc/free firmware commands.
bnxt_en: Add bnxt_lookup_ntp_filter_from_idx() function
bnxt_en: Add new BNXT_FLTR_INSERTED flag to bnxt_filter_base struct.
bnxt_en: Refactor filter insertion logic in bnxt_rx_flow_steer().
bnxt_en: Refactor the hash table logic for ntuple filters.
bnxt_en: Refactor ntuple filter removal logic in
bnxt_cfg_ntp_filters().
bnxt_en: Add ntuple matching flags to the bnxt_ntuple_filter
structure.
bnxt_en: Add support for ntuple filters added from ethtool.
bnxt_en: Add support for ntuple filter deletion by ethtool.
Pavan Chebbi (1):
bnxt_en: Add function to calculate Toeplitz hash
drivers/net/ethernet/broadcom/bnxt/bnxt.c | 719 +++++++++++++----- drivers/net/ethernet/broadcom/bnxt/bnxt.h | 92 ++- .../net/ethernet/broadcom/bnxt/bnxt_ethtool.c | 371 +++++++-- 3 files changed, 936 insertions(+), 246 deletions(-)
Signature · 1 line
2.30.1