aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ixgbe/ixgbe_fcoe.h
diff options
context:
space:
mode:
authorYi Zou <yi.zou@intel.com>2009-08-31 08:34:28 -0400
committerDavid S. Miller <davem@davemloft.net>2009-09-01 04:24:40 -0400
commit6ee1652051f14d1c110f48a5b3ee037d63d0c2fa (patch)
tree2abd6fcb4eddfb093f5d46a0faa9e601e38f6cb7 /drivers/net/ixgbe/ixgbe_fcoe.h
parent579496865cf4ea429146382d62047ffdbaab0dee (diff)
ixgbe: Add support for dcbnl_rtnl_ops.setapp/getapp
Add support for dcbnl_rtnl_ops.setapp/getapp to set or get the current user priority bitmap for the given application protocol. Currently, 82599 only supports setapp/getapp for Fiber Channel over Ethernet (FCoE) protocol. 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.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/net/ixgbe/ixgbe_fcoe.h b/drivers/net/ixgbe/ixgbe_fcoe.h
index c5b50026a897..b5dee7b3ef1c 100644
--- a/drivers/net/ixgbe/ixgbe_fcoe.h
+++ b/drivers/net/ixgbe/ixgbe_fcoe.h
@@ -46,6 +46,9 @@
46#define IXGBE_FCBUFF_MIN 4096 /* 4KB min */ 46#define IXGBE_FCBUFF_MIN 4096 /* 4KB min */
47#define IXGBE_FCOE_DDP_MAX 512 /* 9 bits xid */ 47#define IXGBE_FCOE_DDP_MAX 512 /* 9 bits xid */
48 48
49/* Default traffic class to use for FCoE */
50#define IXGBE_FCOE_DEFTC 3
51
49/* fcerr */ 52/* fcerr */
50#define IXGBE_FCERR_BADCRC 0x00100000 53#define IXGBE_FCERR_BADCRC 0x00100000
51 54
@@ -59,6 +62,7 @@ struct ixgbe_fcoe_ddp {
59}; 62};
60 63
61struct ixgbe_fcoe { 64struct ixgbe_fcoe {
65 u8 tc;
62 spinlock_t lock; 66 spinlock_t lock;
63 struct pci_pool *pool; 67 struct pci_pool *pool;
64 struct ixgbe_fcoe_ddp ddp[IXGBE_FCOE_DDP_MAX]; 68 struct ixgbe_fcoe_ddp ddp[IXGBE_FCOE_DDP_MAX];