Part Number: PROCESSOR-SDK-AM57X
Tool/software: Linux
Hi,
We are having an issue with packet storms on the phyCORE AM57x in the following scenario:
The AM57x is in dual emac mode.
eth0 and eth1 are bonded and tagged with VLANs 3329 and 3330, and the bond itself is also tagged with an additional VLAN 3331.
The used kernel is 4.4.32-phy1, patched with only git.kernel.org/.../cpsw.c
What happens:
In situations where a MAC is unknown and flooded to the connected devices, the AM57x end device creates a packet storm of ICMP echo requests.
TCP dump logs from an end device, where 10.254.31.12 is the IP of SERVER:
13:39:35.259440 IP 10.254.31.12 > 10.254.31.222: ICMP echo request, id 31372, seq 1, length 64
13:39:35.259507 IP 10.254.31.12 > 10.254.31.222: ICMP echo request, id 31372, seq 1, length 64
13:39:35.259574 IP 10.254.31.12 > 10.254.31.222: ICMP echo request, id 31372, seq 1, length 64
13:39:35.259641 IP 10.254.31.12 > 10.254.31.222: ICMP echo request, id 31372, seq 1, length 64
13:39:35.259707 IP 10.254.31.12 > 10.254.31.222: ICMP echo request, id 31372, seq 1, length 64
Additionally, the location of SERVER (7a42-0afe-1f49) hops between ports hundreds of times.
Switch Logs:
MAC address 7a42-0afe-1f49 in VLAN 3331 has moved from port GE1/0/19 to port GE1/0/20 for 808 times.
MAC address 7a42-0afe-1f49 in VLAN 3331 has moved from port GE1/0/19 to port GE1/0/22 for 795 times.
MAC address 7a42-0afe-1f49 in VLAN 3331 has moved from port GE1/0/22 to port GE1/0/19 for 790 times.
MAC address 7a42-0afe-1f49 in VLAN 3331 has moved from port GE1/0/20 to port GE1/0/22 for 780 times.
Steps to Reproduce:
1. On Server, manually add an arp entry for an IP address and MAC address that both do not exist on the network
arp -s 10.254.31.222 7a:42:0a:fe:1f:de
2. From Server, ping the newly added IP address
ping 10.254.31.222
ARP table on Server contains new entry, where macvlandata0 is tagged with VLAN 3331:
Address HWtype HWaddress Flags Mask Iface
10.254.31.222 ether 7a:42:0a:fe:1f:de CM macvlandata0
This issue does not seem to occur with no VLAN on top of the bond itself.
Below is a network diagram should it be helpful. I have also attached our network configuration.
I am not sure if this issue is somehow related to
(Please visit the site to view this file)
Thank you in advance for your assistance,
Richard Roth
MAC address 7a42-0afe-1f49 in VLAN 3331 has moved from port GE1/0/19 to port GE1/0/20 for 808 times.
MAC address 7a42-0afe-1f49 in VLAN 3331 has moved from port GE1/0/19 to port GE1/0/22 for 795 times.
MAC address 7a42-0afe-1f49 in VLAN 3331 has moved from port GE1/0/22 to port GE1/0/19 for 790 times.
MAC address 7a42-0afe-1f49 in VLAN 3331 has moved from port GE1/0/20 to port GE1/0/22 for 780 times.