]> git.baikalelectronics.ru Git - kernel.git/commit
i40e: Fix bug with TCP over IPv6 over VXLAN
authorAnjali Singhai <anjali.singhai@intel.com>
Fri, 19 Dec 2014 02:58:16 +0000 (02:58 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Wed, 7 Jan 2015 01:15:03 +0000 (17:15 -0800)
commit1c28bc24821bacd0699144e8e829c8899c47dafc
tree93e459826fd36e04da21278d1358b86eed7cbe62
parentb543fdc491fbba2d3ab318c3111b624cbe953900
i40e: Fix bug with TCP over IPv6 over VXLAN

The driver was examining the outer protocol layer to set the inner protocol
layer checksum offload.  In the case of TCP over IPV6 over an IPv4 based
VXLAN the inner checksum offloads would be set to look for IPv4/UDP instead
of IPv6/TCP.  This code fixes that so that the driver will look at the
proper layer for encapsulation offload settings.

Signed-off-by: Anjali Singhai <anjali.singhai@intel.com>
Signed-off-by: Greg Rose <gregory.v.rose@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/i40e/i40e_txrx.c