发明名称 Efficient search and organization of a forwarding database or the like
摘要 A method and apparatus for efficiently searching a forwarding database or similar data structure are provided. According to one aspect of the present invention, the overall average time required to forward a packet from the ingress port of a network device to one or more egress ports may be reduced by attacking the worst case forwarding database search. Data is received at a first port of the network device and a search key is extracted from the data. Typically the search key includes one or more of a source or destination Internet Protocol (IP) address, a souce or destination Media Access Control (MAC) address, and/or a Virtual Local Area Network (VLAN) tag. Ultimately, the data is forwarded to a second port of the network device based upon a matching entry located by the search. The search includes retrieving keys from entries of the forwarding database and comparing the search key to the keys until a matching entry is located. The retrieval includes causing a pipelined memory in which the forwarding database is stored to access memory locations in an order that minimizes a worst case search of the forwarding database. For example, a request is made to load a first key from memory that is associated with a database entry and subsequent requests may be made in a pipelined manner to load subsequent keys, whereby the memory is caused to access keys of different entries during consecutive clock cycles.
申请公布号 US6343289(B1) 申请公布日期 2002.01.29
申请号 US19980118671 申请日期 1998.07.17
申请人 NORTEL NETWORKS LIMITED 发明人 HUNTER VAN A.;MOMIROV MILAN
分类号 H04L12/46;H04L12/56;(IPC1-7):G06F17/30 主分类号 H04L12/46
代理机构 代理人
主权项
地址