Lookup engine for network devices
First Claim
Patent Images
1. A lookup engine for a network device, comprising the steps of:
- a parser for getting address information of an incoming packet;
a predetermined number of shift control logic each for generating an Identity Independent Distribution (I.I.D) hash index for said incoming packet in response to said address information of said incoming packet; and
a selector for selecting an I.I.D. hash index from said predetermined number of shift control logic, and said selected I.I.D. hash index causes an address table to output forwarding information for said incoming packet.
1 Assignment
0 Petitions
Accused Products
Abstract
A lookup engine for a network device is provided to lookup an address table. The lookup engine includes a parser for getting address information of an incoming packet. A predetermined number of shift control logic is provided for generating an I.I.D hash index for the incoming packet in response to the address information of the incoming packet. The output of each shift control logic is selected by a selector for looking up an address table, thereby to generate a forwarding information. With the implementation of the shift control logic, the lookup engine can construct each flow entry and classify the incoming packets belonging to this flow in wire-speed.
92 Citations
12 Claims
-
1. A lookup engine for a network device, comprising the steps of:
-
a parser for getting address information of an incoming packet;
a predetermined number of shift control logic each for generating an Identity Independent Distribution (I.I.D) hash index for said incoming packet in response to said address information of said incoming packet; and
a selector for selecting an I.I.D. hash index from said predetermined number of shift control logic, and said selected I.I.D. hash index causes an address table to output forwarding information for said incoming packet. - View Dependent Claims (2, 3, 4, 5, 6)
-
-
7. A method for generating lookup information for a network device, comprising the steps of:
-
getting address information from a header portion of an incoming packet;
partitioning said network address of m bits into a plurality of segments Si each having n bits, generating an I.I.D. hash index by performing XOR operation on a segment Sbase and a segment Sextend, where said segment Sbase is formed by performing XOR operation on each of said plurality of segments, and said segment Sextend is formed by Rotating S0 a number of bits determined by a predetermined key number; and
searching an address table by using said I.I.D. hash index to generate forwarding information. - View Dependent Claims (8, 9, 10, 11, 12)
-
Specification