summaryrefslogtreecommitdiff
path: root/rust
diff options
context:
space:
mode:
authorDawid Osuchowski <dawid.osuchowski@linux.intel.com>2026-03-27 08:22:32 +0100
committerTony Nguyen <anthony.l.nguyen@intel.com>2026-06-22 14:04:01 -0700
commitebbe8868cf473f698e0fbaf436d2618b2bcda806 (patch)
treecfd69709dd1d49a2d72955c066389932c52362c5 /rust
parent56abdaebbf0da304b860bed1f2b5a85f5a6a16a0 (diff)
ice: fix FDIR CTRL VSI resource leak in ice_reset_all_vfs()
Resetting all VFs causes resource leak on VFs with FDIR filters enabled as CTRL VSIs are only invalidated and not freed. Fix by using ice_vf_ctrl_vsi_release() instead of ice_vf_ctrl_invalidate_vsi() which aligns behavior with the ice_reset_vf() function. Reproduction: echo 1 > /sys/class/net/$pf/device/sriov_numvfs ethtool -N $vf flow-type ether proto 0x9000 action 0 echo 1 > /sys/class/net/$pf/device/reset Fixes: da62c5ff9dcd ("ice: Add support for per VF ctrl VSI enabling") Signed-off-by: Dawid Osuchowski <dawid.osuchowski@linux.intel.com> Signed-off-by: Aleksandr Loktionov <aleksandr.loktionov@intel.com> Reviewed-by: Simon Horman <horms@kernel.org> Tested-by: Rafal Romanowski <rafal.romanowski@intel.com> Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
Diffstat (limited to 'rust')
0 files changed, 0 insertions, 0 deletions