最新消息:

ifcfg-ethX ETHTOOL_OPTS

network admin 13152浏览 0评论

 

 # ethtool -g eth3
Ring parameters for eth3:
Pre-set maximums:
RX: 4096
RX Mini: 0
RX Jumbo: 0
TX: 4096
Current hardware settings:
RX: 256
RX Mini: 0
RX Jumbo: 0
TX: 256

 

 # ethtool -k eth3 | grep generic-receive-offload
generic-receive-offload: on
# cat /etc/sysconfig/network-scripts/ifcfg-eth3 | grep ETHT
ETHTOOL_OPTS="-K ${DEVICE} gro off" 
ETHTOOL_OPTS="${ETHTOOL_OPTS} ; -G ${DEVICE} rx 4096 " 
ETHTOOL_OPTS="${ETHTOOL_OPTS} ; -G ${DEVICE} tx 4096 "

 

# /etc/init.d/network restart 

# ethtool -g eth3
Ring parameters for eth3:
Pre-set maximums:
RX: 4096
RX Mini: 0
RX Jumbo: 0
TX: 4096
Current hardware settings:
RX: 4096
RX Mini: 0
RX Jumbo: 0
TX: 4096
# ethtool -k eth3 | grep generic-receive-offload
generic-receive-offload: off

 

转载请注明:爱开源 » ifcfg-ethX ETHTOOL_OPTS

您必须 登录 才能发表评论!