Hi,
We are using AM3352 processor and Linux Kernel 4.9.59 in our product and we have configured CPSW in Ethernet Switch Mode.
We want to use Link Layer Discovery Protocol (LLDP) to discover the topology in which our products are connected.
To achieve Topology Discovery using LLDP, Common Platform Ethernet Switch(CPSW) should behave as follow:
1> Any incoming LLDP packet received at Port 1 (Slave port 0) and Port 2(Slave Port 1) should be forwarded to Port 0(Host Port).
2> LLDP packet send from AM335x processor which gets received on CPSW Port 0 (Host port) should get forwarded to Port 1 and Port 2.
I am able to add LLDP multicast address in CPSW(using CONFIG_SWITCH_ADD_MULTICAST) to forward all incoming LLDP packet to Port 0(Host port). I have checked using wireshark that all incoming LLDP packet are getting forwarded to Port 0, But when I send LLDP packet from AM335x processor, I am not able to see LLDP packet on Port 1 and Port 2.
Is there a way to configure CPSW to behave as mention in point 1 and 2?
If yes then How to make CPSW behave as mentioned in point 1 and 2?
Regards
Rohit Savaliya