From: Vikas Gupta <vikas.gupta@broadcom.com>
To: davem@davemloft.net, edumazet@google.com, kuba@kernel.org,
pabeni@redhat.com, andrew+netdev@lunn.ch, horms@kernel.org
Cc: netdev@vger.kernel.org, linux-kernel@vger.kernel.org,
bhargava.marreddy@broadcom.com, rahul-rg.gupta@broadcom.com,
vsrama-krishna.nemani@broadcom.com,
rajashekar.hudumula@broadcom.com, dharmender.garg@broadcom.com,
ajit.khaparde@broadcom.com,
Vikas Gupta <vikas.gupta@broadcom.com>
Subject: [net-next, v3 00/11] add features to bnge
Date: Thu, 17 Sep 2026 12:15:37 +0530 [thread overview]
Message-ID: <20260917064548.773334-1-vikas.gupta@broadcom.com> (raw)
Hi,
This series adds ntuple filter, RSS context, and flow steering
support to bnge driver.
Patch 2 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
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 (11):
bnge: update HSI
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 | 20 +-
.../net/ethernet/broadcom/bnge/bnge_ethtool.c | 1030 +++++++++++++++++
.../net/ethernet/broadcom/bnge/bnge_filter.c | 684 +++++++++++
.../net/ethernet/broadcom/bnge/bnge_filter.h | 123 ++
.../ethernet/broadcom/bnge/bnge_hwrm_lib.c | 155 ++-
.../ethernet/broadcom/bnge/bnge_hwrm_lib.h | 10 +
.../net/ethernet/broadcom/bnge/bnge_netdev.c | 420 ++++---
.../net/ethernet/broadcom/bnge/bnge_netdev.h | 91 +-
.../net/ethernet/broadcom/bnge/bnge_resc.c | 115 +-
.../net/ethernet/broadcom/bnge/bnge_resc.h | 1 +
.../net/ethernet/broadcom/bnge/bnge_vnic.c | 284 +++++
.../net/ethernet/broadcom/bnge/bnge_vnic.h | 91 ++
include/linux/bnge/hsi.h | 136 ++-
14 files changed, 2868 insertions(+), 296 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
--
2.52.0
next reply other threads:[~2026-09-17 6:46 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-09-17 6:45 Vikas Gupta [this message]
2026-09-17 6:45 ` [net-next, v3 01/11] bnge: update HSI Vikas Gupta
2026-09-17 6:45 ` [net-next, v3 02/11] bnge: restructure VNIC and filter code Vikas Gupta
2026-09-17 6:45 ` [net-next, v3 03/11] bnge: add NTUPLE/ARFS VNIC Vikas Gupta
2026-09-17 6:45 ` [net-next, v3 04/11] bnge: add helper functions for multi RSS contexts Vikas Gupta
2026-09-17 6:45 ` [net-next, v3 05/11] bnge: add RXFH ethtool support Vikas Gupta
2026-09-17 6:45 ` [net-next, v3 06/11] bnge: add ethtool support to manage RSS contexts Vikas Gupta
2026-09-17 6:45 ` [net-next, v3 07/11] bnge: remove refcount from L2 filter Vikas Gupta
2026-09-17 6:45 ` [net-next, v3 08/11] bnge: add NTUPLE filter infrastructure Vikas Gupta
2026-09-17 6:45 ` [net-next, v3 09/11] bnge: add NTUPLE filter support in ethtool Vikas Gupta
2026-09-17 6:45 ` [net-next, v3 10/11] bnge: add aRFS flow steering ndo support Vikas Gupta
2026-09-17 6:45 ` [net-next, v3 11/11] bnge: add cpu_rmap support for IRQ affinity Vikas Gupta
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260917064548.773334-1-vikas.gupta@broadcom.com \
--to=vikas.gupta@broadcom.com \
--cc=ajit.khaparde@broadcom.com \
--cc=andrew+netdev@lunn.ch \
--cc=bhargava.marreddy@broadcom.com \
--cc=davem@davemloft.net \
--cc=dharmender.garg@broadcom.com \
--cc=edumazet@google.com \
--cc=horms@kernel.org \
--cc=kuba@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=netdev@vger.kernel.org \
--cc=pabeni@redhat.com \
--cc=rahul-rg.gupta@broadcom.com \
--cc=rajashekar.hudumula@broadcom.com \
--cc=vsrama-krishna.nemani@broadcom.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®