igc: Add support for TSO
Subsystems (2)
PATCH 1/1 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.
--- drivers/net/ethernet/intel/igc/igc_defines.h | 4 + drivers/net/ethernet/intel/igc/igc_main.c | 113 ++++++++++++++++++++++++++- 2 files changed, 116 insertions(+), 1 deletion(-)
drivers/net/ethernet/intel/igc/igc_defines.h +4 -0
@@ -282,6 +282,10 @@#define IGC_TXD_STAT_TC 0x00000004/* Tx Underrun */ #define IGC_TXD_EXTCMD_TSTAMP 0x00000010/* IEEE1588 Timestamp packet */ +/* IPSec Encrypt Enable */ +#define IGC_ADVTXD_L4LEN_SHIFT 8/* Adv ctxt L4LEN shift */ +#define IGC_ADVTXD_MSS_SHIFT 16/* Adv ctxt MSS shift */ +/* Transmit Control */ #define IGC_TCTL_EN 0x00000002/* enable Tx */ #define IGC_TCTL_PSP 0x00000008/* pad short packets */
drivers/net/ethernet/intel/igc/igc_main.c +112 -1
147 lines not on this page · raw message
Signature · 1 line
2.11.0
Brown
PATCH 1/1 igc: Add support for TSO
Quoted 11 lines
From: Intel-wired-lan <[email protected]> On Behalf Of Sasha Neftin
Sent: Sunday, January 5, 2020 4:21 AM
To: intel-wired-lan at lists.osuosl.org
Subject: [Intel-wired-lan] [PATCH v1] igc: Add support for TSOTCP 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.
Quoted 7 lines
Signed-off-by Sasha Neftin <[email protected]>--- drivers/net/ethernet/intel/igc/igc_defines.h | 4 + drivers/net/ethernet/intel/igc/igc_main.c | 113 ++++++++++++++++++++++++++- 2 files changed, 116 insertions(+), 1 deletion(-)