发明名称 |
Apparatus and methods to store data in a network device and perform longest prefix match (LPM) processing |
摘要 |
The present disclosure describes systems and techniques relating to processing of network communications. According to an aspect of the described systems and techniques, a network device includes a random access memory (RAM); a buffer coupled with the RAM; circuitry configured to copy data from a location in the RAM to the buffer responsive to a received identifier corresponding to a search key corresponding to a received packet; and circuitry configured to compare the data copied to the buffer with the search key to provide a result for use in forwarding of the packet, wherein don't care bits for the comparison are determined from a count of don't care bits encoded in a portion of the location in the RAM indicated by the identifier. |
申请公布号 |
US9306851(B1) |
申请公布日期 |
2016.04.05 |
申请号 |
US201314049696 |
申请日期 |
2013.10.09 |
申请人 |
Marvell International Ltd. |
发明人 |
Gazit Hillel;Syed Sohail;Torjyan Gevorg |
分类号 |
H04L12/28;H04L12/745;H04L12/743;G06F17/30;G06F12/10;H04L29/06;H04L12/741 |
主分类号 |
H04L12/28 |
代理机构 |
|
代理人 |
|
主权项 |
1. A network device comprising:
a random access memory (RAM); a buffer coupled with the RAM; circuitry configured to copy data from a location in the RAM to the buffer responsive to a received identifier corresponding to a search key corresponding to a received packet; and circuitry configured to compare the data copied to the buffer with the search key to provide a result for use in forwarding of the packet, wherein don't care bits for the comparison are determined from a count of don't care bits encoded in a portion of the location in the RAM indicated by the identifier, and wherein the circuitry configured to compare comprises (i) circuitry configured to generate a vector mask from the count, (ii) an XOR gate coupled to compare a predetermined bit of the search key with a corresponding predetermined bit of the data copied to the buffer, and (iii) an AND gate coupled to compare a predetermined bit of the vector mask with an output of the XOR gate. |
地址 |
Hamilton BM |