linux_dsm_epyc7002/drivers/net/ethernet/intel
Alexander Duyck c54cdc316d ixgbe/ixgbevf: Don't use lco_csum to compute IPv4 checksum
In the case of IPIP and SIT tunnel frames the outer transport header
offset is actually set to the same offset as the inner transport header.
This results in the lco_csum call not doing any checksum computation over
the inner IPv4/v6 header data.

In order to account for that I am updating the code so that we determine
the location to start the checksum ourselves based on the location of the
IPv4 header and the length.

Fixes: b83e30104b ("ixgbe/ixgbevf: Add support for GSO partial")
Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2016-12-01 15:41:36 -05:00
..
e1000 Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2016-04-09 17:41:41 -04:00
e1000e ptp_clock: future-proofing drivers against PTP subsystem becoming optional 2016-09-22 02:18:33 -04:00
fm10k fm10k: wrap long line for alloc_workqueue 2016-10-02 23:17:38 -07:00
i40e i40e: fix call of ndo_dflt_bridge_getlink() 2016-10-27 14:12:52 -07:00
i40evf i40evf: support queue-specific settings for interrupt moderation 2016-09-24 22:50:23 -07:00
igb igb/igbvf: Don't use lco_csum to compute IPv4 checksum 2016-12-01 15:41:35 -05:00
igbvf igb/igbvf: Don't use lco_csum to compute IPv4 checksum 2016-12-01 15:41:35 -05:00
ixgb drivers/net: get rid of unnecessary initializations in .get_drvinfo() 2015-10-16 00:24:10 -07:00
ixgbe ixgbe/ixgbevf: Don't use lco_csum to compute IPv4 checksum 2016-12-01 15:41:36 -05:00
ixgbevf ixgbe/ixgbevf: Don't use lco_csum to compute IPv4 checksum 2016-12-01 15:41:36 -05:00
e100.c e100: Release skb when DMA mapping is failed in e100_xmit_prepare 2015-08-18 14:06:05 -07:00
Kconfig ixgbe: Replace ndo_add/del_vxlan_port with ndo_add/del_udp_enc_port 2016-06-17 20:23:30 -07:00
Makefile fm10k: Add skeletal frame for Intel(R) FM10000 Ethernet Switch Host Interface Driver 2014-09-23 03:59:13 -07:00