OSDN Git Service

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)
commit34428dff3679f0c4c9b185ff8eccefd12a7f55f8
tree0d80ded91681a4744a1cfe7d4a746efc8271ac50
parent2fcd80144b93ff90836a44f2054b4d82133d3a85
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