[Intel-wired-lan] [PATCH] i40e: Set RX_ONLY mode for unicast promiscuous on VLAN

Bowers, AndrewX andrewx.bowers at intel.com
Fri Aug 7 00:34:38 UTC 2020


> -----Original Message-----
> From: Intel-wired-lan <intel-wired-lan-bounces at osuosl.org> On Behalf Of
> Arkadiusz Kubalewski
> Sent: Thursday, August 6, 2020 6:41 AM
> To: intel-wired-lan at lists.osuosl.org
> Cc: Loktionov, Aleksandr <aleksandr.loktionov at intel.com>; Patynowski,
> PrzemyslawX <przemyslawx.patynowski at intel.com>
> Subject: [Intel-wired-lan] [PATCH] i40e: Set RX_ONLY mode for unicast
> promiscuous on VLAN
> 
> From: Przemyslaw Patynowski <przemyslawx.patynowski at intel.com>
> 
> Trusted VF with unicast promiscuous mode set, could listen to TX traffic of
> other VFs.
> Set unicast promiscuous mode to rx traffic, if VSI has port VLAN configured.
> Rename misleading I40E_AQC_SET_VSI_PROMISC_TX bit to
> I40E_AQC_SET_VSI_PROMISC_RX_ONLY. Aligned unicast promiscuous with
> VLAN to the one without VLAN.
> Previously, other trusted VFs with port VLAN could listen to unicast tx traffic
> of other VFs.
> 
> Signed-off-by: Przemyslaw Patynowski
> <przemyslawx.patynowski at intel.com>
> Signed-off-by: Aleksandr Loktionov <aleksandr.loktionov at intel.com>
> Signed-off-by: Arkadiusz Kubalewski <arkadiusz.kubalewski at intel.com>
> ---
>  .../net/ethernet/intel/i40e/i40e_adminq_cmd.h |  2 +-
> drivers/net/ethernet/intel/i40e/i40e_common.c | 35 ++++++++++++++-----
>  2 files changed, 28 insertions(+), 9 deletions(-)

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




More information about the Intel-wired-lan mailing list