Invention Grant
- Patent Title: Method and apparatus for setting TCAM entry
- Patent Title (中): 设置TCAM条目的方法和装置
-
Application No.: US14133188Application Date: 2013-12-18
-
Publication No.: US09330760B2Publication Date: 2016-05-03
- Inventor: Zhiwei Chen , Tao Chen
- Applicant: Huawei Technologies Co., Ltd.
- Applicant Address: CN Shenzhen
- Assignee: Huawei Technologies Co., Ltd.
- Current Assignee: Huawei Technologies Co., Ltd.
- Current Assignee Address: CN Shenzhen
- Agency: Leydig, Voit & Mayer, Ltd.
- Main IPC: G11C15/04
- IPC: G11C15/04 ; H04L12/743 ; G11C15/00

Abstract:
The present invention discloses a method and an apparatus for setting a TCAM entry and relates to the field of communications, which are used to achieve an objective of improving utilization of a TCAM. The method for setting a TCAM entry includes: acquiring a number set formed by values of same fields in preset packets, where the packets are packets on which a same action needs to be performed, and the number set includes at least two numbers; acquiring a longest continuous mask of the number set; obtaining an acquisition result according to the longest continuous mask of the number set; and storing the acquisition result in a ternary content-addressable memory TCAM entry corresponding to the action. The solutions disclosed in the present invention are applicable to a scenario of setting a TCAM entry.
Public/Granted literature
- US20140108718A1 METHOD AND APPARATUS FOR SETTING TCAM ENTRY Public/Granted day:2014-04-17
Information query