Realtek switch SoC docs

cypress CPU tags

Frame direction: RX

Name LSB Bits Description
RSVD 0 16
CPUTAGIF 16 8
RSVD 24 2
SPN 26 6
MIR_HIT 32 4
ACL_IDX 36 12
ACL_HIT 48 1
OTAGIF 49 1
ITAGIF 50 1
RSVD 51 1
RVID 52 12
QID 64 3
ATK_TYPE 67 5
MAC_CST 72 1
CRC 73 1

Set if the frame has an invalid CRC.

SFLOW 74 6
RSVD 80 2
DM_RXIDX 82 6
NEW_SA 88 1
L2_PMV 89 1
OVERSIZE 90 1
REASON 91 5
  • 0: no reason (DUMMY)
  • 1: OAM
  • 2: CFM
  • 3: CFM_ETHDM
  • 4: IGR_VLAN_FILTER
  • 5: VLAN_ERROR
  • 6: INNER_OUTTER_CFI
  • 7: RMA_USR_DEF1 | RMA
  • 8: RMA_USR_DEF2 | RMA
  • 9: RMA_BPDU | RMA
  • 10: RMA_LACP | RMA
  • 11: RMA_PTP | RMA
  • 12: RMA_LLDP | RMA
  • 13: RMA
  • 14: IP6_HOPBYHOP_EXT_HDR_ERROR
  • 15: IP6_UNKWN_EXT_HDR
  • 16: IP4_HDR_ERROR
  • 17: TTL_EXCEED
  • 18: IP4_OPTIONS
  • 19: IP6_HDR_ERROR
  • 20: HOP_EXCEED
  • 21: IP6_HOPBYHOP_OPTION
  • 22: GW_MAC_ERROR
  • 23: IGMP | SPECIAL_TRAP
  • 24: MLD | SPECIAL_TRAP
  • 25: EAPOL | SPECIAL_TRAP
  • 26: ARP_REQ
  • 27: IP6_NEIGHBOR_DISCOVER
  • 28: UNKWN_UCST_MCST
  • 29: MY_MAC
  • 30: INVALID_SA
  • 31: NORMAL_FWD

Frame direction: TX

Name LSB Bits Description
RSVD 0 16
CPUTAGIF 16 8
DPM_TYPE 24 1

DPM type:

  • 0: for “logical NIC forwarding”
  • 1: for “physical NIC forwarding”
ACL_ACT 25 1
RSVD 26 1
CNGST_DROP 27 1
DM_PKT 28 1
DG_PKT 29 1
BP_FLTR1 30 1
BP_FLTR2 31 1
PTP_TX_LOG 32 1
RSVD 33 1
PTP_TX_OFFLOAD 34 2
AS_PRI 36 1
PRI 37 3
L2LEARNING 40 1
AS_TAGSTS 41 1
RVID_SEL 42 1
AS_DPM 43 1

Set to apply the destination port mask (DPM*), to select the ports this frame is emitted from. Otherwise the frame is broadcast from all ports.

DPM51_32 44 20

Destination port mask for ports 32-51

DPM31_0 64 32

Destination port mask for port 0-31