We've had our 8148 design up and running for a few months now. When connected to a native 1000base switch at speeds of 10, 100 or 1000 we operate with no errors detected. But when we connect to a native 100base switch we autonegotiate 100base speed, but when we perform some simple FTP tests we are getting alot of tx_dropped statistics that appear to be generated by a TX DMA error called desc_alloc_fail. We also notice decreased throughput when this occurs, particularly when transmitting files.
In looking at the TI supplied Linux code it appears that there is 8kb of TX buffer space which get sliced up into a TX buffer pool, and apparently, it is this pool that is running our of buffers that causes this desc_alloc_fail statistic.
Why is this occurring and what might the cause of this be?
The statistics come rom the following locations running under Linux:
/sys/devices/platform/cpsw.0/net/eth0/hw_stats
/sys/devices/platform/cpsw.0/net/eth0/statistics/rx_packets
/sys/devices/platform/cpsw.0/net/eth0/statistics/rx_bytes
/sys/devices/platform/cpsw.0/net/eth0/statistics/rx_dropped
/sys/devices/platform/cpsw.0/net/eth0/statistics/tx_packets
/sys/devices/platform/cpsw.0/net/eth0/statistics/tx_bytes
/sys/devices/platform/cpsw.0/net/eth0/statistics/tx_dropped