Invention Grant
- Patent Title: Longest prefix match using binary search tree
- Patent Title (中): 使用二叉搜索树的最长前缀匹配
-
Application No.: US12913717Application Date: 2010-10-27
-
Publication No.: US08880507B2Publication Date: 2014-11-04
- Inventor: Sridhar Kotha , Satyanarayana Arvapalli , Vikram Bichal , Anil Kumar Gajkela , Srinivas Reddy Bhima reddy , Balajl Tadepalli , Venkatesh Nagapudl , Satsheel Altekar
- Applicant: Sridhar Kotha , Satyanarayana Arvapalli , Vikram Bichal , Anil Kumar Gajkela , Srinivas Reddy Bhima reddy , Balajl Tadepalli , Venkatesh Nagapudl , Satsheel Altekar
- Applicant Address: US CA San Jose
- Assignee: Brocade Communications Systems, Inc.
- Current Assignee: Brocade Communications Systems, Inc.
- Current Assignee Address: US CA San Jose
- Agency: Bever, Hoffman & Harms, LLP
- Main IPC: G06F17/30
- IPC: G06F17/30

Abstract:
Longest Prefix Match (LPM) is implemented using a binary tree based search algorithm. Masked entries are stored in a plurality of binary search engines, wherein each of the binary search engines stores masked entries of a corresponding mask length. A search value is applied to each of the binary search engines in parallel. The search value is masked within each of the binary search engines, thereby creating a plurality of masked search values, each having a masked length equal to the mask length of the corresponding binary search engine. Each of the masked search values is compared with the masked entries of the corresponding binary search engine. An LPM result is selected from the binary search engine that detects a match, and has the longest corresponding mask length. Alternately, each binary search engine stores masked entries of N mask lengths, and N consecutive comparisons are performed to identify the LPM.
Public/Granted literature
- US20120023082A1 Longest Prefix Match Using Binary Search Tree Public/Granted day:2012-01-26
Information query