[Intel-wired-lan] [PATCH S18 14/15] ice: Disable sniffing VF traffic on PF

Bowers, AndrewX andrewx.bowers at intel.com
Fri Apr 26 20:39:10 UTC 2019


> -----Original Message-----
> From: Intel-wired-lan [mailto:intel-wired-lan-bounces at osuosl.org] On
> Behalf Of Anirudh Venkataramanan
> Sent: Tuesday, April 16, 2019 10:21 AM
> To: intel-wired-lan at lists.osuosl.org
> Subject: [Intel-wired-lan] [PATCH S18 14/15] ice: Disable sniffing VF traffic on
> PF
> 
> From: Michal Swiatkowski <michal.swiatkowski at intel.com>
> 
> Delete code that add default Tx rule on PF. With this rule PF can see Tx VF
> traffic that should go outside. For traffic from VF to another VF default Tx
> rule on PF doesn't apply because of lower priority than VF mac rule.
> 
> With this change on PF in promisc mode we can see only Rx traffic that
> doesn't match any other rule (mac etc.). We can't see Tx traffic from other
> VSI.
> 
> Signed-off-by: Michal Swiatkowski <michal.swiatkowski at intel.com>
> Signed-off-by: Anirudh Venkataramanan
> <anirudh.venkataramanan at intel.com>
> ---
>  drivers/net/ethernet/intel/ice/ice_main.c | 24 ++---------------------
>  1 file changed, 2 insertions(+), 22 deletions(-)

Tested-by: Andrew Bowers <andrewx.bowers at intel.com>




More information about the Intel-wired-lan mailing list