Prefix search method
First Claim
1. A method of prefix search comprising:
- applying prefix search keys to an input queue;
distributing the prefix search keys from the input queue to plural prefix search engines over a network from the input queue as the engines become idle;
at each search engine, reading data from a prefix search data tree structure stored in memory and, in a comparator, performing prefix search comparisons of search keys and data from the prefix search tree data structure to determine, in a forward pass of the tree data structure toward a leaf, memory addresses of nodes of the tree data structure to read the data from memory and obtain prefix search results; and
forwarding results of prefix searches of the plural prefix search engines over the network to an output queue in an order independent of the order in the input queue.
2 Assignments
0 Petitions
Accused Products
Abstract
Prefix searches for directing internet data packets are performed in a prefix search integrated circuit. The integrated circuit includes an array of search engines, each of which accesses a prefix search tree data structure to process a prefix search. An SDRAM is dedicated to each search engine, and SDRAMs share address and control pins to plural search engines on the IC chip. Internal nodes of the tree data structure are duplicated across banks of the SDRAMs to increase bandwidth, and leaf nodes are stored across the SDRAM banks to reduce storage requirements. Within each search engine, data stored in a data register from an SDRAM is compared to a prefix search key stored in a key register. Based on that comparison, an address is calculated to access further tree structure data from the SDRAM. Packet descriptors containing search keys are forwarded to the search engines from an input queue and the search results are forwarded to an output queue, the same packet order being maintained in the two queues.
38 Citations
13 Claims
-
1. A method of prefix search comprising:
-
applying prefix search keys to an input queue; distributing the prefix search keys from the input queue to plural prefix search engines over a network from the input queue as the engines become idle; at each search engine, reading data from a prefix search data tree structure stored in memory and, in a comparator, performing prefix search comparisons of search keys and data from the prefix search tree data structure to determine, in a forward pass of the tree data structure toward a leaf, memory addresses of nodes of the tree data structure to read the data from memory and obtain prefix search results; and forwarding results of prefix searches of the plural prefix search engines over the network to an output queue in an order independent of the order in the input queue. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9)
-
-
10. A method of prefix search comprising:
-
distributing prefix search keys to plural prefix search engines; and at each search engine, reading data from a prefix search data tree structure stored in memory and, in a comparator, performing prefix search comparisons of search keys and data from the prefix search tree data structure to determine, in a forward pass of the tree data structure toward a leaf, memory addresses of nodes of the tree data structure to read the data from memory and obtain prefix search results, the step of reading data further comprising; addressing a memory unit from each search engine over integrated circuit pins shared with another search engine; and reading the data in bursts over integrated circuit data pins dedicated to the search engine from the address locations in the memory unit. - View Dependent Claims (11)
-
-
12. A method of prefix search comprising:
distributing prefix search keys to plural prefix search engines; and
at each search engine, reading data from a prefix search data tree structure stored in memory and, in a comparator, performing prefix search comparisons of search keys and data from the prefix search tree data structure to determine, in a forward pass of the tree data structure toward a leaf, memory addresses of nodes of the tree data structure to read the data from memory and obtain prefix search results, the method further comprising storing a prefix search tree data structure across plural banks of memory units, duplicate copies of internal nodes of the tree structure being stored in each of plural banks, and accessing the tree structure in successive read cycles.- View Dependent Claims (13)
Specification