]> git.baikalelectronics.ru Git - kernel.git/commit
ixgbe/ixgbevf: Add support for GSO partial
authorAlexander Duyck <aduyck@mirantis.com>
Thu, 14 Apr 2016 21:19:31 +0000 (17:19 -0400)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Mon, 25 Apr 2016 11:45:21 +0000 (04:45 -0700)
commit397ad99678b6e0742668683be8350b19d533cbe7
tree9e6e3935c011062c60b3f1140a786f984aeb951c
parent041d11d4b349a58e185127a33e693246014ae1e6
ixgbe/ixgbevf: 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: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/ixgbe/ixgbe_main.c
drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c