我的网卡驱动程序不支持硬件LRO,但在驱动程序中模拟LRO。现在可以使用'ethtool -k ethx GRO off‘禁用gro (这是linux的一个网络堆栈特性)。这也适用于LRO吗?我知道大多数发行版要么有LRO,要么有GRO。那么,如果使用ethtool禁用了LRO,这是否意味着关闭硬件LRO功能或我在驱动程序中所做的LRO仿真功能?
发布于 2011-05-26 12:59:04
是的,如果你的ethtool足够新的话。
在我的Ubuntu机器(Natty Narwhal)上,"man ethtool“和"ethtool --help”显示LRO就像GRO一样被控制;
ethtool -K ethX lro off运行"ethtool --help | grep lro“查看您的系统是否支持它。
发布于 2011-05-26 12:59:30
ethtool -k ethx lro off它应该会阻止系统执行lro。然而,许多仍然使用LRO的驱动程序已经崩溃,并且不支持ethtool。
http://www.spinics.net/lists/netdev/msg149013.html
https://stackoverflow.com/questions/6133781
复制相似问题