SJA1105QEL-How to support dynamic configuration and reading of TCAM?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

SJA1105QEL-How to support dynamic configuration and reading of TCAM?

194 Views
qingfengzhuo
Contributor I

How to support dynamic configuration and reading of TCAM?
1. TCAM configuration includes matching and action. Matching is to set the fields of the matching message header (such as source, destination MAC, source, destination IP address, source, destination port, etc.), and action is to set how to handle the matching message (such as forwarding to a specific port, discarding, etc.).
2. Read configuration table information: TCAM rule configuration is ultimately based on port configuration, so it is necessary to calculate the switch chip port where a device (such as lidar) is located through the forwarding table inside the switch chip, and then apply the rule on the port.

0 Kudos
Reply
1 Reply

181 Views
PavelL
NXP Employee
NXP Employee

Hello @qingfengzhuo ,

Please refer to UM11040 (Software User Manual for SJA1105P, SJA1105Q, SJA1105R, SJA1105S, Rev. 3) for detailed information on configuration:

  • Chapter 5.2 - General Configuration Tables:
    This section describes the static configuration tables, which are typically loaded during the initial setup of the switch. These include tables such as L2 forwarding, VLAN, MAC configuration, and others.

  • Chapter 6.1.3 - Dynamic Reconfiguration:
    This section outlines which configuration tables support dynamic reconfiguration, meaning they can be modified at runtime without requiring a full reset or reinitialization of the device.

Another important reference is AH1704 (SJA1105PQRS Application Hints, Rev. 1.4):

  • Chapter 7.2.1 - Reading an L2 Lookup Table Entry:
    This section explains the procedure for reading (and by extension, writing) entries in the L2 Lookup Table dynamically. It describes the use of indirect addressing and the necessary steps to access and modify table entries at runtime.

 

Best regards,

Pavel

0 Kudos
Reply