Packet classification using hash key signatures generated from interrupted hash function
First Claim
1. A method in an integrated network switch, the method comprising:
- receiving a data packet on one of a plurality of network switch ports of the integrated network switch; and
generating a packet signature, by the one network switch port, of the received data packet by hashing selected portions of the received data packet based on prescribed hash action values of a user-programmable template.
6 Assignments
0 Petitions
Accused Products
Abstract
A network switch, configured for performing layer 2 and layer 3 switching in an Ethernet (IEEE 802.3) network without blocking of incoming data packets, includes network switch ports, each including a packet classifier module configured for generating a packet signature based on information within a received data packet and hash action values specified within a user-programmable template. In particular, the network switch stores a plurality of user-programmable templates, each configured for identifying a corresponding class of data packet. Each user-programmable template includes hash action values specifying initiation and termination of a hash function based on a byte offset of a received data packet. The packet classifier module includes a hash generator configured for generating hash values for selected bytes of the received data packet, and a template translator configured for controlling the hash generator for hashing the selected bytes of the received data packet based on the hash action values specified by a corresponding user-programmable template. Hence, a unique hash signature can be generated by supplying a data frame having a prescribed data values at the selected bytes of the user-programmable template; the hash signature can then be stored for comparison with incoming data packets during network switching operations. Hence, data packets can be classified at the wire rate by performing a hash-based search of selected bytes of the received data packet.
91 Citations
15 Claims
-
1. A method in an integrated network switch, the method comprising:
-
receiving a data packet on one of a plurality of network switch ports of the integrated network switch; and generating a packet signature, by the one network switch port, of the received data packet by hashing selected portions of the received data packet based on prescribed hash action values of a user-programmable template. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 15)
-
-
12. A network switch comprising:
-
a table configured for storing user-programmable templates, each user-programmable template including hash action values that specify selected portions of a received data packet to be hashed for generation of a packet signature; a hash generator configured for hashing the selected portions of received data packet based on the hash action values to generate the packet signature for the received data packet; and a comparator configured for comparing the packet signature of the received data packet with at least one stored packet signature for classifying the received data packet relative to the corresponding user-programmable template and prescribed user-defined switching policies, wherein the network switch includes a plurality of network switch ports each including the hash generator and comparator. - View Dependent Claims (13, 14)
-
Specification