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.
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):
Best regards,
Pavel