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
..
2009-06-23 01:54:30 -04:00
2009-06-16 19:50:13 -07:00
2009-06-18 09:56:20 +02:00
2009-06-16 19:50:13 -07:00
2009-06-17 09:35:24 -07:00
2009-06-16 19:50:13 -07:00
2009-06-21 22:48:03 -07:00
2009-07-02 13:16:46 -07:00
2009-06-22 10:12:37 +01:00
2009-06-20 18:39:43 +00:00
2009-06-18 13:04:04 -07:00
2009-06-22 16:56:22 -07:00
2009-06-16 19:50:13 -07:00
2009-07-21 15:58:54 -04:00
2009-06-18 13:04:04 -07:00
2009-06-15 16:47:25 +10:00
2009-06-19 16:46:05 -07:00
2009-07-08 15:24:25 -04:00
2009-06-18 13:04:04 -07:00
2009-06-18 13:04:04 -07:00