diff options
author | Maciej Fijalkowski <[email protected]> | 2024-07-26 20:17:11 +0200 |
---|---|---|
committer | Tony Nguyen <[email protected]> | 2024-07-29 08:52:29 -0700 |
commit | 405d9999aa0b4ae467ef391d1d9c7e0d30ad0841 (patch) | |
tree | c2c0da42ce0eae01cb0976006d44131eaedc41a6 /scripts/gdb/linux/stackdepot.py | |
parent | 1ff72a2f67791cd4ddad19ed830445f57b30e992 (diff) |
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")
Reviewed-by: Shannon Nelson <[email protected]>
Tested-by: Chandan Kumar Rout <[email protected]> (A Contingent Worker at Intel)
Signed-off-by: Maciej Fijalkowski <[email protected]>
Signed-off-by: Tony Nguyen <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/stackdepot.py')
0 files changed, 0 insertions, 0 deletions