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.

TDA4VM: CPSW9: ALE Configuration - Table entry for Ethernet type

Part Number: TDA4VM

Hi Team.

if I configure a table entry for ethernet type and then set a policer for this entry, how is the behavior ?

Are all the Ethernet pakets that does not contain this Ethertype dropped ? or is it the opposite and the pakets with that Ethertype are dropped ?

What is configured by default by TI ? are the table entries and policers empty ?

Thanks for your support

  • Hi,

    if I configure a table entry for ethernet type and then set a policer for this entry, how is the behavior ?

    Behavior will be dependent on Policer rules, it will be rate liming based on Ether type.

    Are all the Ethernet pakets that does not contain this Ethertype dropped ? or is it the opposite and the pakets with that Ethertype are dropped ?

    No, packet filter rules is based on MAC address.
    Here, based on policer rate limiting packet will be dropped and accepted. It means packets will be coming based on Destination MAC address and further Rate liming happens based on Ether type as per policer.
    Any packet will not contain Ether type set for policer will not undergo any rate liming.

    What is configured by default by TI ? Are the table entries and policers empty ?

    By default RTOS SDK Ethfw will set few ALE tables and classifier to handle the incoming data.
    Example:

    • Broadcast Destination MAC address forward to all ports.
    • ARP ether type with Broadcast MAC send to Ethfw.
    • If Vlan is enabled few VLAN entries with default VLAN values.
    • If any client core attached to Ethfw then MAC address of Client will register to forward packets dedicated to client will send directly using different UDMA flow.

    Best Regards,
    Sudheer