BPF List
 help / color / mirror / Atom feed
* [PATCH iwl-next 0/2] i40e, ice: one RCU grace period per XDP ring teardown
@ 2026-11-20 15:05 Shitalkumar Gandhi
  2026-11-20 15:05 ` [PATCH iwl-next 1/2] i40e: wait for one RCU grace period in i40e_down(), not one per queue Shitalkumar Gandhi
  2026-11-20 15:05 ` [PATCH iwl-next 2/2] ice: wait for one RCU grace period when destroying XDP rings Shitalkumar Gandhi
  0 siblings, 2 replies; 5+ messages in thread
From: Shitalkumar Gandhi @ 2026-11-20 15:05 UTC (permalink / raw)
  To: Tony Nguyen, Przemek Kitszel, intel-wired-lan
  Cc: netdev, Andrew Lunn, David S . Miller, Eric Dumazet,
	Jakub Kicinski, Paolo Abeni, Alexei Starovoitov, Daniel Borkmann,
	Jesper Dangaard Brouer, John Fastabend, Stanislav Fomichev, bpf,
	Shitalkumar Gandhi

Both i40e and ice wait for an RCU grace period once per XDP Tx ring
when tearing the rings down, so the time spent scales with the number
of queues (i40e) or CPUs (ice). The wait only has to cover in-progress
ndo_xdp_xmit and ndo_xsk_wakeup calls, and one grace period taken
before the loop does that for all rings.

Compile-tested with W=1 (allmodconfig, x86_64); not run on hardware.

Shitalkumar Gandhi (2):
  i40e: wait for one RCU grace period in i40e_down(), not one per queue
  ice: wait for one RCU grace period when destroying XDP rings

 drivers/net/ethernet/intel/i40e/i40e_main.c | 15 +++++++++------
 drivers/net/ethernet/intel/ice/ice_main.c   | 10 +++++++---
 2 files changed, 16 insertions(+), 9 deletions(-)

-- 
2.53.0


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2026-11-20 15:17 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-20 15:05 [PATCH iwl-next 0/2] i40e, ice: one RCU grace period per XDP ring teardown Shitalkumar Gandhi
2026-11-20 15:05 ` [PATCH iwl-next 1/2] i40e: wait for one RCU grace period in i40e_down(), not one per queue Shitalkumar Gandhi
2026-11-20 15:17   ` sashiko-bot
2026-11-20 15:05 ` [PATCH iwl-next 2/2] ice: wait for one RCU grace period when destroying XDP rings Shitalkumar Gandhi
2026-11-20 15:13   ` sashiko-bot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox