发明名称 Method and apparatus for packet switching
摘要 A method for performing packet lookups is provided. Packets (which each have a body and a header) are received and parsed to parsing headers. A hash function is applied to each header, and each hashed header is compared with a plurality of binary rules stored within a primary table, where each binary rule is a binary version of at least one ternary rule from a first set of ternary rules. For each match failure with the plurality of rules, a secondary table is searched using the header associated with each match failure, where the secondary table includes a second set of ternary rules.
申请公布号 US8874876(B2) 申请公布日期 2014.10.28
申请号 US201113323594 申请日期 2011.12.12
申请人 Texas Instruments Incorporated 发明人 Bhadra Sandeep;Kokrady Aman A.;Bosshart Patrick W.;Kim Hun-Seok
分类号 G06F12/08;H04L12/56;H04L12/935;H04L12/931 主分类号 G06F12/08
代理机构 代理人 Cooper Alan A. R.;Telecky, Jr. Frederick J.
主权项 1. An apparatus comprising: a lookup memory having a primary table and a secondary table, wherein the secondary table includes a first set of ternary rules, and wherein the primary includes a set of binary rules, and wherein each binary rule is a binary version of at least one ternary rule from the first set of ternary rules; and a search engine that is coupled to the lookup memory, wherein the search engine includes: an controller that is configured to receive data words; andhash logic that is coupled to lookup memory and the controller, wherein the hash logic is configured to perform a binary search of the primary table to determine whether each data word matches at least one of the binary rules, and wherein, if there is a failed match by hash logic and primary table, the search engine is configured to perform a ternary search of the secondary table to determine whether the data word associated with the failed match matches at least one of the ternary rules from a second set of ternary rules.
地址 Dallas TX US