]> 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)
commit0f48a278078bf1f170c9a6bd8bf1f3ec483b54d3
tree9e6e3935c011062c60b3f1140a786f984aeb951c
parentaf415d023ae0a314869fd590aba25e4ea7d9d9c1
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