summaryrefslogtreecommitdiff
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 (GMT)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>2011-02-17 09:18:46 (GMT)
commitc600636bd560b04973174caa5e349a72bce51637 (patch)
tree7cfc33d89af8a7da978a0dd39a4b47bcb815eefd /drivers/net/ixgbe/ixgbe_fcoe.h
parent4c7e604babd15db9dca3b07de167a0f93fe23bf4 (diff)
downloadlinux-fsl-qoriq-c600636bd560b04973174caa5e349a72bce51637.tar.xz
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 'drivers/net/ixgbe/ixgbe_fcoe.h')
-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 4bc2c55..65cc8fb 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 */