Unlock instant, AI-driven research and patent intelligence for your innovation.

Method and apparatus for efficient matching of tcam rules using hash tables in ram

A hash table and rule technology, applied in the field of network communication, can solve the problems of TCAM energy consumption and high chip area, limiting the number of rules, etc.

Active Publication Date: 2021-11-12
MELLANOX TECHNOLOGIES LTD
View PDF1 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, relative to these advantages, TCAM is expensive in terms of energy consumption and chip area, and these costs effectively limit the number of rules that a single network device can support

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method and apparatus for efficient matching of tcam rules using hash tables in ram
  • Method and apparatus for efficient matching of tcam rules using hash tables in ram
  • Method and apparatus for efficient matching of tcam rules using hash tables in ram

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0015] review

[0016] Large-scale, high-speed packet networks, such as those deployed in modern data centers, require switching and forwarding elements to support a large number of rules for packet classification and processing. New network management standards and practices, such as the OpenFlow protocol, are driving demand to increase the number of rules enforced by network elements and to allow frequent modification of rules through remote management. Given the cost, size, and power consumption of TCAM devices, a RAM-based packet classification solution is required. The advantage of a RAM-based solution is that, in contrast to TCAM, which is dedicated to a single purpose, RAM in network elements can be flexibly shared between packet classification and other functions.

[0017] Embodiments of the invention described herein provide an efficient framework for classifying data items, such as data packets, using rule entries stored in RAM. The disclosed implementation include...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

A method that includes extracting a classification key from a collection of data items. A corpus of rules for matching with a classification key is received, each rule including a corresponding set of unmasked bits having corresponding bit values, and at least some of the rules also including masked bits. Rule patterns are extracted from a corpus, each rule pattern defining a corresponding sequence of masked and unmasked bits that one or more rules conform to. Multiple hash tables are defined in RAM, each hash table is used to search for rules matching a given sort key. The matching result of a given rule in a given hash table also indicates which of the other hash tables will be used for subsequent searches. Data items are classified by matching corresponding classification keys to rules using one or more hash tables.

Description

technical field [0001] Embodiments described herein relate generally to network communications, and more particularly to methods and systems for efficient storage and lookup of classification rules in network elements. Background technique [0002] Packet transmission devices such as switches and routers in high-speed data networks are required to perform flexible and complex packet classification at high speed. To this end, many switches and routers use Tri-State Content Addressable Memory (TCAM) components to store rules to be applied in processing packets. To search TCAM, multiple fields of a packet (usually header fields) are concatenated to form a key. A match between a key and a given TCAM entry can be used to trigger various actions in network devices, such as forwarding decisions, packet encapsulation and decapsulation, security filtering and quality of service classification. [0003] The advantage of TCAM is that it can hold search entries that contain not only o...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Patents(China)
IPC IPC(8): H04L12/743G06F16/2455G06F16/22G06F16/903G06F16/901G11C7/10
CPCG06F16/2255G06F16/24564H04L45/7453H04L45/74591H04L63/0263H04L69/22G11C7/1006H04L63/0227G06F16/90339G06F16/9014G11C7/1009
Inventor 吉尔·利维佩德罗·雷维列戈萨尔瓦多·蓬塔雷利
Owner MELLANOX TECHNOLOGIES LTD