Full match (FM) search algorithm implementation for a network processor
Abstract
Novel data structures, methods and apparatus for finding a full match between a search pattern and a pattern stored in a leaf of the search tree. A key is input, a hash function is performed on the key, a direct table (DT) is accessed, and a tree is walked through pattern search control blocks (PSCBs) until reaching a leaf. The search mechanism uses a set of data structures that can be located in a few registers and regular memory, and then used to build a Patricia tree structure that can be manipulated by a relatively simple hardware macro. Both keys and corresponding information needed for retrieval are stored in the Patricia tree structure. The hash function provides an n->n mapping of the bits of the key to the bits of the hash key.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 37 · Forward citations: 6.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A computer system comprising: a computer readable medium containing a plurality of data structures, for finding a match for a variable length search key, said data structure including: a first pattern; a direct table stores a first address location for a search tree; a plurality of pattern search control blocks wherein pattern search control block represents a branch in the search tree; a plurality of leaves wherein each leaf is an address location for storing predefined information relative to said first pattern; and a search tree engine to correlate the first pattern with information stored
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (6 of 6 total)
References Cited — Backward Prior Art (37)
Non-Patent Literature (4)
- Kenshin Yamada et al., "Address Resolution Engine for IP Routing", Technical Report of IEICE, SSE98-72, IN98-53(2), CS98-69(Sep. 1998).
- Masanori Uga & Kohei Shiomoto-"A Fast and Compact Longest Match Prefix Look-up Method Using Pointer Cache for Very Long Network Address" IEEE, CCN, Oct. 11-13, 1999, pp. 595-602.
- Shingo Ata et al. "Study on Efficient Cache Structures Providing Policy-Based Services in IP Routers", Technical Report of IEICE, CS99-155, CQ99-78(Feb. 2000).
- Willibald Doeringer, Gunter Karjoth and Mehdi Nassehi-"Routing on Longest-Matching Prefixes" IEEE/ACM Transactions on Networking (TON), vol. 4, Issue 1, Feb. 1996, pp. 86-97.