×

High-speed MAC address search engine

  • US 20040205234A1
  • Filed: 12/31/2003
  • Published: 10/14/2004
  • Est. Priority Date: 08/22/2000
  • Status: Active Grant
First Claim
Patent Images

1. A method of searching for a computer address in an address table, the computer address having a bit size n, the steps comprising:

  • partitioning the bit size n computer address into an upper set of n-m bits and a lower set of m bits, wherein m comprises a bit size less than bit size n;

    generating a search index by compressing the upper set of n-m bits to obtain a compressed value of the computer address, wherein the search index comprises a number of bits equal to the number of bits of the lower set of m bits;

    accessing a primary address record corresponding to the computer address in a primary address table, the primary address record being accessed by using the search index to locate the primary address record, wherein the primary address record includes the computer address, a port number associated with the computer address, and a link that that specifies the location of an initial secondary address record in a secondary address table;

    comparing the search index to the primary address record by;

    selecting the m low order bits of the combination of the search index and the lower set of m bits, wherein a first value is determined, decompressing the compressed value of the address contained in the primary address record to obtain a second value, and comparing the first value to the second value; and

    if the first value does not equal the second value, then accessing the initial secondary address record using the link, wherein the initial secondary address record includes a respective address entry of the bit size n-m, a port number associated with the computer address, and a link to a subsequent secondary address record of the same hash family.

View all claims
  • 11 Assignments
Timeline View
Assignment View
    ×
    ×