This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

[参考译文] TDA4VM:#39;ethtool -s eth1速度100和#39;不适用于 eth1

Guru**** 2553260 points


请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1184173/tda4vm-ethtool--s-eth1-speed-100-does-not-work-for-eth1

器件型号:TDA4VM

尊敬的专家

root@j7-evm:~# ethtool -s eth1 speed 100
netlink error: Operation not supported

eth1是虚拟 Mac 接口。

MPU_1_0 <->开关端口0:MPU_1_0_ethswitch-de
MPU_1_0 <-> MAC 端口4:MPU_1_0_ethmac-device-4

我无法通过 ethtoos 设置 eth1的速度。 原因是什么?

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    尊敬的 Ling:

    eth1是虚拟 交换机端口接口。

    >>我无法通过 ethtoos 设置 eth1的速度。 原因是什么?
    虚拟端口不支持速度设置。

    此外、eth1是交换机端口接口、因此我们无法指定接口的特定速度、因为它具有多个端口的组合/多路复用、并且每个端口的速度取决于 PHY 连接和链路伙伴。

    如果我们要更改任何端口的速度、则必须更改 ethfw (一次性配置)、也可以在链路伙伴端进行更改、因为所有以太网端口都启用了默认自动协商。

    此致、
    Sudheer

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    我明白了。 非常感谢您的回复。