Downloaded by Amr Mansour of SiliconExpert Tecnology Inc on Tuesday, 14 October, 2003 02:48:09 AM
Proprietary and Confidential to PMC-Sierra, Inc and for its Customers’ Internal Use 17
Document ID: PMC-2010146, Issue 4
PM2329 ClassiPI Network Classification Processor Datasheet
1.4.2 Architectural Support
The PM2329 architecture supports the following to improve system performance:
•Scalable Policy Search Engine can be scaled up to accommodate a wide variation in the number of
rules as well as number of search partitions (to store multiple search rules).
•Supports search sequencing to minimize Packet Processor or CPU intervention.
•Supports complex field extraction from input packet for further classification.
•Lookup/Search model that is easy to integrate into software implementations of protocols.
•Supports statistics collection.
1.4.3 Software Model Support
From the software programmers perspective, the PM2329 presents a flexible Lookup/Search model. It
implements a generalized Lookup/Search operation, which is atomic in nature. This operation has two
main inpu ts: t he key da ta usi ng whic h the lookup is to be perf ormed an d the set of po licy rules , which have
to be applied to the key data to perform this lookup. The former is selected from the packet and can be the
packet header L3/L4 information, other fields from the packet header or fields from the packet data
payload. The latter is a set of rules, which are to be applied to this data to obtain a result. The result is in the
form of an occurrence of ma tch, in other words, the identifica tion of a rule, which the input data satisfies.
Since it is possible for more than one rule to match the input data, the rules are prioritized. In case of
multiple matches, multiple results can be returned and the higher p riority match ing rule is presented first.
Multiple such Lookup/Search functions can be stored within a single PM2329. Each such function is said
to occupy a partition within the chip. For example, a route lookup table can be stored in one partition,
while another partition can store a QoS flow classification policy. The PM2329 also has the ability to
perform a sequence of different lookups or classifications on the same packet data.
The Search/ Lookup operat ions progr ammed into the PM2329 can be automati cally appl ied to every packet
presented to the PM2329’s high-speed wide synchronous data transfer bus. Thus, the sequence of
operations is performed on every packet and the result is made available, on a per packet basis, to the
Packet Processor.
To assist in high-speed packet classification, the PM2329 is designed to be Ethernet and IPv4-aware. It
incorporates a Field Extraction Engine (FEE) that understands Ethernet II, 802.3 & 802.1p/q and
determi nes wher e the Layer 3 payload s tart s fro m in t he pack et. I t can extr act ke y IP, TCP and UDP header
fields as well as payload data at any offset. The FEE is tolerant of the various idiosync rasies of the IP and
TCP headers. It is also possible to bypass the FEE on a per-packet basis.
Operating at a high clock rate, the 64-bit wide synchronous bus provides adequate bandwidth to support
Gigabit/OC-48 rate transfer of data, commands and results. The PM2329’s flexib le data interface
architecture allows complete hardware controlled data transfer for high-speed applications, as well as a
processor driven software controlled data transfer for syst ems where performance is less critical. The
PM2329 can be configured to receive streaming commands and data through its data interface. Data can
consist of arbitrary bytes, partial IP packets (IP header, TCP header and partial data), or complete IP
packets. In all cases the data could be optionally preceded by command words that identify the nature of
data fol lo wing immediately as wel l a s th e ki nds of cl assific at ion to be per for med on the data . This method