Rate This Document
Findability
Accuracy
Completeness
Readability

Adjusting the Ring Buffer

Purpose

The Hi1822 NIC ring buffer supports a maximum value of 4096. The default value is 1024. You can increase the value to increase the size of the NIC ring buffer.

Procedure

  1. Check the default size of the ring buffer, assuming that the current NIC name is enp131s0.
    1
    ethtool -g enp131s0
    

  2. Change the value of the ring buffer size to 4096.
    1
    ethtool -G enp131s0 rx 4096 tx 4096
    
  3. Check whether the value of the ring buffer size is updated successfully.
    1
    ethtool -g enp131s0