]> www.infradead.org Git - users/jedix/linux-maple.git/commit
ice: only allow Tx promiscuous for multicast
authorBrett Creeley <brett.creeley@intel.com>
Thu, 17 Oct 2024 07:08:16 +0000 (09:08 +0200)
committerTony Nguyen <anthony.l.nguyen@intel.com>
Wed, 13 Nov 2024 18:30:21 +0000 (10:30 -0800)
commit2a52984c53f3df46db58d50557fda4580aa2aad6
treec3a7a727ad8892b90537e2537f327a5d11debb48
parent492a044508ad13a490a24c66f311339bf891cb5f
ice: only allow Tx promiscuous for multicast

Currently when any VF is trusted and true promiscuous mode is enabled on
the PF, the VF will receive all unicast traffic directed to the device's
internal switch. This includes traffic external to the NIC and also from
other VSI (i.e. VFs). This does not match the expected behavior as
unicast traffic should only be visible from external sources in this
case. Disable the Tx promiscuous mode bits for unicast promiscuous mode.

Reviewed-by: Mateusz Polchlopek <mateusz.polchlopek@intel.com>
Signed-off-by: Brett Creeley <brett.creeley@intel.com>
Signed-off-by: Michal Swiatkowski <michal.swiatkowski@linux.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>
drivers/net/ethernet/intel/ice/ice.h
drivers/net/ethernet/intel/ice/ice_virtchnl.c