
Issue 11
© Solarflare Communications 2014
260
Solarflare Server Adapter
User Guide
TCP/IP Checksum Offload
Checksum offload moves calculation and verification of IP Header, TCP and UDP packet checksums
to the adapter. The driver by default has all checksum offload features enabled. Therefore, there is
no opportunity to improve performance from the default.
Checksum offload is controlled using ethtool:
Receive Checksum:
# /sbin/ethtool –K <vmnicX> rx <on|off>
Transmit Checksum:
# /sbin/ethtool –K <vmnicX> tx <on|off>
Verification of the checksum settings may be performed by running ethtool with the
–k
option.
Solarflare recommend you do not disable checksum offload.
For advice on configuring checksum offload in the guest, consult the relevant Solarflare section for
that guest, or the documentation for the guest operating system.
TCP Segmentation Offload (TSO)
TCP Segmentation offload (TSO) offloads the splitting of outgoing TCP data into packets to the
adapter. TCP segmentation offload benefits applications using TCP. Non TCP protocol applications
will not benefit (but will not suffer) from TSO.
Enabling TCP segmentation offload will reduce CPU utilization on the transmit side of a TCP
connection, and so improve peak throughput, if the CPU is fully utilized. Since TSO has no effect on
latency, it can be enabled at all times. The driver has TSO enabled by default. Therefore, there is no
opportunity to improve performance from the default.
TCP Large Receive Offload (LRO)
TCP Large Receive Offload (LRO) is a feature whereby the adapter coalesces multiple packets
received on a TCP connection into a single call to the operating system TCP Stack. This reduces CPU
utilization, and so improves peak throughput when the CPU is fully utilized.
LRO should not be enabled if you are using the host to forward packets from one interface to
another; for example if the host is performing IP routing or acting as a layer2 bridge.
LRO is supported, and enabled by default, on VMware versions later than ESX 3.5.
NOTE:
TSO cannot be controlled via the host on VMware ESX. It can only be controlled via the guest
Operating System.