aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ixgbe/ixgbe_fcoe.h
diff options
context:
space:
mode:
authorAmir Hanania <amir.hanania@intel.com>2011-02-15 09:11:31 +0000
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>2011-02-17 01:18:46 -0800
commitc600636bd560b04973174caa5e349a72bce51637 (patch)
tree7cfc33d89af8a7da978a0dd39a4b47bcb815eefd /drivers/net/ixgbe/ixgbe_fcoe.h
parentixgbe: fix panic due to uninitialised pointer (diff)
downloadlinux-dev-c600636bd560b04973174caa5e349a72bce51637.tar.xz
linux-dev-c600636bd560b04973174caa5e349a72bce51637.zip
ixgbe: work around for DDP last buffer size
A HW limitation was recently discovered where the last buffer in a DDP offload cannot be a full buffer size in length. Fix the issue with a work around by adding another buffer with size = 1. Signed-off-by: Amir Hanania <amir.hanania@intel.com> Tested-by: Ross Brattain <ross.b.brattain@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to '')
-rw-r--r--drivers/net/ixgbe/ixgbe_fcoe.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/ixgbe/ixgbe_fcoe.h b/drivers/net/ixgbe/ixgbe_fcoe.h
index 4bc2c551c8db..65cc8fb14fe7 100644
--- a/drivers/net/ixgbe/ixgbe_fcoe.h
+++ b/drivers/net/ixgbe/ixgbe_fcoe.h
@@ -70,6 +70,8 @@ struct ixgbe_fcoe {
spinlock_t lock;
struct pci_pool *pool;
struct ixgbe_fcoe_ddp ddp[IXGBE_FCOE_DDP_MAX];
+ unsigned char *extra_ddp_buffer;
+ dma_addr_t extra_ddp_buffer_dma;
};
#endif /* _IXGBE_FCOE_H */