Linux内核支持ARP卸载
我正在尝试在Linux上启用DW XGMAC功能。 MAC支持ARP卸载功能,该功能基本上生成ARP回复数据包。我可以看到一个函数()在xgmac驱动程序中启用此功能。但是我无法找到调用此功能的方法。 Ethtool实用程序不支持ARP的卸载。 Linux内核是否支持这一点,如果是这样,如何启用它?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
目前无法从用户空间访问它。某些网络功能可能取决于注意到ARP请求。 自我测试演示了内核模块(或补丁)可用于实现用户空间激活。
您需要使SioarpBypass定义并传递IP地址以响应。如果节点响应多个地址,例如IPv6,则不会卸载。它仍然适用于该特定地址。
It is not currently accessible from user space. Some network features may depend on ARP requests being noted. The selftest demonstrates how a kernel module (or patch) could be used to implement user space activation.
You need to make the SIOARPBYPASS define and pass an IP address to respond to. It won't offload if the node responds to multiple addresses, such as IPv6. It still work for that particular address.