igc: Add support for TSO
authorSasha Neftin <sasha.neftin@intel.com>
Sun, 5 Jan 2020 12:20:53 +0000 (14:20 +0200)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Fri, 17 Jan 2020 17:55:34 +0000 (09:55 -0800)
commitf38b782dccabb2ada5c5b3c0dfb5ef0758a67ce0
treea6319682a2305fb582d8828e850256b0b95a8e67
parent0e7d4b93b0de94386be44d2a7ffa417a5c4adc1b
igc: Add support for TSO

TCP segmentation offload allows a device to segment a single frame
into multiple frames with a data payload size specified in socket buffer.
As a result we can now send data approximately up to seven percents fast
than was previously possible on my system.

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_defines.h
drivers/net/ethernet/intel/igc/igc_main.c