linux/drivers/net/ethernet/intel/fm10k
Jacob Keller e71c931842 fm10k: send traffic on default VID to VLAN device if we have one
This patch ensures that VLAN traffic on the default VID will go to the
corresponding VLAN device if it exists. To do this, mask the rx_ring VID
if we have an active VLAN on that VID.

For this to work correctly, we need to update fm10k_process_skb_fields
to correctly mask off the VLAN_PRIO_MASK bits and compare them
separately, otherwise we incorrectly compare the priority bits with the
cleared flag. This also happens to fix a related bug where having
priority bits set causes us to incorrectly classify traffic.

Signed-off-by: Jacob Keller <jacob.e.keller@intel.com>
Tested-by: Krishneil Singh <krishneil.k.singh@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
2015-09-15 17:06:04 -07:00
..
fm10k_common.c fm10k: Resolve various spelling errors and checkpatch warnings 2015-03-03 01:07:23 -08:00
fm10k_common.h fm10k: Add support for ptp to hw specific files 2014-09-23 03:59:22 -07:00
fm10k_dcbnl.c fm10k: fix unused warnings 2015-04-14 15:23:36 -07:00
fm10k_debugfs.c fm10k: TRIVIAL fix up ordering of __always_unused and style 2015-09-15 17:06:00 -07:00
fm10k_ethtool.c fm10k: Fix missing braces after if statement 2015-06-17 14:21:41 -07:00
fm10k_iov.c fm10k: don't store sw_vid at reset 2015-09-15 17:05:51 -07:00
fm10k_main.c fm10k: send traffic on default VID to VLAN device if we have one 2015-09-15 17:06:04 -07:00
fm10k_mbx.c fm10k: remove err_no reference in fm10k_mbx.c 2015-06-17 14:21:30 -07:00
fm10k_mbx.h fm10k: Add support for PF <-> VF mailbox 2014-09-23 03:59:20 -07:00
fm10k_netdev.c fm10k: send traffic on default VID to VLAN device if we have one 2015-09-15 17:06:04 -07:00
fm10k_pci.c fm10k: send traffic on default VID to VLAN device if we have one 2015-09-15 17:06:04 -07:00
fm10k_pf.c fm10k: remove is_slot_appropriate 2015-09-15 17:05:55 -07:00
fm10k_pf.h fm10k: pack TLV overlay structures 2015-06-17 14:21:22 -07:00
fm10k_ptp.c fm10k: fix incorrect free on skb in ts_tx_enqueue 2015-06-17 14:20:36 -07:00
fm10k_tlv.c fm10k: Resolve various spelling errors and checkpatch warnings 2015-03-03 01:07:23 -08:00
fm10k_tlv.h fm10k: Add support for mailbox 2014-09-23 03:59:14 -07:00
fm10k_type.h fm10k: remove is_slot_appropriate 2015-09-15 17:05:55 -07:00
fm10k_vf.c fm10k: remove is_slot_appropriate 2015-09-15 17:05:55 -07:00
fm10k_vf.h fm10k: Add support for ptp to hw specific files 2014-09-23 03:59:22 -07:00
fm10k.h fm10k: use separate workqueue for fm10k driver 2015-04-14 15:38:06 -07:00
Makefile fm10k: Add support for PTP 2014-09-23 03:59:23 -07:00