Hi,
now I'm working on C6670 EVM PA module in which I have this problem. The setup is:
PC --> sgmii-1 --> host/evm
switch_0 = 00:01:02:03:04:05
sgmii-1 = 20:21:22:23:24:25
For this workaround, I'm currently using PA_emacExample with ALE enabled. This setup enabled UDP packet Tx/Rx from external host (PC) to the EVM. Next, I want to send UDP stream packet from VLC (from PC) to EVM and it seemed that in Wireshark, obviously there's a ARP request which need to be replied by the EVM. So, I need EVM to be able to receive ARP packet (ethertype 0x0806) and forward the packet directly to the host.
On Setup_PASS::Add_MACAddress, I already changed the ethertype on paEthInfo_t ethInfo to 0x0806 and to ignore the MAC address of ARP request source (00:00:00:00:00:00). For the destination MAC address of the ARP request, statically set on 00:01:02:03:04:05 instead of broadcast FF:FF:FF:FF:FF:FF so that the packet will behave likely the UDP ones. We can say that the ARP request packet have a same MAC header with the UDP packet successfully ran before.
For paRouteInfo_t routeInfo, also I already set the packet route directly to host (pa_DEST_HOST) instead of LUT1 parsing.
I just want this packet triggers the interrupt like normal UDP packet did. When the ISR being called, i will send the ARP reply.
Looking forward for any suggestion and solution.
Regards,
Aditya