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.

TDA4VM: TDA4 drop packet when ping PC

Part Number: TDA4VM


Dear Experts :

we design new ethernet T1 phy chip (Marvel 88Q1110)  for CPSW9G  switch on our customer TDA4 board, The PC and the board are connected to the same switch. 

my question is :

1. TDA4 drop packet when ping PC sometime? PC ip:192.168.0.5, eth1 ip:192.168.0.12 

root@j7-evm:~#
root@j7-evm:~# ping 192.168.0.5
PING 192.168.0.5 (192.168.0.5): 56 data bytes
64 bytes from 192.168.0.5: seq=5 ttl=64 time=197.421 ms
64 bytes from 192.168.0.5: seq=6 ttl=64 time=0.368 ms
64 bytes from 192.168.0.5: seq=7 ttl=64 time=0.365 ms
^C
--- 192.168.0.5 ping statistics ---
8 packets transmitted, 3 packets received, 62% packet loss
round-trip min/avg/max = 0.365/66.051/197.421 ms
root@j7-evm:~# ifconfig
docker0: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500 metric 1
inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255
ether 02:42:f2:c7:69:e6 txqueuelen 0 (Ethernet)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

eth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 metric 1
inet 192.168.0.12 netmask 255.255.255.0 broadcast 192.168.0.255
inet6 fe80::72ff:76ff:fe1d:92c1 prefixlen 64 scopeid 0x20<link>
ether 70:ff:76:1d:92:c1 txqueuelen 1000 (Ethernet)
RX packets 108 bytes 9710 (9.4 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 170 bytes 15660 (15.2 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536 metric 1
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10<host>
loop txqueuelen 1000 (Local Loopback)
RX packets 82 bytes 6220 (6.0 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 82 bytes 6220 (6.0 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

  • Veitch, 

    Not sure if you have further progress on this issue. otherwise, please check the following debug methods:

    1. directly connect the board to the PC, without the switch and see if packet loss still happens

    2. please use ethtool -S  to grab report with keyword "good", we like to see where the packets were dropped. 

    jian