Realtek switch SoC docs

longan feature DEBUG_COUNTER

Registers

Offset Name Summary
DEBUG_COUNTER
b5b8 STAT_PRVTE_DROP_COUNTER0
b5bc STAT_PRVTE_DROP_COUNTER1
b5c0 STAT_PRVTE_DROP_COUNTER2
b5c4 STAT_PRVTE_DROP_COUNTER3
b5c8 STAT_PRVTE_DROP_COUNTER4
b5cc STAT_PRVTE_DROP_COUNTER5
b5d0 STAT_PRVTE_DROP_COUNTER6
b5d4 STAT_PRVTE_DROP_COUNTER7
b5d8 STAT_PRVTE_DROP_COUNTER8
b5dc STAT_PRVTE_DROP_COUNTER9
b5e0 STAT_PRVTE_DROP_COUNTER10
b5e4 STAT_PRVTE_DROP_COUNTER11
b5e8 STAT_PRVTE_DROP_COUNTER12
b5ec STAT_PRVTE_DROP_COUNTER13
b5f0 STAT_PRVTE_DROP_COUNTER14
b5f4 STAT_PRVTE_DROP_COUNTER15
b5f8 STAT_PRVTE_DROP_COUNTER16
b5fc STAT_PRVTE_DROP_COUNTER17

L3_IPUC_NON_IP non-ip packets dropped that hit a router MAC.

b600 STAT_PRVTE_DROP_COUNTER18
b604 STAT_PRVTE_DROP_COUNTER19
b608 STAT_PRVTE_DROP_COUNTER20
b60c STAT_PRVTE_DROP_COUNTER21
b610 STAT_PRVTE_DROP_COUNTER22
b614 STAT_PRVTE_DROP_COUNTER23
b618 STAT_PRVTE_DROP_COUNTER24
b61c STAT_PRVTE_DROP_COUNTER25

HOST_NULL_INTF, drops that are due to a DROP action in a Host Route …

b620 STAT_PRVTE_DROP_COUNTER26
b624 STAT_PRVTE_DROP_COUNTER27
b628 STAT_PRVTE_DROP_COUNTER28
b62c STAT_PRVTE_DROP_COUNTER29
b630 STAT_PRVTE_DROP_COUNTER30
b634 STAT_PRVTE_DROP_COUNTER31
b638 STAT_PRVTE_DROP_COUNTER32
b63c STAT_PRVTE_DROP_COUNTER33
b640 STAT_PRVTE_DROP_COUNTER34
b644 STAT_PRVTE_DROP_COUNTER35

L3_UC_ICMP_REDIR, counts drops when the Egress interface …

b648 STAT_PRVTE_DROP_COUNTER36
b64c STAT_PRVTE_DROP_COUNTER37
b650 STAT_PRVTE_DROP_COUNTER38
b654 STAT_PRVTE_DROP_COUNTER39
b658 STAT_PRVTE_DROP_COUNTER40
b65c STAT_PRVTE_DROP_COUNTER41
b660 STAT_PRVTE_DROP_COUNTER42
b664 STAT_PRVTE_DROP_COUNTER43
b668 STAT_PRVTE_DROP_COUNTER44
b66c STAT_PRVTE_DROP_COUNTER45
b670 STAT_PRVTE_DROP_COUNTER46
b674 STAT_PRVTE_DROP_COUNTER47
b678 STAT_PRVTE_DROP_COUNTER48
b67c STAT_PRVTE_DROP_COUNTER49
b680 STAT_PRVTE_DROP_COUNTER50
b684 STAT_PRVTE_DROP_COUNTER51
b688 STAT_PRVTE_DROP_COUNTER52

TRUNK_FILTER packet is dropped because the L3 system tries to forward …

b68c STAT_PRVTE_DROP_COUNTER53
b690 STAT_PRVTE_DROP_COUNTER54
b694 STAT_PRVTE_DROP_COUNTER55
b698 STAT_PRVTE_DROP_COUNTER56
b69c STAT_PRVTE_DROP_COUNTER57
b6a0 STAT_PRVTE_DROP_COUNTER58
b6a4 STAT_PRVTE_DROP_COUNTER59
b6a8 STAT_PRVTE_DROP_COUNTER60
b6ac STAT_PRVTE_DROP_COUNTER61
b6b0 STAT_PRVTE_DROP_COUNTER62
b6b4 STAT_PRVTE_DROP_COUNTER63
b6b8 STAT_PRVTE_DROP_COUNTER64
b6bc STAT_PRVTE_DROP_COUNTER65
b6c0 STAT_PRVTE_DROP_COUNTER66
b6c4 STAT_PRVTE_DROP_COUNTER67
b6c8 STAT_PRVTE_DROP_COUNTER68
b6cc STAT_PRVTE_DROP_COUNTER69
b6d0 STAT_PRVTE_DROP_COUNTER70
b6d4 STAT_PRVTE_DROP_COUNTER71
b6d8 STAT_PRVTE_DROP_COUNTER72
b6dc STAT_PRVTE_DROP_COUNTER73
b6e0 STAT_PRVTE_DROP_COUNTER74
b6e4 STAT_PRVTE_DROP_COUNTER75

INVALID_L2_NEXTHOP_ENTRY An L3 nexthop entry points to an invalid L2 …

b6e8 STAT_PRVTE_DROP_COUNTER76
b6ec STAT_PRVTE_DROP_COUNTER77
b6f0 STAT_PRVTE_DROP_COUNTER78
b6f4 STAT_PRVTE_DROP_COUNTER79
b6f8 STAT_PRVTE_DROP_COUNTER80
b6fc STAT_PRVTE_DROP_COUNTER81
b700 STAT_PRVTE_DROP_COUNTER82
b704 STAT_PRVTE_DROP_COUNTER83
b708 STAT_PRVTE_DROP_COUNTER84