]> git.baikalelectronics.ru Git - kernel.git/commit
ice: Remove toggling of antispoof for VF trusted promiscuous mode
authorBrett Creeley <brett.creeley@intel.com>
Wed, 5 May 2021 21:17:57 +0000 (14:17 -0700)
committerTony Nguyen <anthony.l.nguyen@intel.com>
Wed, 3 Nov 2021 15:16:06 +0000 (08:16 -0700)
commit920ff9ba914917c37b53a278d1d171cc38a071b5
treea314a582fd439136a0afa95e2bb5064903065e5d
parent3d414e9ba22c78102e8df81a55e351d647ed3763
ice: Remove toggling of antispoof for VF trusted promiscuous mode

Currently when a trusted VF enables promiscuous mode spoofchk will be
disabled. This is wrong and should only be modified from the
ndo_set_vf_spoofchk callback. Fix this by removing the call to toggle
spoofchk for trusted VFs.

Fixes: 3580aa26254f ("ice: Add VF promiscuous support")
Signed-off-by: Brett Creeley <brett.creeley@intel.com>
Tested-by: Tony Brelinski <tony.brelinski@intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
drivers/net/ethernet/intel/ice/ice_virtchnl_pf.c