]> git.baikalelectronics.ru Git - kernel.git/commit
igb/igbvf: Add support for GSO partial
authorAlexander Duyck <aduyck@mirantis.com>
Thu, 14 Apr 2016 21:19:38 +0000 (17:19 -0400)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Fri, 13 May 2016 22:26:37 +0000 (15:26 -0700)
commit40d8dc3ebe2988d7383f3556c119dca7d6bec7ad
treef6aa6d407abe1526e7eda2b63d35f25503f5dfc9
parent2ab28277ba8c643755f749938d0a3a0ec501d4b4
igb/igbvf: Add support for GSO partial

This patch adds support for partial GSO segmentation in the case of
tunnels.  Specifically with this change the driver an perform segmentation
as long as the frame either has IPv6 inner headers, or we are allowed to
mangle the IP IDs on the inner header.  This is needed because we will not
be modifying any fields from the start of the start of the outer transport
header to the start of the inner transport header as we are treating them
like they are just a block of IP options.

Signed-off-by: Alexander Duyck <aduyck@mirantis.com>
Tested-by: Aaron Brown <aaron.f.brown@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/igb/igb_main.c
drivers/net/ethernet/intel/igbvf/netdev.c