]> git.baikalelectronics.ru Git - kernel.git/commit
igc: Add GSO partial support
authorSasha Neftin <sasha.neftin@intel.com>
Mon, 10 Feb 2020 07:04:15 +0000 (09:04 +0200)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Fri, 17 Apr 2020 17:19:23 +0000 (10:19 -0700)
commitb85b3b2d3e68fb7bda32b92ea3e87e8531d2aa7d
tree0d80ded91681a4744a1cfe7d4a746efc8271ac50
parent98d18507caff61f42d17cb605b21969dd98f71d8
igc: Add GSO partial support

Partial generic segmentation offload is a hybrid between TSO and GSO.
What is effectively does is take advantage of certain traits of TCP and
tunnels so that instead of having to rewrite the packet headers for each
segment only in the inner-most transport header and possible the outer-most
network header need to be updated.
This allows devices that do not support tunnel offload or tunnels
offloads with checksum to still make use of segmentation.

Signed-off-by: Sasha Neftin <sasha.neftin@intel.com>
Tested-by: Aaron Brown <aaron.f.brown@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/igc/igc_main.c