aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ixgbe/ixgbe_fcoe.h
diff options
context:
space:
mode:
authorYi Zou <yi.zou@intel.com>2009-12-03 06:32:22 -0500
committerDavid S. Miller <davem@davemloft.net>2009-12-03 18:43:20 -0500
commit61a0f421ceccd52d0d893daf743b04c225ba5ef0 (patch)
tree5837bb8dd5e668c5aeac70a26331b9445d1dc34f /drivers/net/ixgbe/ixgbe_fcoe.h
parent69ee472f2706371ca639de49b06df91615c07d8d (diff)
ixgbe: use known user priority for FCoE when DCB is enabled
Store the user priority for FCoE and use it directly for outgoing FCoE traffic when DCB is enabled. Signed-off-by: Yi Zou <yi.zou@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/net/ixgbe/ixgbe_fcoe.h')
-rw-r--r--drivers/net/ixgbe/ixgbe_fcoe.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/net/ixgbe/ixgbe_fcoe.h b/drivers/net/ixgbe/ixgbe_fcoe.h
index b5dee7b3ef1c..de8ff53187da 100644
--- a/drivers/net/ixgbe/ixgbe_fcoe.h
+++ b/drivers/net/ixgbe/ixgbe_fcoe.h
@@ -62,7 +62,10 @@ struct ixgbe_fcoe_ddp {
62}; 62};
63 63
64struct ixgbe_fcoe { 64struct ixgbe_fcoe {
65#ifdef CONFIG_IXGBE_DCB
65 u8 tc; 66 u8 tc;
67 u8 up;
68#endif
66 spinlock_t lock; 69 spinlock_t lock;
67 struct pci_pool *pool; 70 struct pci_pool *pool;
68 struct ixgbe_fcoe_ddp ddp[IXGBE_FCOE_DDP_MAX]; 71 struct ixgbe_fcoe_ddp ddp[IXGBE_FCOE_DDP_MAX];