System and method of fast adaptive TCAM sorting for IP longest prefix matching
Abstract
A system and method are provided for sorting IP routing table entries in a TCAM for longest IP prefix matching LPM of destination IP addresses. The IP routing table is divided into logical blocks, for each block an associated routing entry IP prefix length. Each block is of a respective size whose proportion of the total size of the routing table is determined by the associated IP prefix length. The blocks are ordered so that the TCAM returns an LPM when queried. Starting block sizes can be initialized to proportions which reflect actual expected numbers by proportion of routing entries by IP prefix length. The blocks also grow and shrink as entries are added and deleted so as to more closely mirror real-world populations of expected entries having the IP prefix length in question.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 7 · Forward citations: 1.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method of managing a routing table of a Ternary Content Addressable Memory (TCAM) for longest IP prefix matching, the method comprising: dividing the routing table into a plurality of logical blocks wherein each logical block is associated with a respective IP prefix length and is for storing respective routing entries having said respective IP prefix length, and wherein each logical block is of a respective size whose proportion to a total size of the routing table is determined by the respective IP prefix length, and wherein said plurality of logical blocks are ordered in said routing tabl
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (1 of 1 total)
| Patent | Title | Year | Citations |
|---|---|---|---|
| US 8,924,640 B2 | Dynamic allocation of records to clusters in a ternary content addressable memory | 2014 | 2 |
References Cited — Backward Prior Art (7)
Non-Patent Literature (1)
- Shah, Devavrat and Gupta, Pankaj, Fast Updating Algorithms for TCAMs, IEEE MICRO, Jan.-Feb. 2001, pp. 36-47, Stanford University.