网卡点灯是最让我兴奋的命令,在进入机房时能帮助我找网卡所插位置
ethtool --identify eth2 20
看到很多网络接口的offload特性:
ethtool -k eth_name
控制开关 以下为打开,关闭GRO,GSO,TSO
sudo ethtool -K em2 gro on
sudo ethtool -K em2 gso on
sudo ethtool -K em2 tso on
sudo ethtool -K em2 gro off
sudo ethtool -K em2 gso off
sudo ethtool -K em2 tso off