Enabling and disabling TCP segmentation offload
![]()
Offloading the TCP segmentation operation from the Linux® network stack to the adapter can lead to enhanced performance.
About this task
Procedure
Outbound (TX) checksumming and scatter gather are prerequisites for TCP
segmentation offload (TSO). You must turn on scatter gather and outbound checksumming before
configuring TSO.
All three options can be turned on or off with a single ethtool command of
the form:
# ethtool -K <interface_name> tx <value> sg <value> tso <value>where <value> is either on or off.
Examples
- To enable TSO for a network device eth0 issue:
# ethtool -K eth0 tx on sg on tso on
- To disable TSO for a network device eth0 issue:
# ethtool -K eth0 tx off sg off tso off