linux/drivers/net/ethernet/intel/ice
Brett Creeley 42f3efef35 ice: Add initial support for QinQ
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@intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
2020-02-15 16:24:33 -08:00
..
ice_adminq_cmd.h ice: Trivial fixes 2020-02-12 11:49:12 -08:00
ice_base.c ice: Cleanup ice_vsi_alloc_q_vectors 2020-02-12 11:49:04 -08:00
ice_base.h ice: get rid of per-tc flow in Tx queue configuration routines 2019-11-04 10:03:14 -08:00
ice_common.c ice: Trivial fixes 2020-02-12 11:49:12 -08:00
ice_common.h ice: Remove ice_dev_onetime_setup() 2020-02-12 11:48:26 -08:00
ice_controlq.c ice: print opcode when printing controlq errors 2019-11-08 12:03:18 -08:00
ice_controlq.h ice: Update FW API minor version 2019-11-22 13:43:46 -08:00
ice_dcb_lib.c ice: Trivial fixes 2020-02-12 11:49:12 -08:00
ice_dcb_lib.h ice: Implement ethtool ops for channels 2019-11-22 13:43:26 -08:00
ice_dcb_nl.c ice: Make print statements more compact 2020-02-12 11:49:00 -08:00
ice_dcb_nl.h ice: Implement DCBNL support 2019-11-08 12:02:14 -08:00
ice_dcb.c ice: Trivial fixes 2020-02-12 11:49:12 -08:00
ice_dcb.h ice: Allow for delayed LLDP MIB change registration 2019-09-05 08:13:41 -07:00
ice_devids.h ice: Add device ids for E822 devices 2020-01-03 16:08:33 -08:00
ice_ethtool.c ice: Trivial fixes 2020-02-12 11:49:12 -08:00
ice_flex_pipe.c ice: Optimize table usage 2020-01-25 21:42:50 -08:00
ice_flex_pipe.h ice: Optimize table usage 2020-01-25 21:42:50 -08:00
ice_flex_type.h ice: Enable writing filtering tables 2020-01-25 21:38:32 -08:00
ice_flow.c ice: Implement ethtool get/set rx-flow-hash 2020-01-25 21:47:28 -08:00
ice_flow.h ice: Implement ethtool get/set rx-flow-hash 2020-01-25 21:47:28 -08:00
ice_hw_autogen.h ice: update Unit Load Status bitmask to check after reset 2020-02-12 11:48:45 -08:00
ice_lan_tx_rx.h ice: Allocate flow profile 2020-01-24 16:06:32 -08:00
ice_lib.c ice: Add initial support for QinQ 2020-02-15 16:24:33 -08:00
ice_lib.h ice: Add initial support for QinQ 2020-02-15 16:24:33 -08:00
ice_main.c ice: Add initial support for QinQ 2020-02-15 16:24:33 -08:00
ice_nvm.c ice: Add device ids for E822 devices 2020-01-03 16:08:33 -08:00
ice_nvm.h ice: Update Boot Configuration Section read of NVM 2019-11-06 16:41:45 -08:00
ice_osdep.h ice: Start hardware initialization 2018-03-26 09:59:08 -07:00
ice_protocol_type.h ice: Initilialize VF RSS tables 2020-01-25 21:45:19 -08:00
ice_sched.c ice: remove pointless NULL check of port_info 2019-11-22 13:43:42 -08:00
ice_sched.h ice: Add NDO callback to set the maximum per-queue bitrate 2019-11-08 11:58:49 -08:00
ice_sriov.c ice: Add support for new PHY types 2019-01-15 12:38:44 -08:00
ice_sriov.h ice: Add handlers for VF netdevice operations 2018-10-03 07:42:30 -07:00
ice_status.h ice: Populate TCAM filter software structures 2020-01-25 21:34:36 -08:00
ice_switch.c ice: Allocate flow profile 2020-01-24 16:06:32 -08:00
ice_switch.h ice: Add NDO callback to set the maximum per-queue bitrate 2019-11-08 11:58:49 -08:00
ice_txrx_lib.c ice: Don't allow same value for Rx tail to be written twice 2020-02-12 11:48:22 -08:00
ice_txrx_lib.h ice: Move common functions to ice_txrx_lib.c 2019-11-04 11:45:05 -08:00
ice_txrx.c ice: Trivial fixes 2020-02-12 11:49:12 -08:00
ice_txrx.h ice: Trivial fixes 2020-02-12 11:49:12 -08:00
ice_type.h ice: Trivial fixes 2020-02-12 11:49:12 -08:00
ice_virtchnl_pf.c ice: Add initial support for QinQ 2020-02-15 16:24:33 -08:00
ice_virtchnl_pf.h ice: Add ice_for_each_vf() macro 2020-01-03 16:08:33 -08:00
ice_xsk.c ice: Make print statements more compact 2020-02-12 11:49:00 -08:00
ice_xsk.h ice: Add support for AF_XDP 2019-11-04 12:01:55 -08:00
ice.h ice: Add a boundary check in ice_xsk_umem() 2020-01-03 16:08:33 -08:00
Makefile ice: Enable writing hardware filtering tables 2020-01-24 13:18:19 -08:00