]> git.dujemihanovic.xyz Git - linux.git/commit
ice: don't busy wait for Rx queue disable in ice_qp_dis()
authorMaciej Fijalkowski <maciej.fijalkowski@intel.com>
Fri, 26 Jul 2024 18:17:10 +0000 (20:17 +0200)
committerTony Nguyen <anthony.l.nguyen@intel.com>
Mon, 29 Jul 2024 15:52:29 +0000 (08:52 -0700)
commit1ff72a2f67791cd4ddad19ed830445f57b30e992
tree71759c44d271e2b3b682c9c4a499eaedefcd95b1
parentec145a18687fec8dd97eeb4f30057fa4debef577
ice: don't busy wait for Rx queue disable in ice_qp_dis()

When ice driver is spammed with multiple xdpsock instances and flow
control is enabled, there are cases when Rx queue gets stuck and unable
to reflect the disable state in QRX_CTRL register. Similar issue has
previously been addressed in commit 13a6233b033f ("ice: Add support to
enable/disable all Rx queues before waiting").

To workaround this, let us simply not wait for a disabled state as later
patch will make sure that regardless of the encountered error in the
process of disabling a queue pair, the Rx queue will be enabled.

Fixes: 2d4238f55697 ("ice: Add support for AF_XDP")
Reviewed-by: Shannon Nelson <shannon.nelson@amd.com>
Tested-by: Chandan Kumar Rout <chandanx.rout@intel.com> (A Contingent Worker at Intel)
Signed-off-by: Maciej Fijalkowski <maciej.fijalkowski@intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
drivers/net/ethernet/intel/ice/ice_xsk.c