add features to bnge
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v9 Latest10 patches 0 repliesNew
- v810 patches 1 replySuperseded
- v710 patches 0 repliesSuperseded
Earlier versions · 6
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v6 | 10 patches | 1 reply | Superseded | |
| v5 | 10 patches | 0 replies | Superseded | |
| v4 | 10 patches | 2 replies | Superseded | |
| v3 | 11 patches | 2 replies | Superseded | |
| v2 | 11 patches | 1 reply | Superseded | |
| v1 | 11 patches | 3 replies | Superseded |
v5->v6 from the cover letter
- Addressed comments from Sashiko
https://sashiko.dev/#/patchset/20261103123651.442893-1-vikas.gupta%40broadcom.com
- Fix inline keyword use in C file.
Patches in v9 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/10 | bnge: restructure VNIC and filter codedrivers/ drivers/ drivers/ +8 more | +350 | 0 replies | |
| 2/10 | bnge: add NTUPLE/ARFS VNICdrivers/ drivers/ drivers/ +3 more | +116 | 0 replies | |
| 3/10 | bnge: add helper functions for multi RSS contextsdrivers/ drivers/ drivers/ +1 more | +132 | 0 replies | |
| 4/10 | bnge: add RXFH ethtool supportdrivers/ drivers/ drivers/ +5 more | +400 | 0 replies | |
| 5/10 | bnge: add ethtool support to manage RSS contextsdrivers/ drivers/ drivers/ +3 more | +372 | 0 replies | |
| 6/10 | bnge: remove refcount from L2 filterdrivers/ drivers/ | +11 | 0 replies | |
| 7/10 | bnge: add NTUPLE filter infrastructuredrivers/ drivers/ drivers/ +6 more | +791 | 0 replies | |
| 8/10 | bnge: add NTUPLE filter support in ethtooldrivers/ drivers/ drivers/ +3 more | +824 | 0 replies | |
| 9/10 | bnge: add aRFS flow steering ndo supportdrivers/ drivers/ drivers/ +3 more | +296 | 0 replies | |
| 10/10 | bnge: add cpu_rmap support for IRQ affinitydrivers/ | +56 | 0 replies |
Reviews trailers per patch
All 10 patches have a Reviewed-by or Acked-by.
| Patch | Dharmender Garg |
|---|---|
| 1/10 | R-b |
| 2/10 | R-b |
| 3/10 | R-b |
| 4/10 | R-b |
| 5/10 | R-b |
| 6/10 | R-b |
| 7/10 | R-b |
| 8/10 | R-b |
| 9/10 | R-b |
| 10/10 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH net-next v9 00/10] add features to bnge
Hi,
This series adds ntuple filter, RSS context, and flow steering support to bnge driver.
Patch 1 is a pure refactor (no functional change) that relocates the filter and VNIC related code into the appropriate files. Patch 7 drops the refcount usage from L2 filters, also with no functional change. The subsequent patches then add the ethtool commands for configuring ntuple flows and RSS contexts.
Thanks,
Vikas
v8-v9:
- Addressed valid comments from Sashiko
https://netdev-ai.bots.linux.dev/sashiko/#/patchset/20261116140653.1685797-1-vikas.gupta%40broadcom.com
https://sashiko.dev/#/patchset/20261116140653.1685797-1-vikas.gupta%40broadcom.comv7-v8:
- Addressed valid comments from Sashiko
https://sashiko.dev/#/patchset/20261114074742.1484603-1-vikas.gupta%40broadcom.com
v6-v7:
- Addressed valid comments from Sashiko
https://netdev-ai.bots.linux.dev/sashiko/#/patchset/20261106093524.838341-1-vikas.gupta%40broadcom.com
https://sashiko.dev/#/patchset/20261106093524.838341-1-vikas.gupta%40broadcom.comv5->v6:
- Addressed comments from Sashiko
https://sashiko.dev/#/patchset/20261103123651.442893-1-vikas.gupta%40broadcom.com
- Fix inline keyword use in C file.
v4->v5:
- Addressed comments from Sashiko
https://netdev-ai.bots.linux.dev/sashiko/#/patchset/20260928061307.1172344-1-vikas.gupta%40broadcom.com
v3->v4:
- Addressed comments from Sashiko
https://netdev-ai.bots.linux.dev/sashiko/#/patchset/20260917064548.773334-1-vikas.gupta%40broadcom.com
https://sashiko.dev/#/patchset/20260917064548.773334-1-vikas.gupta%40broadcom.com
- The patch count drops to 10 now that the HSI patches have been merged.
v2->v3:
- Build fix.
- Addressed comments from Sashiko
https://sashiko.dev/#/patchset/20260908093053.2596020-1-vikas.gupta%40broadcom.com
Below Sashiko comments are not valid:
Patch-8:
Comment under bnge_toeplitz().
Explanation: bnge_toeplitz() is not used for aRFS.
Patch-9:
Comment regarding bnge_clear_usr_fltrs().
Explanation:
Both bnge_clear_usr_fltrs() (only invoked while the interface is down) and bnge_grxclsrule() execute under the netdev instance lock, so they are serialized and never touch the filter list at the same time.
Patch-10:
Comment "Does this direct dereference of the MAC header need a linearization ...".
Explanation: ndo_rx_flow_steer runs on the RX path
after eth_type_trans(), which already accesses and pulls the Ethernet header.
Comment Related to bnge_cfg_ntp_filters().
Explanation:
bnge_cfg_ntp_filters() runs from bnge_sp_task(), which holds the netdev instance lock while executing.v1->v2:
- Build fixes.
- Addressed comments from Sashiko
https://sashiko.dev/#/patchset/20260814011435.194631-1-vikas.gupta%40broadcom.com
Vikas Gupta (10):
bnge: restructure VNIC and filter code
bnge: add NTUPLE/ARFS VNIC
bnge: add helper functions for multi RSS contexts
bnge: add RXFH ethtool support
bnge: add ethtool support to manage RSS contexts
bnge: remove refcount from L2 filter
bnge: add NTUPLE filter infrastructure
bnge: add NTUPLE filter support in ethtool
bnge: add aRFS flow steering ndo support
bnge: add cpu_rmap support for IRQ affinity
drivers/net/ethernet/broadcom/bnge/Makefile | 4 +- drivers/net/ethernet/broadcom/bnge/bnge.h | 28 +- .../net/ethernet/broadcom/bnge/bnge_ethtool.c | 1140 +++++++++++++++++ .../net/ethernet/broadcom/bnge/bnge_filter.c | 839 ++++++++++++ .../net/ethernet/broadcom/bnge/bnge_filter.h | 137 ++ .../ethernet/broadcom/bnge/bnge_hwrm_lib.c | 192 ++- .../ethernet/broadcom/bnge/bnge_hwrm_lib.h | 9 +- .../net/ethernet/broadcom/bnge/bnge_netdev.c | 560 +++++--- .../net/ethernet/broadcom/bnge/bnge_netdev.h | 94 +- .../net/ethernet/broadcom/bnge/bnge_resc.c | 163 ++- .../net/ethernet/broadcom/bnge/bnge_resc.h | 1 + .../net/ethernet/broadcom/bnge/bnge_vnic.c | 379 ++++++ .../net/ethernet/broadcom/bnge/bnge_vnic.h | 96 ++ 13 files changed, 3279 insertions(+), 363 deletions(-) create mode 100644 drivers/net/ethernet/broadcom/bnge/bnge_filter.c create mode 100644 drivers/net/ethernet/broadcom/bnge/bnge_filter.h create mode 100644 drivers/net/ethernet/broadcom/bnge/bnge_vnic.c create mode 100644 drivers/net/ethernet/broadcom/bnge/bnge_vnic.h
Signature · 1 line
2.52.0