Proprietary and Confidential to PMC-Sierra, Inc and for its Customers
’
Internal Use
Document ID: PMC-2010146, Issue 4
122
PM2329 ClassiPI Network Classification Processor Datasheet
Trace Enable
If this bit is
‘
1
’
then the PM2329 is in
“
Trace Mode
”
. It will stop after every OC and wait for the
processor to issue a command. In this mode, OC Sequence Control Mode (bit 61) is ignored.
If this bit is
‘
0
’
, the PM2329 mode is decided by OC Sequence Control Mode (bit 61).
OCD Single or Multi-hit OC
This bit is valid only if the OC Match bit is set.
This bit is set to
‘
1
’
if this was a Multi-hit OC. It is reset to
‘
0
’
if this was a single-hit OC.
OCD OC Type
This bit is valid only if the OC Match bit is set.
This field has the same value as the OC-Type field in the OCD which was used to run this OC. This
field indicates a Header, Attribute, Pattern Search Short or Pattern Search Long OC.
OCD Index
This bit is valid only if the OC Match bit is set.
This field contains the 6-bit index which gives the position of the Descriptor within the OCD Table.
PM2329 ID Number
This field is valid only if the OC Match bit is set to
‘
1
’
.
These bits specify which of the PM2329 devices has generated this result.
Pattern Search Match Offset
This field is valid only if the OC was a Short or Long Pattern Search OC and the OC Match bit is set to
‘
1
’
.
This field indicates the position at which a match occurred. The value returned is the absolute offset of
the first byte for forward searches or last byte for reverse searches of the packet data which matched.
Extraction Error Code
This field is valid only if the OC Type was Header.
This field indicate the cause of extraction error. They are defined as follows.
000
No Extraction Error
001
Incomplete Header Extraction due to Offset Error
010
Intermediate IP Fragment when L4 bit in PI was set
011
IHL field has a value less than 5 (20 Bytes)
100
IP version is not 4
101
110
111
(Reserved)
(Reserved)
(Reserved)
This field returns 000 for Attribute OCs.