diff options
author | Yi Zou <yi.zou@intel.com> | 2012-03-16 00:18:54 +0000 |
---|---|---|
committer | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | 2012-03-17 02:06:49 -0700 |
commit | c98291ee1ceac03912e24b3219fa6e7dc0d52f5e (patch) | |
tree | 9a2e3cfbd64fe894a85c657198ed45f6cbf26e29 /drivers/isdn/hisax/l3dss1.c | |
parent | 0646819cd31786f4b024d0056f73adf460be40aa (diff) | |
download | linux-c98291ee1ceac03912e24b3219fa6e7dc0d52f5e.tar.gz linux-c98291ee1ceac03912e24b3219fa6e7dc0d52f5e.tar.bz2 linux-c98291ee1ceac03912e24b3219fa6e7dc0d52f5e.zip |
fcoe: use CHECKSUM_UNNECESSARY instead of CHECKSUM_PARTIAL on tx
Fix a bug when using 'ethtool -K ethx tx off' to turn off tx ip checksum,
FCoE CRC offload should not be impacte. The skb_checksum_help() is needed
only if it's not FCoE traffic for ip checksum, regardless of ethtool toggling
the tx ip checksum on or off. Instead of using CHECKSUM_PARTIAL, we will
use CHECKSUM_UNNECESSARY as a proper indication to avoid sw ip checksum
on FCoE frames.
Ref. to original discussion thread:
http://patchwork.ozlabs.org/patch/146567/
CC: "James E.J. Bottomley" <JBottomley@parallels.com>
CC: Robert Love <robert.w.love@intel.com>
Signed-off-by: Yi Zou <yi.zou@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/isdn/hisax/l3dss1.c')
0 files changed, 0 insertions, 0 deletions