GMAC_ST2RPQx

GMAC Screening Type 2 Register x Priority Queue

Screening type 2 registers are used to allocate up to 6 priority queues to received frames based on the VLAN priority field of received Ethernet frames.

  0x0540 + x*0x04 [x=0..7] 32 Read/Write 0x00000000   8 -1

GMAC Screening Type 2 Register x Priority Queue

Bit  31 30 29 28 27 26 25 24  
    COMPCE COMPC[4:0] COMPBE  
Access                   
Reset    0 0 0 0 0 0 0  
Bit  23 22 21 20 19 18 17 16  
  COMPB[4:0] COMPAE COMPA[4:3]  
Access                   
Reset  0 0 0 0 0 0 0 0  
Bit  15 14 13 12 11 10 9 8  
  COMPA[2:0] ETHE I2ETH[2:0] VLANE  
Access                   
Reset  0 0 0 0 0 0 0 0  
Bit  7 6 5 4 3 2 1 0  
    VLANP[2:0]   QNB[2:0]  
Access                   
Reset    0 0 0   0 0 0  

Bits 2:0 – QNB[2:0]: Queue Number

Queue Number

If a match is successful, then the queue value programmed in QNB is allocated to the frame.

Bits 6:4 – VLANP[2:0]: VLAN Priority

VLAN Priority

When VLAN match is enabled (VLANE=1), the VLAN Priority field of the received frame is matched against the value of this bit field.

Bit 8 – VLANE: VLAN Enable

VLAN Enable

ValueDescription
0 VLAN match disabled
1 VLAN match is enabled

Bits 11:9 – I2ETH[2:0]: Index of Screening Type 2 EtherType register x

Index of Screening Type 2 EtherType register x

When EtherType is enabled (ETHE=1), the EtherType field (last EtherType in the header if the frame is VLAN-tagged) is compared with bits [15:0] in the register designated by the value of this bit field.

Bit 12 – ETHE: EtherType Enable

EtherType Enable

ValueDescription
0 EtherType match is disabled
1 EtherType match with bits [15:0] of the register designated by the value in I2ETH is enabled

Bits 17:13 – COMPA[4:0]: Index of Screening Type 2 Compare Word 0/Word 1 register x

Index of Screening Type 2 Compare Word 0/Word 1 register x

COMPA is a pointer to the compare registers GMAC_ST2CW0x and GMAC_ST2CW1x. When COMPAE=1, the compare is true if the data at the frame offset ANDed with the value MASKVAL is equal to the value of COMPVAL ANDed with the value of MASKVAL.

Bit 18 – COMPAE: Compare A Enable

Compare A Enable

ValueDescription
0 Compare A is disabled.
1 Comparison via the register designated by index COMPA is enabled.

Bits 23:19 – COMPB[4:0]: Index of Screening Type 2 Compare Word 0/Word 1 register x

Index of Screening Type 2 Compare Word 0/Word 1 register x

COMPB is a pointer to the compare registers GMAC_ST2CW0x and GMAC_ST2CW1x. When COMPBE=1, the compare is true if the data at the frame offset ANDed with the value MASKVAL is equal to the value of COMPVAL ANDed with the value of MASKVAL.

Bit 24 – COMPBE: Compare B Enable

Compare B Enable

ValueDescription
0 Compare B is disabled.
1 Comparison via the register designated by index COMPB is enabled.

Bits 29:25 – COMPC[4:0]: Index of Screening Type 2 Compare Word 0/Word 1 register x

Index of Screening Type 2 Compare Word 0/Word 1 register x

COMPC is a pointer to the compare registers GMAC_ST2CW0x and GMAC_ST2CW1x. When COMPCE=1, the compare is true if the data at the frame offset ANDed with the value MASKVAL is equal to the value of COMPVAL ANDed with the value of MASKVAL.

Bit 30 – COMPCE: Compare C Enable

Compare C Enable

ValueDescription
0 Compare C is disabled.
1 Comparison via the register designated by index COMPC is enabled.