Proprietary and Confidential to PMC-Sierra, Inc and for its Customers
’
Internal Use
Document ID: PMC-2010146, Issue 4
135
PM2329 ClassiPI Network Classification Processor Datasheet
5 Rule Formats and OC Sequencing
5.1 Rule Formats
The PM2329 can perform powerful policy-based search operations. These operations involve comparing
the packet data fields with a pre-loaded set of policy rules in the policy database of the device. Results of
search operations are returned in the Results FIFO. Additionally, based on the result of the operation,
further operations can be performed on the same packet.
PM2329 rules have been designed to handle a wide range of packet processing applications. Key features
of the rule format are listed below:
Supports multi-operand (up to 6) operations within an instruction
EQ, GE, or LE (unsigned integers) operations
Bit-wise mask capability
Force Match function
Rule Attribute bit
Composite Rules made of up to 4 rules
Rule Negation function
Rule Structure
All PM2329 policy rules have a uniform structure, consisting of two parts: a Rule Control field (RC) and a
Rule Data field (RD). The Rule Control field determines the operation to be performed on the packet data
and policy contents of the Rule Data field.
A policy rule is 136 bits wide, comprised of the 24-bit Rule Control field and the 112-bit Rule Data field.
Rule Control and Rule Data fields are further divided into six sub-fields. This allows different operations
to be performed on the Rule Data sub-fields, with the operations being specified by the corresponding sub-
fields in the Rule Control sub-fields.
Figure 28 shows the organization of the 136-bit Rule memory word.
Figure 28 Rule Control and Data Field
Rule
0
RD0
RD
RD
RD3
RD
RD
23
31
39
103
55
71
135