aha/drivers/net/ixgbe
Yi Zou 17e78b0655 ixgbe: Do not return 0 in ixgbe_fcoe_ddp() upon FCP_RSP in DDP completion
We return the ddp->len in ixgbe_fcoe_ddp() to indicate the length of data that
have been DDPed. However, it is possible that the length is 0, e.g., for SCSI
READ, the FCP_RSP may come back w/ SCSI status 0x28 as Task Set Full with no FCP
data for DDP. In ixgbe_fcoe_ddp(), we return 0 to indicate not passing DDPed
packets to upper layer. Therefore in the case of ddp->len being 0 upon FCP_RSP,
we do not want to return the 0 ddp->len as we want FCP_RSP to be always
delivered to the upper layer. This patch fixes this bug by setting rc only if
ddp->len is non-zero.

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>
2009-08-13 20:13:22 -07:00
..
ixgbe.h ixgbe: Disable packet split only on FCoE queues in 82599 2009-08-09 21:45:36 -07:00
ixgbe_82598.c ixgbe: Patch to modify 82598 PCIe completion timeout values 2009-08-03 13:24:58 -07:00
ixgbe_82599.c ixgbe: Add FW detection and warning for 82599 SFP+ adapters 2009-06-07 05:20:26 -07:00
ixgbe_common.c ixgbe: Add FW detection and warning for 82599 SFP+ adapters 2009-06-07 05:20:26 -07:00
ixgbe_common.h ixgbe: Fix 82599 adapter link flickering issues 2009-06-07 05:20:19 -07:00
ixgbe_dcb.c ixgbe: Add DCB for 82599, remove BCN support 2009-03-01 00:24:35 -08:00
ixgbe_dcb.h ixgbe: Add DCB for 82599, remove BCN support 2009-03-01 00:24:35 -08:00
ixgbe_dcb_82598.c ixgbe: Allow link flow control in DCB mode for 82599 adapters 2009-05-17 21:04:13 -07:00
ixgbe_dcb_82598.h ixgbe: Update copyright dates, bump the driver version number 2009-02-01 01:19:20 -08:00
ixgbe_dcb_82599.c ixgbe: Fix 82599 adapter link flickering issues 2009-06-07 05:20:19 -07:00
ixgbe_dcb_82599.h ixgbe: Add DCB for 82599, remove BCN support 2009-03-01 00:24:35 -08:00
ixgbe_dcb_nl.c ixgbe: Enable FCoE offload when DCB is enabled for 82599 2009-07-23 11:05:30 -07:00
ixgbe_ethtool.c ixgbe: fix issues setting rx-usecs with legacy interrupts 2009-08-13 16:33:02 -07:00
ixgbe_fcoe.c ixgbe: Do not return 0 in ixgbe_fcoe_ddp() upon FCP_RSP in DDP completion 2009-08-13 20:13:22 -07:00
ixgbe_fcoe.h ixgbe: Include offloaded FCoE data into total rx/tx statistics for 82599 2009-06-09 05:25:37 -07:00
ixgbe_main.c ixgbe: Disable packet split only on FCoE queues in 82599 2009-08-09 21:45:36 -07:00
ixgbe_phy.c ixgbe: fix issues with failing to detect insert of unsupported module 2009-07-03 19:10:55 -07:00
ixgbe_phy.h ixgbe: Change Direct Attach Twinax cable detection for SFP+ NICs 2009-05-19 15:36:14 -07:00
ixgbe_type.h ixgbe: Patch to modify 82598 PCIe completion timeout values 2009-08-03 13:24:58 -07:00
Makefile ixgbe: Implement FCoE Tx side offload features in base driver of 82599 2009-05-17 12:00:04 -07:00