Method and apparatus for managing table space of ternary content addressable memory (TCAM)

A content addressing and memory technology, applied in the field of communication, which can solve the problems such as the inability to share capacity

Inactive Publication Date: 2016-07-06
ZTE CORP
View PDF2 Cites 5 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The disadvantage of this method is th

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 managing table space of ternary content addressable memory (TCAM)
  • Method and apparatus for managing table space of ternary content addressable memory (TCAM)
  • Method and apparatus for managing table space of ternary content addressable memory (TCAM)

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0047] In order to make the technical problems, technical solutions and advantages to be solved by the present invention clearer, the following will describe in detail with reference to the drawings and specific embodiments.

[0048] The embodiment of the present invention aims at the problem that the capacity of TCAM hardware blocks cannot be shared in the prior art, and provides a method and device for managing the TCAM table space of the TCAM, which enables the TCAM to realize capacity sharing of hardware blocks.

[0049] Such as figure 1 As shown, the embodiment of the present invention provides a method for managing the TCAM table space of the three-state content addressable memory, the method comprising:

[0050] Step 11, configure the first parameter of the first register of the TCAM, the first parameter includes the range of the table lookup space, and the range of the table lookup space corresponds to a plurality of blocks.

[0051] In a specific embodiment of the pres...

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

The invention provides a method and apparatus for managing table space of a ternary content addressable memory (TCAM). The method comprises the following steps: configuring first parameters of a first register of the TCAM, wherein the first parameters comprise a table look-up space scope, and the table look-up space scope is corresponding to multiple blocks; according to the table look-up space scope, configuring second parameters of a second register of the TCAM, wherein the second parameters comprise the space size and the table look-up width of each block in the table look-up space scope; performing table writing in the first block and the second block which are adjacent, wherein the table writing direction of the first block is opposite to that of the second block; and determining whether the first block and the second block are fully written, if the first block is fully written yet the second block is not fully written, adjusting the first parameters and the second parameters, and performing the table writing according to the adjusted first parameters and the adjusted second parameters. The method provided by the invention can enable the TCAM to realize capacity sharing of hardware blocks.

Description

technical field [0001] The invention relates to the field of communication technology, in particular to a method and device for managing the TCAM table space of a three-state content addressable memory. Background technique [0002] With the development of the network, the growth of network traffic and the emergence of new services, network equipment is required to have wire-speed and flexible processing capabilities. At present, network chips include two categories of application specific integrated circuits (ASIC, Application Specific Integrated Circuits) and network processors (NP). With its high-speed processing and flexible programmability, network processors have become an effective solution for data processing in today's networks. [0003] There are many different memories in the network processor, such as static random access memory (SRAM), ternary content addressable memory (TCAM, ternary content addressable memory), synchronous dynamic random access memory (SDRAM,...

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
IPC IPC(8): H04L12/24H04L12/741H04L45/74
CPCH04L41/0803
Inventor 姜海明
Owner ZTE CORP
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products