METHOD AND APPARATUS FOR SETTING TCAM ENTRY
    1.
    发明申请
    METHOD AND APPARATUS FOR SETTING TCAM ENTRY 有权
    用于设置TCAM输入的方法和装置

    公开(公告)号:US20140108718A1

    公开(公告)日:2014-04-17

    申请号:US14133188

    申请日:2013-12-18

    CPC classification number: G11C15/04 G11C15/00 H04L45/7457

    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.

    Abstract translation: 本发明公开了一种用于设置TCAM条目的方法和装置,涉及通信领域,其用于实现提高TCAM利用率的目标。 用于设置TCAM条目的方法包括:获取由预设分组中的相同字段的值形成的数字组,其中所述分组是需要在其上执行相同动作的分组,并且所述数字集包括至少两个数字; 获取数字的最长连续掩码; 根据数字集的最长连续掩码获得采集结果; 以及将所述获取结果存储在与所述动作相对应的三元内容可寻址存储器TCAM条目中。 本发明公开的解决方案适用于设置TCAM条目的场景。

Patent Agency Ranking