Hi TI expert,
My project use sdk8.2 with QNX+RTOS environment, the connection of ethernet is as following:
I'm having problems with how to use the ALE feature As I know, there exists a MAC/IP address on R5F 2_0 /RTOS in SDK, which is used for PTP and so on. So at startup, there will be an ARP announcement broadcast message out from R5F 2_0 to LAN. But this IP address is not allowed appeared outside of TDA4. In my project, not allowed foward to port3.
I think maybe ALE is the best solution. Via configure ALE rule to disable this special message pass to PORT3 to outside, but allow it pass to PORT1 for debug. And not affect other ARP broadcast message pass to PORT3 at the same time.
1, I see in SDK, some just write an enter, and some write enter and policer. Could you please tell me, what is an enter? and what is a policer? What's the relationship of this two part?
2, For this issue, I see that, there already is an enter&&policer for ARP broadcast in SDK, that is ARP broadcast package will be forwarded to all port. And there also already an enter about R5F core MAC address to host port.
>>>>ALE entries:
[MCU2_0] 186.152860 s: 7: Address: ffffffffffff, Member:1ff Su=0 FWDSTLVL=0 IGNMBITS=0
... ..
[MCU2_0] 186.154004 s: 12: Address: 70ff761d92c2, Port: 000 Se=1 Bl=0 TOUCH=0 AGE=0 TRUNK=0 #this is R5F MAC
[MCU2_0] 186.154166 s: 13: EtherType: 0806
...
>>>>ALE policer:
[MCU2_0] 186.161416 s: 0: POLICER_DST_MAC,ALE Index: 7
[MCU2_0] 186.161467 s: 0: POLICER_ETHERTYPE,ALE Index: 13
[MCU2_0] 186.161519 s: 0: POLICER_THREAD,THREAD ID:3
[MCU2_0] 186.161580 s: 0: POLICER_STATS: Hit: 1, RedHit: 0, YellowHit: 0
...