i40e/i40evf: Fix TSO checksum pseudo-header adjustment
authorAlexander Duyck <aduyck@mirantis.com>
Fri, 18 Mar 2016 23:06:47 +0000 (16:06 -0700)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Wed, 6 Apr 2016 03:34:51 +0000 (20:34 -0700)
commit24d41e5e2c9afe99b0584832206ba8779dfb783e
treecf18a35e0ceb40114c2cde254ec47d230056fd5c
parent066439ce791b5d8533556a89836c0849589c2b41
i40e/i40evf: Fix TSO checksum pseudo-header adjustment

With IPv4 and IPv6 now using the same format for checksums based on the
length of the frame we need to update the i40e and i40evf drivers so that
they correctly account for lengths greater than or equal to 64K.

With this patch the driver should now correctly update checksums for frames
up to 16776960 in length which should be more than large enough for all
possible TSO frames in the near future.

Signed-off-by: Alexander Duyck <aduyck@mirantis.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/i40e/i40e_txrx.c
drivers/net/ethernet/intel/i40evf/i40e_txrx.c