Iterative parsing and classification
First Claim
Patent Images
1. A method comprising:
- performing, by an iterative parser and classifier engine, a first parsing and classification cycle on a data packet, based at least in part on header information of the data packet;
generating a first parsing and classification result based at least in part on performing the first parsing and classification cycle;
performing a second parsing and classification cycle on the data packet, based at least in part on header information of the data packet and the first parsing and classification result;
based at least in part on performing the second parsing and classification cycle, generating a second parsing and classification result such that the second parsing and classification result includes a parsing and classification complete flag indicating whether an additional parsing and classification cycle is needed to parse and classify the data packet;
if the parsing and classification complete flag indicates an additional parsing and classification cycle is needed to parse and classify the data packet, performing a third parsing and classification cycle on the data packet, based at least in part on header information of the data packet and the second parsing and classification result; and
if the parsing and classification complete flag indicates no additional parsing and classification cycle is needed to parse and classify the data packet, outputting a classification result for the data packet.
6 Assignments
0 Petitions
Accused Products
Abstract
Some of the embodiments of the present disclosure provide a method comprising performing, by an iterative parser and classifier engine, a first parsing and classification cycle on a data packet, based at least in part on header information of the data packet; generating a first parsing and classification result based at least in part on performing the first parsing and classification cycle; and performing a second parsing and classification cycle on the data packet, based at least in part on header information of the data packet and the first parsing and classification result. Other embodiments are also described and claimed.
-
Citations
16 Claims
-
1. A method comprising:
-
performing, by an iterative parser and classifier engine, a first parsing and classification cycle on a data packet, based at least in part on header information of the data packet; generating a first parsing and classification result based at least in part on performing the first parsing and classification cycle; performing a second parsing and classification cycle on the data packet, based at least in part on header information of the data packet and the first parsing and classification result; based at least in part on performing the second parsing and classification cycle, generating a second parsing and classification result such that the second parsing and classification result includes a parsing and classification complete flag indicating whether an additional parsing and classification cycle is needed to parse and classify the data packet; if the parsing and classification complete flag indicates an additional parsing and classification cycle is needed to parse and classify the data packet, performing a third parsing and classification cycle on the data packet, based at least in part on header information of the data packet and the second parsing and classification result; and if the parsing and classification complete flag indicates no additional parsing and classification cycle is needed to parse and classify the data packet, outputting a classification result for the data packet. - View Dependent Claims (2, 3, 4, 5, 6)
-
-
7. A system-on-chip (SOC) comprising:
-
a processing core; and an iterative parser and classifier engine (IPAC) comprising; a packet header offset unit configured to receive a data packet and to generate, (i) during a first iterative cycle, a first header portion from a header of the data packet, and (ii) during a second iterative cycle, a second header portion, a ternary content-addressable memory (TCAM), wherein the IPAC is configured to perform, during the first iterative cycle, a first look-up at the TCAM using the first header portion, and to generate a first memory address in response to the first look-up, a memory, wherein the IPAC is configured to access, (i) during the first iterative cycle, a first content from the first memory address in the memory, and (ii) during the second iterative cycle, a second content from a second memory address in the memory, and a feedback processing unit configured to (i) receive the first content from the memory and generate a first feedback and (ii) receive the second content from the memory and generate a second feedback, wherein the second feedback includes a parsing and classification complete flag indicating whether an additional iterative cycle is needed to parse and classify the data packet. - View Dependent Claims (8, 9, 10, 11, 12, 13)
-
-
14. A method comprising:
-
receiving a data packet; performing, using a first header portion of a header of the data packet, a first look-up at a ternary content-addressable memory (TCAM) to generate a first content based on an output of the TCAM; performing, using a second header portion of the header of the data packet and the first content, a second look-up at the TCAM to generate a second address; accessing a second content from the second address of the memory, the second content including a parsing and classification complete flag indicating whether an additional look-up is needed to parse and classify the data packet; if the parsing and classification complete flag indicates an additional parsing and classification cycle to parse and classify the data packet, performing, using a third header portion of the header of the data packet and the second content, a third look-up at the TCAM to generate a third address, wherein the third header portion is generated from the header based at least in part on the second content; and if the parsing and classification complete flag indicates no additional parsing and classification cycle to parse and classify the data packet, outputting a classification result for the data packet based at least in part on the second content. - View Dependent Claims (15, 16)
-
Specification