ixgbe: work around for DDP last buffer size
authorAmir Hanania <amir.hanania@intel.com>
Tue, 15 Feb 2011 09:11:31 +0000 (09:11 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Thu, 17 Feb 2011 09:18:46 +0000 (01:18 -0800)
commitc600636bd560b04973174caa5e349a72bce51637
tree7cfc33d89af8a7da978a0dd39a4b47bcb815eefd
parent4c7e604babd15db9dca3b07de167a0f93fe23bf4
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>
drivers/net/ixgbe/ixgbe_fcoe.c
drivers/net/ixgbe/ixgbe_fcoe.h