Realtek switch SoC docs

longan feature LAYER_3_ROUTING

Tables

Name Size Type Summary
TBL_ACCESS_CTRL_1
L3_ROUTER_MAC 64 0

Defines a termination point for the L3 routing system.

L3_HOST_ROUTE_IP6MC 6144 1
L3_HOST_ROUTE_IP6UC 6144 1
L3_HOST_ROUTE_IPMC 6144 1
L3_HOST_ROUTE_IPUC 6144 1

Main table for L3 host-based routing (link-local routes).

L3_PREFIX_ROUTE_IP6MC 512 2

IPv6 multicast table alias for L3_PREFIX_ROUTE_IPMC

L3_PREFIX_ROUTE_IP6UC 512 2

IPv6 unicast table alias for L3_PREFIX_ROUTE_IPUC

L3_PREFIX_ROUTE_IPMC 512 2

Main table for L3 prefix routes for IP Multicast

L3_PREFIX_ROUTE_IPUC 512 2

Main table for L3 prefix routes.

L3_NEXTHOP 2048 3

An L3 next hop entry for L3 routing.

L3_EGR_INTF 128 4

Defines an Egress Interface for L3 routing

L3_EGR_INTF_LIST 512 5

Defines a set of egress interfaces for Multicast Pakets going to …

TBL_ACCESS_CTRL_2
L3_EGR_INTF_MAC 2112 2

Table containing both the destination MAC addresses for an L3 nexthop …

Registers

Offset Name Summary
LAYER_3_ROUTING
ab44 L3_IP_ROUTE_CTRL

Actions taken after a router MAC L3 termination has been hit by a …

ab48 L3_HOST_TBL_CTRL
ab4c L3_IPUC_ROUTE_CTRL

Control register for UC routing: Reset value 0x00002000.

ab50 L3_IP6UC_ROUTE_CTRL

Control register for IPv6 UC routing: Reset value 0x00014580, changed …

ab54 L3_IPMC_ROUTE_CTRL

Control register for MC routing: Reset value 0x00000500, changed to …

ab58 L3_IP6MC_ROUTE_CTRL

Control register for IPv6 MC routing: Reset value 0x00012880, changed …

ab5c L3_IP_MTU_CTRL
ab6c L3_IP6_MTU_CTRL
ab7c L3_PORT_IP_ROUTE_CTRL
abf0 L3_PORT_IP6_ROUTE_CTRL
ac64 L3_ENTRY_COUNTER_CTRL
ac74 L3_ENTRY_COUNTER_DATA
ac94 L3_ENTRY_MV_CTRL
ac98 L3_ENTRY_MV_PARAM
ac9c L3_HW_LU_KEY_CTRL
aca0 L3_HW_LU_KEY_IP_CTRL
acb0 L3_HW_LU_KEY_DIP_CTRL
acc0 L3_HW_LU_CTRL
acc4 DMY_REG1_RT_REG
acc8 DMY_REG2_RT_REG
accc DMY_REG3_RT_REG