是 /sys/class/net/eth0/speed 接口的出口或入口或组合速度

Is /sys/class/net/eth0/speed egress or ingress or combined speed of interface

我想知道 linux 中的速度 /sys/class/net/eth0/speed 值指的是什么? /sys/class/net/eth0/speed 接口的出口或入口或组合速度

在下面得到了我自己的答案link https://serverfault.com/questions/1019024/is-the-total-bandwidth-for-a-typical-nic-switch-connection-full-duplex

/sys/class/net/eth0/speed 中的值分别用于出口和入口路径。意味着如果它说 10Mbps 那么你将获得 10Mbps 的出口和 10Mbps 的入口