Thread (23 messages) 23 messages, 3 authors, 2024-06-04

RE: [Intel-wired-lan] [PATCH v2 iwl-net 3/8] ice: replace synchronize_rcu with synchronize_net

From: Rout, ChandanX <hidden>
Date: 2024-06-04 06:49:31
Also in: intel-wired-lan

-----Original Message-----
From: Intel-wired-lan <redacted> On Behalf Of
Fijalkowski, Maciej
Sent: Wednesday, May 29, 2024 4:54 PM
To: intel-wired-lan@lists.osuosl.org
Cc: Fijalkowski, Maciej <maciej.fijalkowski@intel.com>; Zaremba, Larysa
[off-list ref]; netdev@vger.kernel.org; Kubiak, Michal
[off-list ref]; Nguyen, Anthony L
[off-list ref]; Karlsson, Magnus
[off-list ref]
Subject: [Intel-wired-lan] [PATCH v2 iwl-net 3/8] ice: replace synchronize_rcu
with synchronize_net

Given that ice_qp_dis() is called under rtnl_lock, synchronize_net() can be called
instead of synchronize_rcu() so that XDP rings can finish its job in a faster way.
Also let us do this as earlier in XSK queue disable flow.

Additionally, turn off regular Tx queue before disabling irqs and NAPI.

Fixes: 2d4238f55697 ("ice: Add support for AF_XDP")
Signed-off-by: Maciej Fijalkowski <maciej.fijalkowski@intel.com>
---
drivers/net/ethernet/intel/ice/ice_xsk.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
Tested-by: Chandan Kumar Rout <redacted> (A Contingent Worker at Intel)
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help