Simon Conway(deleted)
|
devnp mx51 mx53 driver packet loss
|
Simon Conway(deleted)
08/05/2013 10:19 AM
post103949
|
devnp mx51 mx53 driver packet loss
Hi,
I am experiencing packet loss problems with ping. I do the following immediately after boot...
io-pkt-v4 -i1 -d mx53 mac=00049fcc9ab5
ifconfig fec0 192.168.128.161
ping 192.168.128.1
ping reports 4% packet loss. I have a PC connected to the board with an ethernet cable. Each end has a static ip address
.
I have used verbose=10 and can see that all ICMP echo request packets are being transmitted correctly (packet is dumped)
. The FEC mib counters indicate the correct number of packets as well. There are no errors shown with nicinfo. Also
looked the FEC registers themselves - no errors. Turned on and logged error interrupts - no errors. Also used tcpdump to
verify transmitted packets.
Using a packet sniffer at a PC I can see successful ICMP echo request packets received for which an echo response is
returned. The board receives every ICMP echo response sent by the PC.
Also at the PC I see packets grouped as non-IP packets. There is a non-IP packet for every missing ICMP echo request
packet sent.
I have also slayed virtually every other process that I can and tried increasing the driver thread priority. Also tried
same cable and PC setup with asix usb network driver successfully.
My investigation indicates that the transmit packets are being corrupted. Before I start looking for hardware issues I
thought I would check if my minimal setup is adequate.
Do I need to configure anything else for a basic ping? I guessnot as this is all I do when using the asix driver.
Anyone using the devnp mx51 or mx53 driver succesfully or experienced similar issues?
I also modified the driver to use MII mode (instead of RMII mode). One line change.
Thanks in advance for any help.
Simon
|
|
|