Other Parts Discussed in Thread: TLK110
Hi,
I'm working on the ICEv2.1 eval board. I'm working with a fairly high Ethernet traffic (25 Mb/s one port, 5mb/s on the other port) with the CPSW in dual MAC mode but with the ALE configured to automatically forward multicast frames from port 2 to port 1.
I'm getting packet loss which I *think* is due to port FIFO overruns, but I'm looking at the statistics and seeing some very strange stuff.
1. I see collisions (single collisions, late collisions, deferred tx frames) which should be impossible because both ports are connected on full duplex links (one port is connected to a switch, the other to a PC, both in forced full duplex, both reporting full duplex, and both PHYs on the ICEv2 reporting full duplex).
2. On port 0, with only port 0 statistics enabled, I see many Rx SoF overruns and DMA overruns, but every other statistic is zero. How can this be? Many frames are received successfully so I'd expect to see some data in Net octets. the attached a screenshot of this. Even though the statistics say no transmissions were made, I was successfully receiving 500 frames per second and I could see this with Wireshark running on a PC.
3. Even though I see Rx SoF and DMA overruns, there are always at least 3 unused buffer descriptors in the DMA queue.
Can I trust the statistics?