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)
commit0299faeaf8eb982103e4388af61fd94feb9c2d9f
treea314a582fd439136a0afa95e2bb5064903065e5d
parent1a8c7778bcde5981463a5b9f9b2caa44a327ff93
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: 01b5e89aab49 ("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