Lookup front end packet input processor
First Claim
Patent Images
1. An apparatus comprising:
- a memory storing a Rule Compiled Data Structure (RCDS), the RCDS representing a set of rules for packet classification, the RCDS including a decision tree for selecting a subset of the set of rules for filtering a given packet, the decision tree including a root node and a plurality of leaf nodes, each of the plurality of leaf nodes indicating one of the subset of the set of rules, the root node indicating a starting address in the memory for the set of rules;
a host command interface, the host command interface configured to receive one or more host commands for an incremental update for the RCDS;
a processor coupled to the memory and the host command interface, the processor configured to;
a) receive a key extracted from the packet, the key indicating which of the set of rules are applicable to the packet, andb) perform an active search of the RCDS to;
1) apply the key to the decision tree to locate a matching leaf node out of the plurality of leaf nodes, the matching leaf node indicating the subset of the set of rules, and
2) classify the given packet based on the subset of the set of rules and independent of rules excluded from the subset of rules, the RCDS being updated based on the one or more host commands received, the RCDS being updated after the active search is completed.
7 Assignments
0 Petitions
Accused Products
Abstract
A packet processor provides for rule matching of packets in a network architecture. The packet processor includes a lookup cluster complex having a number of lookup engines and respective on-chip memory units. The on-chip memory stores rules for matching against packet data. A lookup front-end receives lookup requests from a host, and processes these lookup requests to generate key requests for forwarding to the lookup engines. As a result of the rule matching, the lookup engine returns a response message indicating whether a match is found. The lookup front-end further processes the response message and provides a corresponding response to the host.
-
Citations
7 Claims
-
1. An apparatus comprising:
-
a memory storing a Rule Compiled Data Structure (RCDS), the RCDS representing a set of rules for packet classification, the RCDS including a decision tree for selecting a subset of the set of rules for filtering a given packet, the decision tree including a root node and a plurality of leaf nodes, each of the plurality of leaf nodes indicating one of the subset of the set of rules, the root node indicating a starting address in the memory for the set of rules; a host command interface, the host command interface configured to receive one or more host commands for an incremental update for the RCDS; a processor coupled to the memory and the host command interface, the processor configured to; a) receive a key extracted from the packet, the key indicating which of the set of rules are applicable to the packet, and b) perform an active search of the RCDS to;
1) apply the key to the decision tree to locate a matching leaf node out of the plurality of leaf nodes, the matching leaf node indicating the subset of the set of rules, and
2) classify the given packet based on the subset of the set of rules and independent of rules excluded from the subset of rules, the RCDS being updated based on the one or more host commands received, the RCDS being updated after the active search is completed. - View Dependent Claims (2, 3, 4, 5, 6, 7)
-
Specification