各位,专家好!
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.
各位,专家好!
我确认一下,你做这个性能测试的时候,我们的双网口是工作在switch模式下,还是dual standalone MAC模式下?
http://processors.wiki.ti.com/index.php/AM335x_CPSW_(Ethernet)_Driver%27s_Guide
在dual standalone MAC 下,另外测试时间较长,在cpu长时间被大量的软中断占用时,有时候会出现网口down掉的现象,内核打印为
davince_mdio.0 : timeout for get useraccess.
PHY 0:01 :Link Down
输入 ip ad命令。显示1网口NO-CARRIER,但是网线在网口中,灯都亮。。。
这个现象感觉是mdio读写超时,PHY没有反映,但是此时重启eth设备ifconfig eth0 down/up,phy还是可以工作的(能ping通)
我想问问,内核打印这样的信息,到底是什么原因造成的,是表示mdio模块没反应了,还是PHY挂掉了?