Method and system for performing longest prefix matching for network address lookup using bloom filters
Abstract
The present invention relates to a method and system of performing parallel membership queries to Bloom filters for Longest Prefix Matching, where address prefix memberships are determined in sets of prefixes sorted by prefix length. Hash tables corresponding to each prefix length are probed from the longest to the shortest match in the vector, terminating when a match is found or all of the lengths are searched. The performance, as determined by the number of dependent memory accesses per lookup, is held constant for longer address lengths or additional unique address prefix lengths in the forwarding table given that memory resources scale linearly with the number of prefixes in the forwarding table. For less than 2 Mb of embedded RAM and a commodity SRAM, the present technique achieves average performance of one hash probe per lookup and a worst case of two hash probes and one array access per lookup.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 50 · Forward citations: 50.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method of performing a network address lookup, comprising: grouping forwarding prefixes from a routing table by prefix length; associating each of a plurality of Bloom filters with a unique prefix length; programming each of said plurality of Bloom filters with said prefixes corresponding to said associated unique prefix length; performing membership probes to said Bloom filters by using predetermined prefixes of a network address; and utilizing a direct lookup array for initial prefix lengths and asymmetric Bloom filters for the rest of the prefix lengths; wherein said direct lookup array c
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗