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.

[参考译文] Linux/AM3352:CPSW 端口连接到以太网交换机

Guru**** 2589300 points


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

https://e2e.ti.com/support/processors-group/processors/f/processors-forum/641943/linux-am3352-cpsw-port-connected-to-ethernet-switch

器件型号:AM3352

工具/软件:Linux

AM335x (CPSW)的内部以太网交换机连接到3端口以太网交换机芯片(一个端口面向 AM335x、两个外部端口)。  

这是 cpsw 内核驱动程序的一个问题,因为该驱动程序将始终根据 phy 状态调整 Mac 速度/双工(请参阅:drivers/net/ti/cpsw.c:_cpsw_adjust_link ())。

在我们的情况下、无论 PHY 处于什么状态、面向 cpsw 的交换机端口将始终为100/Full。

AM335x 如何处理此用例?

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

    遗憾的是、TI 目前不支持连接到 MAC 接口上的外部开关。 我只能提出一些建议。 首先、当连接到外部开关时、MAC 和开关之间的 PHY 模式应是固定模式、因为链路始终存在。 我认为您需要与交换机制造商核实交换机驱动程序的分布式交换机架构支持。