summaryrefslogtreecommitdiff
path: root/drivers/net/ixgbe/ixgbe_fcoe.h
diff options
context:
space:
mode:
authorYi Zou <yi.zou@intel.com>2011-02-01 07:22:16 (GMT)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>2011-03-08 02:04:35 (GMT)
commit68a683cf6a5ff09faa366fc1fcf967add0211fe8 (patch)
treece031702ba79d9039bb4f0843a8f056885ba94e4 /drivers/net/ixgbe/ixgbe_fcoe.h
parent4ea09c9caaebc98d06a39c435d4359912cfbb5e2 (diff)
downloadlinux-fsl-qoriq-68a683cf6a5ff09faa366fc1fcf967add0211fe8.tar.xz
ixgbe: add support to FCoE DDP in target mode
Add support to the ndo_fcoe_ddp_target() to allow the Intel 82599 device to also provide DDP offload capability when the upper FCoE protocol stack is operating as a target. Signed-off-by: Yi Zou <yi.zou@intel.com> Signed-off-by: Kiran Patil <kiran.patil@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
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 02a00d2..5a650a4 100644
--- a/drivers/net/ixgbe/ixgbe_fcoe.h
+++ b/drivers/net/ixgbe/ixgbe_fcoe.h
@@ -52,6 +52,9 @@
/* fcerr */
#define IXGBE_FCERR_BADCRC 0x00100000
+/* FCoE DDP for target mode */
+#define __IXGBE_FCOE_TARGET 1
+
struct ixgbe_fcoe_ddp {
int len;
u32 err;
@@ -66,6 +69,7 @@ struct ixgbe_fcoe {
u8 tc;
u8 up;
#endif
+ unsigned long mode;
atomic_t refcnt;
spinlock_t lock;
struct pci_pool *pool;