From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bowers, AndrewX Date: Mon, 27 Jan 2020 22:53:02 +0000 Subject: [Intel-wired-lan] [PATCH S38 01/15] ice: Add initial support for QinQ In-Reply-To: <20200122152138.41585-1-anthony.l.nguyen@intel.com> References: <20200122152138.41585-1-anthony.l.nguyen@intel.com> Message-ID: <6f7eafcfd3ef45d7aa258f6463a2ca54@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: intel-wired-lan@osuosl.org List-ID: > -----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 > > 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 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 > Signed-off-by: Tony Nguyen > --- > 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