diff options
| author | Larysa Zaremba <[email protected]> | 2024-08-23 09:59:30 +0000 |
|---|---|---|
| committer | Tony Nguyen <[email protected]> | 2024-09-03 16:04:17 +0000 |
| commit | 7e3b407ccbea3259b8583ccc34807622025e390f (patch) | |
| tree | 4cc066e17d1bffaee2c5fdaad06cfcf076f77e9d /drivers/net/ethernet/intel/ice/ice_main.c | |
| parent | ice: check ICE_VSI_DOWN under rtnl_lock when preparing for reset (diff) | |
| download | kernel-7e3b407ccbea3259b8583ccc34807622025e390f.tar.gz kernel-7e3b407ccbea3259b8583ccc34807622025e390f.zip | |
ice: remove ICE_CFG_BUSY locking from AF_XDP code
Locking used in ice_qp_ena() and ice_qp_dis() does pretty much nothing,
because ICE_CFG_BUSY is a state flag that is supposed to be set in a PF
state, not VSI one. Therefore it does not protect the queue pair from
e.g. reset.
Remove ICE_CFG_BUSY locking from ice_qp_dis() and ice_qp_ena().
Fixes: 2d4238f55697 ("ice: Add support for AF_XDP")
Reviewed-by: Wojciech Drewek <[email protected]>
Reviewed-by: Jacob Keller <[email protected]>
Tested-by: Chandan Kumar Rout <[email protected]>
Reviewed-by: Maciej Fijalkowski <[email protected]>
Signed-off-by: Larysa Zaremba <[email protected]>
Signed-off-by: Tony Nguyen <[email protected]>
Diffstat (limited to 'drivers/net/ethernet/intel/ice/ice_main.c')
0 files changed, 0 insertions, 0 deletions
