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.
Tool/software:
Hi TI Team,
I am currently working with the AM625 EVK board, which has two Ethernet ports, and I have encountered a couple of issues that I need assistance with:
Ethernet Communication Between eth0 and eth1:
I attempted to establish communication between eth0
and eth1
by directly connecting them with an Ethernet cable. However, I am not receiving any data between the two ports. Could you please advise on why this might be happening or how I can set up communication between the two Ethernet ports on the AM625 EVK?
Reduced Speed with Both Ethernet Ports in Use:
I have configured both Ethernet ports to deliver a speed of 1 Gbps. When only one port is in use, I am able to achieve this speed without any issues. However, when both Ethernet ports are active, the speed seems to be reduced by approximately half. I have not found any documentation that addresses this behavior. Could you please provide insights into why this reduction in speed occurs and if there are any configurations or limitations that might be causing it?
Regards,
Abhishek
Hi Abhishek,
Thanks for your query.
Which SDK you are working on?
PROCESSOR-SDK-AM62X Software development kit (SDK) | TI.com
Can you share full console logs?
Regards
Ashwani
Hi Ashwani Goel,
Thanks for the reply.
I am using Yocto SDK 9.1.
Currently, I don't have the log but for the 1st query, I am simply connecting an ethernet cable from eth0 to eth1 and sending the ping from eth0 but it is not working,
For the second query, I am connecting both ports separately on separate laptops, Making laptop as a iperf server and boards as a client. When we use both port together speed is around 400-500mbps while if i use single port speed is more than 900mbps
Regards,
Abhishek Lakhara
Hi Ashwani,
Please find the below logs.
root@ACM1000:~# ifconfig eth0 Link encap:Ethernet HWaddr 34:08:E1:7E:91:C9 inet addr:192.168.0.224 Bcast:192.168.0.255 Mask:255.255.255.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:684 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:0 (0.0 B) TX bytes:29978 (29.2 KiB) eth1 Link encap:Ethernet HWaddr FE:4A:EE:EE:A6:AD inet addr:192.168.0.225 Bcast:192.168.0.255 Mask:255.255.255.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:30 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:0 (0.0 B) TX bytes:2606 (2.5 KiB) lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 inet6 addr: ::1/128 Scope:Host UP LOOPBACK RUNNING MTU:65536 Metric:1 RX packets:910 errors:0 dropped:0 overruns:0 frame:0 TX packets:910 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:95424 (93.1 KiB) TX bytes:95424 (93.1 KiB) root@ACM1000:~# ping -I eth0 192.168.0.225 PING 192.168.0.225 (192.168.0.225) from 192.168.0.224 eth0: 56(84) bytes of data. From 192.168.0.224 icmp_seq=1 Destination Host Unreachable From 192.168.0.224 icmp_seq=2 Destination Host Unreachable From 192.168.0.224 icmp_seq=3 Destination Host Unreachable From 192.168.0.224 icmp_seq=4 Destination Host Unreachable ^C --- 192.168.0.225 ping statistics --- 4 packets transmitted, 0 received, +4 errors, 100% packet loss, time 3050ms pipe 4 root@ACM1000:~# ping -I eth1 192.168.0.224 PING 192.168.0.224 (192.168.0.224) from 192.168.0.225 eth1: 56(84) bytes of data. From 192.168.0.225 icmp_seq=1 Destination Host Unreachable From 192.168.0.225 icmp_seq=5 Destination Host Unreachable From 192.168.0.225 icmp_seq=6 Destination Host Unreachable ^C --- 192.168.0.224 ping statistics --- 7 packets transmitted, 0 received, +3 errors, 100% packet loss, time 6122ms
Hi,
Could you please describe your test setup for the dual port test? Are you using iperf?
Best Regards,
Schuyler
Hi Schuyler Patton,
Please check my setup as below.
Currently, I am just testing with the ping command.
Regards,
Abhishek
Hello Abhishek,
This test setup looks to be for the Ethernet Communication Between eth0 and eth1 test case, correct?
For this test case, it was previously answered in https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1414060/am625-inquiry-regarding-ethernet-port-speed-behavior/5422122#5422122 that simply connecting eth0 and eth1 on the EVM together will not allow communication to flow between the two interfaces.
Additionally for the Reduced Speed with Both Ethernet Ports in Use test result, it was also answered in https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1414060/am625-inquiry-regarding-ethernet-port-speed-behavior/5416420#5416420 that this is expected when both Ethernet interfaces are in use at the same time. This is in part due to the received packets on both interfaces need to be handled by the same CPU cores so the performance of the interfaces limited by the CPU load.
I suggest trying to check the CPU load when this test is running with either htop or mpstat -P ALL 1. Let us know what you see for the CPU load when this test is running.
-Daolin