Realtek switch SoC docs

maple register: L2_PORT_LRN_CONSTRT

Details

Name
L2_PORT_LRN_CONSTRT
Offset
32a0
Feature
ADDRESS_TABLE_LOOKUP
Port index range
0 - 27
Portlist index
0
Bit offset
32

Description

Per-port L2 (MAC) address learning.

Fields

Name LSB Bits Description
RESERVED 30 2
LRN_CNT 16 14

The number of learned L2 addresses for this port.

CONSTRT_NUM 2 14

Limit the number of learned L2 addresses. Set to 0 to disable learning.

ACT 0 2

Action to take when exceeding the allowed number of learned L2 addresses.

  • 0: Drop
  • 1: Forward
  • 2: To CPU
  • 3: Copy to CPU