Realtek switch SoC docs

maple register: L2_CTRL_0

Details

Name
L2_CTRL_0
Offset
3200
Feature
ADDRESS_TABLE_LOOKUP

Description

Main L2 configuration register

Fields

Name LSB Bits Description
RESERVED 15 17
MC_BC_SA_TRAP 14 1
ZERO_SA_ACT 12 2
LUTCAM_EN 11 1

Enable the Content Addressable Memory to look up forwarding information (the CAM tables).

SECURE_SA 10 1
MC_BC_SA_DROP 9 1
IP_MC_DIP_CHK 8 1
LINK_DOWN_P_INVLD 7 1

Enable automatic flushing of all L2 entries associated to a port which changes its link-status to down.

SA_ALL_ZERO_LRN 6 1
IP_MC_FVID_CMP 5 1
IPV6_MC_HASH_KEY_FMT 3 2
IPV4_MC_HASH_KEY_FMT 1 2

Definition of how the L2 lookup hash for IPV4 multicast packets is calculated: 0: Lookup on Forwarding ID (VLAN or MSTP) and MAC 1: Lookup on source and destination IP 2: Lookup on Destination IP and Forwarding ID

L2_HASH_ALGO 0 1

Configures the choice between the two different hash algorithms the SoC supports for L2 lookup hashes.