Exact match hash lookup databases in network switch devices
Abstract
In a method for populating a forwarding table, a first hash function is applied to a lookup key to generate a first hash value, a second hash function is applied to the lookup key to generate a second hash value, and a third hash function is applied to the lookup key to generate a third hash value. An offset is determined based on the first hash value and the second hash value. A location for inserting the lookup key is determined based on the offset and the third hash value. It is determined whether the lookup key can be inserted into the forwarding table at the determined location without colliding with a key previously stored at the determined location. When it is determined that the lookup key can be inserted, the lookup key and forwarding information associated with the lookup key are inserted at the determined location.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 50 · Forward citations: 9.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method for populating a forwarding database in a network device, the method comprising: generating, at a hash value generator and based on a lookup key that includes packet header information, a plurality of hash values corresponding to a packet, including generating at least (i) a first hash value at least by applying a first hash function to the lookup key, (ii) a second hash value at least by applying a second hash function to the lookup key and (iii) a third hash value at least by applying a third hash function to the lookup key, the third hash function being different than the first has
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (9 of 9 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).
- Arad et al., U.S. Appl. No. 13/737,608, "Exact Match Lookup in Network Switch Devices," filed Jan. 9, 2013.
- Demetriades et al., "An Efficient Hardware-based Multi-hash Scheme for High Speed IP Lookup," 2008 16th IEEE Symposium on High Performance Interconnects, Aug. 2008.
- Herlihy, et al., "Hopscotch Hashing," DISC '08 Proceedings of the 22nd International Symposium on Distributed Computing, pp. 350-364 (Sep. 22, 2008).
- IEEE P802.1ad/D6.0, Draft Amendment to IEEE Std 802.1Q, "IEEE Draft Standard for Local and Metropolitan Area Networks-Virtual Bridged Local Area Networks-Amendment 4: Provider Bridges," The Institute of Electrical and Electronics Engineers, Inc., 60 pages, (Aug. 17, 2005).