diff options
author | Lucy Liu <lucy.liu@intel.com> | 2009-07-22 14:07:33 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-07-23 11:05:31 -0700 |
commit | 601278659d5717b4f7a14fbc9f2b9d559bba6aef (patch) | |
tree | 8f283d6b9266277181907bb2cf37570a3b052443 /drivers/usb | |
parent | 0d5515894fd5b9e9402ef76e9a7e704fd26e0e5f (diff) |
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>
Diffstat (limited to 'drivers/usb')
0 files changed, 0 insertions, 0 deletions