[Intel-wired-lan] [PATCH S38 01/15] ice: Add initial support for QinQ

Bowers, AndrewX andrewx.bowers at intel.com
Mon Jan 27 22:53:02 UTC 2020


> -----Original Message-----
> From: Intel-wired-lan [mailto:intel-wired-lan-bounces at osuosl.org] On
> Behalf Of Tony Nguyen
> Sent: Wednesday, January 22, 2020 7:21 AM
> To: intel-wired-lan at lists.osuosl.org
> Subject: [Intel-wired-lan] [PATCH S38 01/15] ice: Add initial support for QinQ
> 
> From: Brett Creeley <brett.creeley at intel.com>
> 
> Allow support for S-Tag + C-Tag VLAN traffic by disabling pruning when there
> are no 0x8100 VLAN interfaces currently created on top of the PF.
> When an 0x8100 VLAN interface is configured, enable pruning and only
> support single and double C-Tag VLAN traffic. If all of the 0x8100 interfaces
> that were created on top of the PF are removed via ethtool -K <iface> rx-
> vlan-filter off or via ip tools, then disable pruning and allow S-Tag + C-Tag
> traffic again.
> 
> Add VLAN 0 filter by default for the PF. This is because a bridge sets the
> default_pvid to 1, sends the request down to ice_vlan_rx_add_vid(), and we
> never get the request to add VLAN 0 via the 8021q module which causes all
> untagged traffic to be dropped.
> 
> Signed-off-by: Brett Creeley <brett.creeley at intel.com>
> Signed-off-by: Tony Nguyen <anthony.l.nguyen at intel.com>
> ---
>  drivers/net/ethernet/intel/ice/ice_lib.c      | 43 +++++++++++++++++--
>  drivers/net/ethernet/intel/ice/ice_lib.h      |  2 +
>  drivers/net/ethernet/intel/ice/ice_main.c     | 21 ++++++---
>  .../net/ethernet/intel/ice/ice_virtchnl_pf.c  | 14 +++---
>  4 files changed, 63 insertions(+), 17 deletions(-)

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




More information about the Intel-wired-lan mailing list