US 11,916,795 B2
Systems and methods for stateful packet processing
Tal Mizrahi, Haifa (IL); and David Melman, Tel Aviv (IL)
Assigned to Marvell Israel (M.I.S.L) Ltd., Yokne'am (IL)
Filed by Marvell Israel (M.I.S.L) Ltd., Yokneam (IL)
Filed on May 12, 2021, as Appl. No. 17/318,076.
Application 17/318,076 is a continuation of application No. 16/176,640, filed on Oct. 31, 2018, granted, now 11,025,549.
Claims priority of provisional application 62/623,955, filed on Jan. 30, 2018.
Claims priority of provisional application 62/728,619, filed on Sep. 7, 2018.
Prior Publication US 2021/0266264 A1, Aug. 26, 2021
This patent is subject to a terminal disclaimer.
Int. Cl. H04L 47/2441 (2022.01); H04L 69/22 (2022.01); H04L 45/74 (2022.01)
CPC H04L 47/2441 (2013.01) [H04L 45/74 (2013.01); H04L 69/22 (2013.01)] 20 Claims
OG exemplary drawing
 
1. A method for processing a received packet based on associated state information, the method comprising:
receiving, at a packet processor of a network device, packets from a network;
classifying a received packet as belonging to at least one respective identified flow from among a plurality of identified flows;
for a respective received packet that belongs to an identified flow:
updating a current state value for the identified flow based on receipt of the respective received packet;
recording a value based on the updated current state value with the respective received packet, wherein the updated current state value is indicative of a sequential location of the respective received packet in a stream of previously received packets belonging to the identified flow;
performing a first packet processing operation on the respective received packet based in part on the recorded updated current state value being equal to a first state value; and
performing a second packet processing operation on the respective received packet based in part on the recorded updated current state value being equal to a second state value, wherein the second packet processing operation is different from the first packet processing operation and the second state value is different from the first state value.