Proprietary and Confidential to PMC-Sierra, Inc and for its Customers
’
Internal Use
Document ID: PMC-2010146, Issue 4
107
PM2329 ClassiPI Network Classification Processor Datasheet
4.2.2.15 Packet Information Register (PIR; 8260h)
Access Mode: Read/Write, Global
This register contains fields (control information) that define how the packet header is to be extracted.
Additionally, this register also contains a 6-byte user defined packet attribute field. Note that the control
information used to extract values from the header can either come from the Packet Information Register,
or can be supplied as part of the packet stream. If this control information is supplied as part of the packet
stream, this register is not used and remains unchanged. If the Packet Information is not supplied with the
packet, this register should be written by the processor prior to supplying the current packet and it should
not be updated by the processor until after the EOP for the associated packet has been transferred to the
device.
Direction Bit
This bit specifies the value of the Direction Bit associated with the packet. This bit is used only if the
Direction Specifier bit in the Operation Control Register is reset to
’
0
’
.
L3 Header Extraction Enable
If this bit is
’
0
’
, then 108 bits from the first two 64-bit words of the packet data are taken and used in
place of the extracted header. This allows the PM2329 to accept header information from pre-extracted
packets.
If this bit is
‘
1
’
, then Layer 3 header extraction is enabled, and the header extraction is carried out based
on the setting of the Ethernet Framing Enable and Layer 4 Extraction Enable control bits, explained
below.
Ethernet Framing Enable
If this bit is
‘
0
’
, then the Layer 3 Header Offset field is used as supplied in this PI word.
If this bit is
‘
1
’
, then the PM2329 Field Extraction Engine assumes that the packet is an Ethernet frame
starting at offset 0, and the Layer 3 header offset is calculated. SIP, DIP and Protocol fields are then
extracted.
Layer 4 Extraction Enable
If this bit is
‘
0
’
, then the SP, DP and Flag (SYN, FIN and ACK) fields are loaded with the default
values.
Bit
Range
63
62
61
60
59
58
57:48
47:0
Size
1
1
1
1
1
1
10
48
Name
Value after
Reset
Direction Bit
L3 Header Extraction Enable
Ethernet Framing Enable
Layer 4 Extraction Enable
OC Sequence Control Mode
OC Trace Enable
Layer 3 Header Offset
User Defined Packet Attribute
0
0
0
0
0
0
00 0000 0000
0000 0000 0000h