Invention Grant
US08527694B2 Method and apparatus for updating table entries of a ternary content addressable memory
有权
用于更新三元内容可寻址存储器的表条目的方法和装置
- Patent Title: Method and apparatus for updating table entries of a ternary content addressable memory
- Patent Title (中): 用于更新三元内容可寻址存储器的表条目的方法和装置
-
Application No.: US13158262Application Date: 2011-06-10
-
Publication No.: US08527694B2Publication Date: 2013-09-03
- Inventor: Xingfu Gao
- Applicant: Xingfu Gao
- Applicant Address: CN Beijing
- Assignee: Beijing Star-Net Ruijie Networks Co., Ltd.
- Current Assignee: Beijing Star-Net Ruijie Networks Co., Ltd.
- Current Assignee Address: CN Beijing
- Agency: Schwabe, Williamson & Wyatt, P.C.
- Priority: CN201010205047 20100611
- Main IPC: G06F12/00
- IPC: G06F12/00 ; G06F13/00 ; G06F13/28

Abstract:
A method and an apparatus for updating table entries of a TCAM are disclosed. The method comprises: creating a virtual TCAM list, of which respective first TCAM table entries are one-to-one corresponding to respective second TCAM table entries stored in a hardware TCAM; determining, in idle resources of the hardware TCAM, a storage position of a second TCAM table entry to be updated corresponding to a first TCAM table entry to be updated, according to a pre-specified precedence relationship between the storage positions of the first TCAM table entry to be updated and other first TCAM table entry in the virtual TCAM list; and performing an updating operation on the second TCAM table entry to be updated based on the determined storage position. According to the present invention, the storage position of the second TCAM table entry to be updated is selected from the idle resources of the hardware TCAM so far as possible, and thus the problem of a low efficiency in updating table entries because of the rewriting of a lot of other second TCAM table entries caused by updating the second TCAM table entries in the hardware TCAM is overcome.
Public/Granted literature
- US20110307655A1 METHOD AND APPARATUS FOR UPDATING TABLE ENTRIES OF A TERNARY CONTENT ADDRESSABLE MEMORY Public/Granted day:2011-12-15
Information query