Enabling GRO, TSO, and GSO
Purpose
The Hi1822 NICs support large receive offload (LRO). You can enable this function and set the LRO parameter properly.
Procedure
- Check whether the value of the LRO parameter is set to on. The default value is off. Assume that the current NIC name is enp131s0.
1ethtool -k enp131s0

- Enable LRO.
1 2 3 4 5
ethtool -K enp131s0 lro on ethtool -K enp131s0 gro on ethtool -K enp131s0 tso on ethtool -K enp131s0 gso on ifconfig enp131s0 mtu 9000 up
- Check whether the value of the LRO parameter is set to on.
1ethtool -k enp131s0

Parent topic: Hardware Tuning