78Q8430-100CGTR/F Maxim Integrated Products, 78Q8430-100CGTR/F Datasheet - Page 38

no-image

78Q8430-100CGTR/F

Manufacturer Part Number
78Q8430-100CGTR/F
Description
Telecom ICs 10/100MAC+PHY MULTI MEDIA OFFLOAD CNTRLR
Manufacturer
Maxim Integrated Products
Datasheet
78Q8430 Data Sheet
6.7.2
The CAM rules are accessed indirectly one at a time via the CAM Address Register (CAR). The contents
of the rule whose number is indicated by the CAR are available for read and write via the Rule Match
Register (RMR) and the Rule Control Register (RCR). The RMR contains a template that the CAM
reference word must match in order to trigger the rule, and the RCR contains the control word that is
passed to the control logic when the rule is triggered.
6.7.2.1
The RMR contains four fields that control when a rule is triggered: Previous Hit Match and Previous Hit
Mask, Data Match and Data Mask. The mask fields are used to determine which bits in their respective
match field are required to make a match and which bits are ignored. A mask bit value of one means that
the corresponding match bit must be exactly equal to the same bit in the CAM reference word to trigger
the rule. Inversely, a mask bit value of zero means that the corresponding bit in the CAM reference word
is ignored. A special case is that all previous hit mask bits are zero. In this case, the rule is deactivated
and can never be triggered.
6.7.2.2
The RCR contains four fields that control the actions taken by the control logic when the rule is triggered:
Byte Offset, Interrupt, Action and Match Control fields.
RCR Byte Offset
The Byte Offset field is generally used to skip over bytes in the frame that are not relevant to the current
classification. When the Byte Offset is non-zero then the classification will skip the number of bytes
indicated. The exception is when the TOC action is used, in which case, the value of the Byte Offset field
is used to initialize the control logic counter and no offset is applied.
An offset value of 0x3F will skip just the right number of bytes to jump over the current IPv4 header.
RCR Interrupt
When the Interrupt bit in the RCR for a given rule is set, then the triggering of the rule will cause an HIR
classification interrupt.
Control Logic Action
The value of the control logic Action field in the RCR determines the action that will be taken by the
control logic when the rule is triggered.
38
Hex
Value
0x0
0x2
0x4
0x6
0x7
0x8
0xA
0xC
0xD
0x10
0x12
Configuring the CAM
Rule Match Register
Rule Control Register
Binary
Value
00000b
00010b
00100b
00110b
00111b
01000b
01010b
01100b
01110b
10000b
10010b
Name
NOP
PAUSE
WAKE
IPCK
TIPO
TDX
TAX
TAXH
TAXL
TXA
TLXA
No action taken.
Start the local pause timer.
Send a wake-up signal to the host and start the HNR timer.
Start the IP header checksum check and the IP header counter.
Transfer IP header counter to offset.
‘X’ is assigned the value of the frame data.
‘X’ is assigned the value of the current rule number.
The high-order nibble of ‘X’ is assigned the value of the low-order nibble
of the current rule number.
The low-order nibble of ‘X’ is assigned the value of the low-order nibble
of the current rule number.
The classification result is assigned the value of ‘X’.
The low-order nibble of the classification result is assigned the value of
the low-order nibble of ‘X’.
Table 26: Control Logic Actions
Action Taken
DS_8430_001
Rev. 1.2

Related parts for 78Q8430-100CGTR/F