Rate This Document
Findability
Accuracy
Completeness
Readability

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

  1. 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.
    1
    ethtool -k enp131s0
    

  2. 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
    
  3. Check whether the value of the LRO parameter is set to on.
    1
    ethtool -k enp131s0