Efficient longest prefix matching techniques for network devices
Abstract
A network address associated with a packet is obtained at a search engine of a network device. The search engine includes a plurality of Bloom filters that represent prefixes of respective lengths in the routing table. Respective Bloom filters are applied to respective prefixes of the network address to determine a set of one or more prefixes for which a match potentially exists in the routing table. A number of accesses to the memory are performed using prefixes in set of prefixes, beginning with a longest prefix and continuing in decreasing order of prefix lengths until a matching entry is found in the routing table, and routing information for the packet is retrieved. If the number of performed memory accesses exceeds a threshold, the routing table is adapted to reduce a number of memory accesses to be performed for subsequent packets associated with the network address.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 50 · Forward citations: 7.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method for performing longest prefix match lookup operations in a memory storing a routing table used for forwarding packets in a network device, the method comprising: receiving, at a search engine of the network device, a network address associated with a packet, wherein the network address is provided by a packet processor of the network device, the packet processor configured to perform processing of the packet at least to determine a forwarding decision for the packet, and wherein the search engine includes a plurality of Bloom filters, each of at least some of the Bloom filters represe
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (7 of 7 total)
References Cited — Backward Prior Art (50)
Non-Patent Literature (5)
- "Hopscotch Hashing," Wikipedia entry downloaded from http://en.wikipedia.org/wiki/Hopscotch-hashing on Oct. 6, 2014 (3 pages).
- “Hopscotch Hashing,” Wikipedia entry downloaded from http://en.wikipedia.org/wiki/Hopscotch—hashing on Oct. 6, 2014 (3 pages).
- Arad, et al., "Exact Match Lookup in Network Switch Devices," U.S. Appl. No. 13/737,608, filed Jan. 9, 2013.
- Bando et al., "Flash Trie: Beyond 100-Gb/s IP Route Lookup Using Hash-Based Prefix-Compressed Trie", IEEE/ACM Transactions on Networking, vo. 20, No. 4, pp. 1262-1275, Aug. 14, 2012, made available online on Mar. 14, 2012.
- Demetriades, et al., "An Efficient Hardware-based Multi-hash Scheme for High Speed IP Lookup," IEEE Symposium on High Performance Interconnects, 8 pages (Aug. 2008).