如 this question ,我正在查看 ethtool -k eth0
的输出,我看到有些东西被标记为“[固定]”:
rx-checksumming: off [fixed]
tx-checksumming: off
tx-checksum-ipv4: off [fixed]
tx-checksum-ip-generic: off
tx-checksum-ipv6: off [fixed]
tx-checksum-fcoe-crc: off [fixed]
tx-checksum-sctp: off [fixed]
我知道这意味着它们无法更改,但我无法弄清楚它来自哪里 --- 它是否已编译到我的内核中?
最佳答案
这些功能是开/关和固定或可调取决于:
示例:许多以太网芯片具有可以减轻(卸载)软件工作的功能,但内核维护人员不愿意使用这些功能。请参阅此处有关 TCP 卸载的“原因”:
http://www.linuxfoundation.org/collaborate/workgroups/networking/toe
无论如何,这不应该让您担心。看例如:
rx-checksumming: off [fixed]
...并不意味着您不会有 rx 校验和,这只是意味着它将由以太网驱动程序代码之外的内核代码完成。
关于networking - ethtool 输出中的 [fixed] 来自哪里?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/34956947/