Chained longest prefix matching in programmable switch
Abstract
Some embodiments provide a method for configuring unit memories (e.g., unit static random access memories (SRAMs) and ternary content addressable memories (TCAMs) of a network forwarding IC to implement a set of longest prefix matching (LPM) tables. Two different methods of providing a longest prefix match (LPM) operation that minimize the use of ternary content addressable memory (TCAM) are presented. Each method takes advantage of the use of match-action stages and the programmability of the unit memories. An algorithmic LPM embodiment is presented which uses a TCAM index with pointers to SRAM partitions that store subtrees of a routing tree (routing trie structure) and performs subtree rearrangements in the partitions upon the addition of certain routing entries. A chained LPM embodiment, allocates separate exact-match tables for a set of address prefix lengths in, for example, SRAMS, as well as a set of non-exact match tables in, for example, TCAMs.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 19 · Forward citations: 1.
Claims (2 — 1 Independent, 1 Dependent)
- Claim 1Independent Claim
For a network forwarding element, a data plane circuit comprising: a plurality of data processing stages to process data tuples associated with data messages received by the network forwarding element in order to transmit data messages to a network; and a plurality of exact-match longest prefix matching (LPM) tables stored in at least two of the plurality of data processing stages to perform an LPM operation, the exact match LPM tables to store routing table entries, any exact-match table in a first stage in the plurality of stages to store routing table entries with prefix lengths that are lo
- Claim 2Depends on #1
The data plane circuit of claim 1 further comprising: a set of non-exact-match tables, at least one non-exact-match table to store routing table en
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 2022278946 A1 | Programmable packet processing pipeline with offload circuitry | — | 2 |
References Cited — Backward Prior Art (19)
Non-Patent Literature (5)
- Non-Published commonly owned International Patent Application PCT/US2019/020846, filed Mar. 5, 2019, 66 pages, Barefoot Networks, Inc.
- Non-Published commonly Owned U.S. Appl. No. 15/921,684, filed Mar. 21, 2018, 67 pages, Barefoot Networks, Inc.
- Notice of Allowance for U.S. Appl. No. 15927684, dated May 1, 2019, 10 pages.
- PCT International Search Report and Written Opinion of Commonly owned International Patent Application PCT/US20191/020846, dated Jun. 14, 2019, 17 pages, International Searching Authority 9EPO).
- Zane, Francis, et al., "CoolCAMs: Power-Efficient TCAMs for Forwarding Engines," IEEE INFOCOM 2003, Twenty-second Annual Joint Conference of the IEEE Computer and Communications Societies. Mar. 30-Apr. 3, 2003, 11 pages, vol. 1, INFOCOM, San Francisco, California, USA.