Net.UseHwTSO
parameter for IPv4 to 1 to enable TSO, or to 0 to disable TSO./Net/UseHwTSO
advanced parameter to 1 to enable TSO, or to 0 to disable TSO by running a console command:On ESX/ESXi 4.x hosts:
esxcfg-advcfg -s 1 /Net/UseHwTSO
esxcfg-advcfg -s 0 /Net/UseHwTSO
On ESXi 5.x and 6.x hosts:esxcli system settings advanced set -o /Net/UseHwTSO -i 1
esxcli system settings advanced set -o /Net/UseHwTSO -i 0
On ESX/ESXi 4.x hosts:esxcfg-advcfg -g /Net/UseHwTSO
On ESXi 5.x and 6.x hosts:esxcli system settings advanced list -o /Net/UseHwTSO
Int Value
property is equal to 1.ethtool
console command:ethtool -K ethY tso on
ethY
is the sequence number of the NIC in the virtual machine. For more information, see below.Note: Rx checksum offload should be enabled in the virtual machine when using LRO.
Net.Vmxnet2HwLRO
and Net.Vmxnet3HwLRO
parameters to 1 to enable hardware LRO, or to 0 to disable hardware LRO.esxcfg-advcfg -s
(ESX/ESXi 4.x) or esxcli system settings advanced set
(ESXi 5.0 and later) command to set the /Net/Vmxnet2HwLRO
and /Net/Vmxnet3HwLRO
parameters to 1 to enable LRO, or to 0 to disable LRO. For example, to enable hardware LRO for VMXNET3 adapters, run the command:
On ESX/ESXi 4.x hosts:esxcfg-advcfg -s 1 /Net/Vmxnet3HwLRO
On ESXi 5.x and 6.x hosts:esxcli system settings advanced set -o /Net/Vmxnet3HwLRO -i 1
To enable or disable hardware LRO on the physical NIC for VMXNET2 and VMXNET3 adapters of virtual machines:
esxcfg-advcfg -g
(ESX/ESXi 4.x) or esxcli system settings advanced list
(ESXi 5.0 and later) command:/Net/Vmxnet2HwLRO
or /Net/Vmxnet3HwLRO
parameters:
On ESX/ESXi 4.x hosts:esxcfg-advcfg -g /Net/Vmxnet2HwLRO
esxcfg-advcfg -g /Net/Vmxnet3HwLRO
On ESXi 5.x and 6.x hosts:esxcli system settings advanced list -o /Net/Vmxnet2HwLRO
esxcli system settings advanced list -o /Net/Vmxnet3HwLRO
Int Value
property is equal to 1.Net.Vmxnet2SwLRO
and Net.Vmxnet3SwLRO
parameters to 1 to enable LRO, or to 0 to disable LRO./Net/Vmxnet2SwLRO
and /Net/Vmxnet3SwLRO
parameters to 1 to enable LRO, or to 0 to disable LRO.Net.TcpipDefLROEnabled
to 1 to enable LRO or to 0 to disable it./Net/TcipDefLROEnabled
to 1 to enable LRO or to 0 to disable it. For example, to disable LRO for the TCP/IP stack on the host:esxcfg-advcfg -s 0 /Net/TcpipDefLROEnabled
esxcli system settings advanced set -o /Net/TcpipDefLROEnabled -i 0
esxcfg-advcfg -g
(ESX/ESXi 4.x) or esxcli system settings advanced list
(ESXi 5.0 and later) command:esxcfg-advcfg -g /Net/TcpipDefLROEnabled
Net.VmxnetLROMaxLength
parameter in the vSphere Web Client or the /Net/VmxnetLROMaxLength
parameter in the esxcli system settings advanced set
console command on the host.ethY
represents the sequence number of the NIC in the virtual machine.ethtool -K ethY lro on
ethtool -K ethY lro off
modprobe vmxnet3 disable_lro=0
modprobe vmxnet disable_lro=0
modprobe vmxnet3 disable_lro=1
modprobe vmxnet disable_lro=1
/etc/rc.local
file in a text editor and add these two lines to the file for VMXNET or VMXNET3 driver:rmmod vmxnet
modprobe vmxnet disable_lro=1
rmmod vmxnet3
modprobe vmxnet3 disable_lro=1
Tx TSO Status | TCP Packet Segmentation Location |
Enabled | Transmitting physical NIC |
Disabled | Guest operating system |
Rx LRO Status | TCP Packet Aggregation Location |
Enabled | Receiving physical NIC if it supports LRO Receiving virtual machine NIC backend if the physical NIC does not support LRO |
Disabled | TCP packets are not aggregation |
Tx TSO Status | TCP Segmentation Location |
Enabled | Transmitting virtual machine NIC sends TSO size packets |
Disabled | Guest operating system |
Rx LRO Status | TCP Packet Aggregation Location |
Enabled | Receiving virtual machine NIC |
Disabled | TCP packets are not aggregated |
LRO on Windows is called Receive Segment Coalescing (RSC). It was introduced in Windows 8 / Windows Server 2012. LRO/RSC is supported for the Windows with VMXNET3 driver was supported from version vSphere 6.0 and Virtual Machine hardware version 11.