aboutsummaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/progs/test_autoload.c
diff options
context:
space:
mode:
authorMichal Swiatkowski <[email protected]>2023-03-13 13:09:15 +0100
committerTony Nguyen <[email protected]>2023-03-21 10:02:48 -0700
commit7d46c0e670d5f646879b52bacc387bf48ff0e7f1 (patch)
treedae200c3c8f054fa9bd651d072ceb78d9ea9d180 /tools/testing/selftests/bpf/progs/test_autoload.c
parent83b49e7f63da88a1544cba2b2e40bfabb24bd203 (diff)
ice: remove filters only if VSI is deleted
Filters shouldn't be removed in VSI rebuild path. Removing them on PF VSI results in no rule for PF MAC after changing for example queues amount. Remove all filters only in the VSI remove flow. As unload should also cause the filter to be removed introduce, a new function ice_stop_eth(). It will unroll ice_start_eth(), so remove filters and close VSI. Fixes: 6624e780a577 ("ice: split ice_vsi_setup into smaller functions") Signed-off-by: Michal Swiatkowski <[email protected]> Tested-by: Arpana Arland <[email protected]> (A Contingent worker at Intel) Signed-off-by: Tony Nguyen <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/progs/test_autoload.c')
0 files changed, 0 insertions, 0 deletions