diff options
author | Norbert Zulinski <[email protected]> | 2022-10-10 10:22:22 -0400 |
---|---|---|
committer | Tony Nguyen <[email protected]> | 2022-11-09 13:20:38 -0800 |
commit | f23df5220d2bf8d5e639f074b76f206a736d09e1 (patch) | |
tree | b3cfcb9f69c7a01b05a626286e1fc679f0c19176 /tools/testing/selftests/bpf/prog_tests/prog_array_init.c | |
parent | 27c064ae14d1a80c790ce019759500c95a2a9551 (diff) |
ice: Fix spurious interrupt during removal of trusted VF
Previously, during removal of trusted VF when VF is down there was
number of spurious interrupt equal to number of queues on VF.
Add check if VF already has inactive queues. If VF is disabled and
has inactive rx queues then do not disable rx queues.
Add check in ice_vsi_stop_tx_ring if it's VF's vsi and if VF is
disabled.
Fixes: efe41860008e ("ice: Fix memory corruption in VF driver")
Signed-off-by: Norbert Zulinski <[email protected]>
Signed-off-by: Mateusz Palczewski <[email protected]>
Tested-by: Konrad Jankowski <[email protected]>
Signed-off-by: Tony Nguyen <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/prog_array_init.c')
0 files changed, 0 insertions, 0 deletions