diff options
author | Michal Swiatkowski <[email protected]> | 2024-04-23 16:36:32 +0200 |
---|---|---|
committer | Tony Nguyen <[email protected]> | 2024-05-08 09:24:43 -0700 |
commit | 8e3a90f2e3aa642d0e7e8259f069ca539cecf549 (patch) | |
tree | e83db3dfd8cc436ee8679b1c221033c2d5ba68a9 /drivers/net/ethernet/intel/igc/igc_main.c | |
parent | fb324f2b22a6aee38d649aa3dad80cc77cfc7070 (diff) |
ice: remove correct filters during eswitch release
ice_clear_dflt_vsi() is only removing default rule. Both default RX and
TX rule should be removed during release.
If it isn't switching to switchdev, second time results in error, because
TX filter is already there.
Fix it by removing the correct set of rules.
Fixes: 50d62022f455 ("ice: default Tx rule instead of to queue")
Reviewed-by: Wojciech Drewek <[email protected]>
Signed-off-by: Michal Swiatkowski <[email protected]>
Signed-off-by: Marcin Szycik <[email protected]>
Reviewed-by: Simon Horman <[email protected]>
Tested-by: Sujai Buvaneswaran <[email protected]>
Signed-off-by: Tony Nguyen <[email protected]>
Diffstat (limited to 'drivers/net/ethernet/intel/igc/igc_main.c')
0 files changed, 0 insertions, 0 deletions