Method and apparatus for pre-classifying packets
First Claim
1. A method for processing a packet, the method comprising:
- receiving the packet at a classifier from a plurality of input ports connected to the classifier;
performing a classification operation based upon data selected from within the packet and data other than the data selected from within the packet;
generating attributes for the packet based upon a result of the classification operation; and
forwarding the attributes along with the packet to facilitate subsequent packet-processing operations,wherein the data selected from within the packet is selected from a set of locations within the packet, the data selected being associated with the input port from which the packet was received from, andwherein the attributes include a destination, and wherein (i) a default value for the destination is a per port defined value, and (ii) the destination is a sum of (a) the result of the classification operation, (b) the default value, and (c) a channel number associated with the packet.
3 Assignments
0 Petitions
Accused Products
Abstract
The disclosed embodiments relate to a system that provides an intelligent port infrastructure for communication network devices. This is accomplished by incorporating a highly configurable pre-classifier module into the port infrastructure. This pre-classifier makes it possible to realign packet data to add a configurable number of bytes to the front of the packet, and also to select interesting data from incoming packets for further analysis. The selected data is sent into a configurable classification engine, which generates instructions that specify how to determine associated packet attributes. The packet attributes are then generated based on the instructions, and are forwarded along with the packet to downstream processing units.
17 Citations
23 Claims
-
1. A method for processing a packet, the method comprising:
-
receiving the packet at a classifier from a plurality of input ports connected to the classifier; performing a classification operation based upon data selected from within the packet and data other than the data selected from within the packet; generating attributes for the packet based upon a result of the classification operation; and forwarding the attributes along with the packet to facilitate subsequent packet-processing operations, wherein the data selected from within the packet is selected from a set of locations within the packet, the data selected being associated with the input port from which the packet was received from, and wherein the attributes include a destination, and wherein (i) a default value for the destination is a per port defined value, and (ii) the destination is a sum of (a) the result of the classification operation, (b) the default value, and (c) a channel number associated with the packet. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
-
-
12. A packet processing apparatus, the apparatus comprising:
-
a circuit configured to; receive a packet at a classifier from a plurality of input ports connected to the classifier; perform a classification operation based upon data selected from within the packet and data other than the data selected from within the packet; generate attributes for the packet based upon a result of the classification operation; and forward the attributes along with the packet to facilitate subsequent packet-processing operations, wherein the data selected from within the packet is selected from a set of locations within the packet, the data selected being associated with the input port from which the packet was received from, and wherein the attributes include a destination, and wherein (i) a default value for the destination is a per port defined value, and (ii) the destination is a sum of (a) the result of the classification operation, (b) the default value, and (c) a channel number associated with the packet. - View Dependent Claims (13, 14, 15, 16, 17, 18, 19, 20, 21, 22)
-
-
23. A system for processing a packet, the system comprising:
-
a fabric switch; and a plurality of lines cards communicably coupled to the fabric switch, wherein at least one of the line cards includes a network processor configured to; receive the packet at a classifier from a plurality of input ports connected to the classifier; perform a classification operation based upon data selected from within the packet and data other than the data selected from within the packet; generate attributes for the packet based upon a result of the classification operation; and forward the attributes along with the packet to facilitate subsequent packet-processing operations, the data selected from within the packet is selected from a set of locations within the packet, the data selected being associated with the input port from which the packet was received from, and wherein the attributes include a destination, and wherein (i) a default value for the destination is a per port defined value, and (ii) the destination is a sum of (a) the result of the classification operation, (b) the default value, and (c) a channel number associated with the packet.
-
Specification