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.

AM2434: Forwarding all packets from ENET LLD to Application

Part Number: AM2434

Greetings,

I have two questions about the ENET Layer 2 ICSSG Example. From my understanding, the ICSSG forwards every packet to the Host, but the ENET Stack filters them according Broadcast, directed Unicast and undirected Unicast. Is that correct?

And the second question is, is there any easy way, so the host application gets all the packets, not just the broadcasts and directed unicasts? As far as I can tell, there's not, but if you could confirm it would be a great help.

I'm working on SDK 08.06.

Best regards

Marius Apostel

  • Hi Marius,

    I have two questions about the ENET Layer 2 ICSSG Example. From my understanding, the ICSSG forwards every packet to the Host, but the ENET Stack filters them according Broadcast, directed Unicast and undirected Unicast. Is that correct?

    Not entirely, ICSSG has a FDB maintained to take this decision.

    And the second question is, is there any easy way, so the host application gets all the packets, not just the broadcasts and directed unicasts? As far as I can tell, there's not, but if you could confirm it would be a great help.

    You can enable promiscous mode to forward all kind of frames to host. For eanbling this feature please take a look at this api 

    EnetMp_togglePromisc() in enet_layer2_icssg example.
    Thanks
  • Thanks for the clarification. togglePromisc() helped and now it's working like intended.