linux-kernel-test/drivers/net/ixgbe
Lucy Liu 601278659d ixgbe: Don't priority tag control frames in DCB mode
Certain types of control packets (LLDP, LACP, etc.) are not supposed to have a
priority tag or vlan tag inserted.  Ixgbe driver is currently priority
tagging everything (if packet is not on a VLAN interface).

This patch modifies DCB mode, so that packets marked with skb priority
TC_PRIO_CONTROL are not priority tagged.  It also transmits these packets on
the highest priority traffic class.
Programs (like dcbd) can set the skb priority using a socket option.  Or, a tc
filter can be configured to set the priority value. Using the value
TC_PRIO_CONTROL (7) has the benefit that it is already defined in the kernel,
and the bonding LACP code already sets the skb->priority field to this value.

Signed-off-by: Lucy Liu <lucy.liu@intel.com>
Acked-by: Peter P Waskiewicz Jr <peter.p.waskiewicz.jr@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2009-07-23 11:05:31 -07:00
..
ixgbe_82598.c ixgbe: Fix 82599 adapter link flickering issues 2009-06-07 05:20:19 -07:00
ixgbe_82599.c ixgbe: Add FW detection and warning for 82599 SFP+ adapters 2009-06-07 05:20:26 -07:00
ixgbe_common.c ixgbe: Add FW detection and warning for 82599 SFP+ adapters 2009-06-07 05:20:26 -07:00
ixgbe_common.h ixgbe: Fix 82599 adapter link flickering issues 2009-06-07 05:20:19 -07:00
ixgbe_dcb_82598.c ixgbe: Allow link flow control in DCB mode for 82599 adapters 2009-05-17 21:04:13 -07:00
ixgbe_dcb_82598.h ixgbe: Update copyright dates, bump the driver version number 2009-02-01 01:19:20 -08:00
ixgbe_dcb_82599.c ixgbe: Fix 82599 adapter link flickering issues 2009-06-07 05:20:19 -07:00
ixgbe_dcb_82599.h ixgbe: Add DCB for 82599, remove BCN support 2009-03-01 00:24:35 -08:00
ixgbe_dcb_nl.c ixgbe: Enable FCoE offload when DCB is enabled for 82599 2009-07-23 11:05:30 -07:00
ixgbe_dcb.c ixgbe: Add DCB for 82599, remove BCN support 2009-03-01 00:24:35 -08:00
ixgbe_dcb.h ixgbe: Add DCB for 82599, remove BCN support 2009-03-01 00:24:35 -08:00
ixgbe_ethtool.c ixgbe: Not allow 8259x unsupported wol options change from ethtool 2009-07-03 19:11:11 -07:00
ixgbe_fcoe.c convert some DMA_nnBIT_MASK() callers 2009-06-19 16:46:06 -07:00
ixgbe_fcoe.h ixgbe: Include offloaded FCoE data into total rx/tx statistics for 82599 2009-06-09 05:25:37 -07:00
ixgbe_main.c ixgbe: Don't priority tag control frames in DCB mode 2009-07-23 11:05:31 -07:00
ixgbe_phy.c ixgbe: fix issues with failing to detect insert of unsupported module 2009-07-03 19:10:55 -07:00
ixgbe_phy.h ixgbe: Change Direct Attach Twinax cable detection for SFP+ NICs 2009-05-19 15:36:14 -07:00
ixgbe_type.h ixgbe: Add FW detection and warning for 82599 SFP+ adapters 2009-06-07 05:20:26 -07:00
ixgbe.h ixgbe: Enable FCoE offload when DCB is enabled for 82599 2009-07-23 11:05:30 -07:00
Makefile ixgbe: Implement FCoE Tx side offload features in base driver of 82599 2009-05-17 12:00:04 -07:00