您的位置:首页 > 其它

zynq-7000系列基于zynq-zed的RGMII以太网控制器稳定性的问题

2017-03-08 09:24 1391 查看
zynq-7000系列基于zynq-zed的RGMII以太网控制器稳定性的问题

                              作者:卢浩  

                                    时间:2017.3.8

                                    转载请注明出处

             zynq7000的以太网控制器是买的cadence公司的ip,目前存在一些问题,大流量小包传输有可能会崩溃,但是这个并不常见,这主要是DMA控制器的bug,如果用户在使用过程中遇见以下打印信息,暂时可以先忽略过去,此时网卡会丢包,但是也可以勉强工作。

macb e000b000.ethernet eth0: DMA bus error: HRESP not OK

macb e000b000.ethernet eth0: DMA bus error: HRESP not OK

macb e000b000.ethernet eth0: DMA bus error: HRESP not OK

macb e000b000.ethernet eth0: DMA bus error: HRESP not OK

macb e000b000.ethernet eth0: DMA bus error: HRESP not OK

macb e000b000.ethernet eth0: DMA bus error: HRESP not OK

macb e000b000.ethernet eth0: DMA bus error: HRESP not OK

macb e000b000.ethernet eth0: DMA bus error: HRESP not OK

macb e000b000.ethernet eth0: DMA bus error: HRESP not OK

macb e000b000.ethernet eth0: DMA bus error: HRESP not OK

macb e000b000.ethernet eth0: DMA bus error: HRESP not OK

macb e000b000.ethernet eth0: DMA bus error: HRESP not OK

macb e000b000.ethernet eth0: DMA bus error: HRESP not OK

我们看一下此时网卡状态:

root@alvin:/work# ethtool eth0

Settings for eth0:

        Supported ports: [ TP MII ]

        Supported link modes:   10baseT/Half 10baseT/Full

                                100baseT/Half 100baseT/Full

                                1000baseT/Full

        Supported pause frame use: No

        Supports auto-negotiation: Yes

        Advertised link modes:  10baseT/Half 10baseT/Full

                                100baseT/Half 100baseT/Full

                                1000baseT/Full

        Advertised pause frame use: No

        Advertised auto-negotiation: Yes

        Link partner advertised link modes:  10baseT/Half 10baseT/Full

                                             100baseT/Half 100baseT/Full

                                             1000baseT/Full

        Link partner advertised pause frame use: Symmetric

        Link partner advertised auto-negotiation: Yes

        Speed: 1000Mb/s

        Duplex: Full

        Port: MII

        PHYAD: 0

        Transceiver: external

        Auto-negotiation: on

        Link detected: yes

root@alvin:/work#

这个PS自带的以太网控制器,用户可以作为调试使用,不建议在实际项目中作为通讯口。
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐