Red Hat Training
A Red Hat training course is available for RHEL 8
36.2. 使用 NetworkManager 配置 ethtool 合并设置
您可以使用 NetworkManager 在连接配置集中设置 ethtool
coalesce 设置。
步骤
例如,要在
enp1s0
连接配置文件中将接收的数据包的最大数量设置为延迟到128
,请输入:# nmcli connection modify enp1s0 ethtool.coalesce-rx-frames 128
要删除合并设置,可将设置设为
ignore
。例如,要删除ethtool.coalesce-rx-frames
设置,请输入:# nmcli connection modify enp1s0 ethtool.coalesce-rx-frames ignore
重新激活网络配置集:
# nmcli connection up enp1s0
验证步骤
使用
ethtool -c
命令显示网络设备的当前卸载特性:# ethtool -c network_device