近期遇到一个自定义报文传输性能问题,解决过程中借助了ethtool这个工具,因此发掘一下与此工具相关的网卡的一些特性. ethtool 常用命令如下,比如对eth0的操作: ethtool eth0 //查询ethx网口基本设置,其中 x 是对应网卡的编号,如eth0.eth1等等 ethtool –h //显示ethtool的命令帮助(help) ethtool –i eth0 //查询eth0网口的相关信息 ethtool –d eth0 //查询eth0网口注册性信息 ethtool –r…