diff options
author | Yi Zou <yi.zou@intel.com> | 2009-12-03 11:32:22 (GMT) |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-12-03 23:43:20 (GMT) |
commit | 61a0f421ceccd52d0d893daf743b04c225ba5ef0 (patch) | |
tree | 5837bb8dd5e668c5aeac70a26331b9445d1dc34f /drivers/net/ixgbe/ixgbe_fcoe.h | |
parent | 69ee472f2706371ca639de49b06df91615c07d8d (diff) | |
download | linux-fsl-qoriq-61a0f421ceccd52d0d893daf743b04c225ba5ef0.tar.xz |
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.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/net/ixgbe/ixgbe_fcoe.h b/drivers/net/ixgbe/ixgbe_fcoe.h index b5dee7b..de8ff53 100644 --- a/drivers/net/ixgbe/ixgbe_fcoe.h +++ b/drivers/net/ixgbe/ixgbe_fcoe.h @@ -62,7 +62,10 @@ struct ixgbe_fcoe_ddp { }; struct ixgbe_fcoe { +#ifdef CONFIG_IXGBE_DCB u8 tc; + u8 up; +#endif spinlock_t lock; struct pci_pool *pool; struct ixgbe_fcoe_ddp ddp[IXGBE_FCOE_DDP_MAX]; |