US 9,813,336 B2
Device and method for increasing packet processing rate in a network device
Gil Levy, Hod Hasharon (IL); Amir Roitshtein, Holon (IL); and Rami Zemach, Givat Shapira (IL)
Assigned to Marvell Israel (M.I.S.L) Ltd., Yokneam (IL)
Filed by Marvell Israel (M.I.S.L) Ltd., Yokneam (IL)
Filed on Dec. 17, 2014, as Appl. No. 14/574,214.
Claims priority of provisional application 61/917,809, filed on Dec. 18, 2013.
Prior Publication US 2015/0172188 A1, Jun. 18, 2015
Int. Cl. H04J 3/24 (2006.01); H04L 12/28 (2006.01); H04L 12/741 (2013.01); H04L 29/06 (2006.01); H04L 12/947 (2013.01); H04L 12/931 (2013.01); H04L 12/935 (2013.01); H04L 12/801 (2013.01)
CPC H04L 45/74 (2013.01) [H04L 47/10 (2013.01); H04L 49/251 (2013.01); H04L 49/3009 (2013.01); H04L 49/70 (2013.01); H04L 69/22 (2013.01)] 12 Claims
OG exemplary drawing
 
1. A method for processing packets in a network device, the method comprising:
receiving a first packet at a port of the network device, the first packet to be processed using a first reduced set of processing operations that does not include all types of processing operations that the network device is configured to perform to process packets;
extracting a first set of bits from a header of the first packet;
receiving a second packet at the port of the network device, the second packet to be processed using a second reduced set of processing operations that does not include all types of processing operations that the network device is configured to perform to process packets;
extracting a second set of bits from a header of the second packet;
combining the first set of bits and the second set of bits into a combined single data unit representing the first packet and the second packet;
transferring the combined single data unit representing the first packet and the second packet to a packet processing device;
decomposing, at the packet processing device, the single data unit to extract the first set of bits corresponding to the first packet and the second set of bits corresponding to the second packet;
performing only the first reduced set of processing operations to process the first packet by the network device, including performing the first set of processing operations using the first set of bits corresponding to the first packet;
performing only the second reduced set of processing operations to process the second packet by the network device, including performing the second set of processing operations using the second set of bits corresponding to the second packet; and
after performing the first reduced set of processing operations to process the first packet and performing the second reduced set of processing operations to process the second packet,
recombining the first set of bits corresponding to the first packet and the second set of bits corresponding to the second packet into a single data unit representing a processed first packet and a processed second packet, and
transferring the single data unit representing the processed first packet and the processed second packet to a processed packet buffer.