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.

DRA74P: Ethernet Rx frame filtering by MAC Address or Ethernet Type

Part Number: DRA74P


Hello,

We are using the DRA7x with Linux BSP w. kernel 5_10.

I understand that normally ethernet frames can be routed to specific queues using VLAN priority values.

Still, in our use case, all packets have their VLAN tags removed, so the only filter classification we can use is either MAC address or EthType.

Will this be possible with DRA7x? If so, please point me to the relevant documentation/source code.

Thank you

  • Hi,

    I would suggest to review TRM chapter 26.12.4.8.2 Address Lookup Engine (ALE) and chapter 26.12.4.9 Static Packet Filter (SPF) to see if these modules can meet your use case need.

    Regards,
    Stanley

  • Hello Stanley,

    From my understanding of the ALE from the TRM, it would require VLAN and PCP tags to be able to

    route specific packets into different RX DMA queues.

    However, since our case has both of those removed, I think this would not work for us, is my understanding correct?

    Additionally, I am having trouble finding how to achieve the same result with the SPF, can you maybe point me to some example on how to use/configure it?

  • SPF is for setting up certain rules to filter out packets so if you want to route packet, it is not for this purpose.

    Based on your description, it looks like you need to process the ethernet header in SW and then you can base on MAC or EthType to route the packet.

    You can't route the packet via HW.

    We don't have reference code for your use case.

    You have to either implement this or work with our third party (for example, Excelfore).