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.
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 |
Queue Number
If a match is successful, then the queue value programmed in QNB is allocated to the frame.
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.
VLAN Enable
Value | Description |
---|---|
0 | VLAN match disabled |
1 | VLAN match is enabled |
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.
EtherType Enable
Value | Description |
---|---|
0 | EtherType match is disabled |
1 | EtherType match with bits [15:0] of the register designated by the value in I2ETH is enabled |
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.
Compare A Enable
Value | Description |
---|---|
0 | Compare A is disabled. |
1 | Comparison via the register designated by index COMPA is enabled. |
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.
Compare B Enable
Value | Description |
---|---|
0 | Compare B is disabled. |
1 | Comparison via the register designated by index COMPB is enabled. |
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.
Compare C Enable
Value | Description |
---|---|
0 | Compare C is disabled. |
1 | Comparison via the register designated by index COMPC is enabled. |