Realtek switch SoC docs

mango table: L2_UC

Details

Name
L2_UC
Feature
MAC_FORWARDING_CONTROL
Type
0
Entries
32768
Data width
128
Control register
TBL_ACCESS_CTRL_0
Data register
TBL_ACCESS_DATA_0

Fields

Name LSB Bits Description
VALID 127 1

The Entry is valid.

FMT 126 1

0: This is an RTL entry. 1: This is an OpenFlow entry.

ENTRY_TYPE 125 1

0: UC/MC entry 1: PE forwarding entry

HASH_MSB 124 1
FID 112 12

Forwarding ID.

MAC 64 48

The MAC learned.

L2_TNL 63 1

0 normal entry 1: An L2 Tunnel entry.

NEXT_HOP 62 1

1: A NextHop Entry.

IS_TRK 61 1

The associated port is a Trunk port.

SPA 51 10

The Source Port associated with the MAC.

AGE 48 3

The age of the entry. The age is set to 3 when a new entry is learned or a packet received from that MAC. Every 30 seconds the age is reduced by 1. When the age would reach -1, the entry is removed from the table.

SA_BLK 47 1

Block this mac as a source address.

DA_BLK 46 1

1: Block this MAC address as a destination address.

STATIC 45 1

0: A dynamic entry (done by the switch) 1 A static entry (done by the kernel)

SUSPEND 44 1

Entry is suspended.

TAGSTS 43 1
AGG_PRI 40 3
AGG_VID 28 12
DUP_VALID 16 1
DUP_IS_TRK 15 1
DUP_SPA 5 10