Systems and methods for handling packet fragmentation
First Claim
1. A method, comprising:
- loading, by an L2/L3 engine of a network device, header data of a first packet into a packet header memory component;
receiving, at a register of the L2/L3 engine, fragmentation information for the first packet;
processing, by an execution unit of the L2/L3 engine and based on the fragmentation information, the header data of the first packet to form a first fragment header and a second fragment header;
sending, by the execution unit, the first fragment header and the second fragment header for further processing; and
loading, by the L2/L3 engine and simultaneously with the sending, header data of a second packet into the packet header memory component.
0 Assignments
0 Petitions
Accused Products
Abstract
A packet header processing engine receives a header of a packet. The received header includes a size of the packet. A maximum transfer unit size of a destination interface of the packet may be determined. The packet header processing engine determines whether the size of the packet exceeds the maximum transfer unit size of the destination interface. If the size of the packet does not exceed the maximum transfer unit size of the destination interface, the packet header processing engine generates a new header from the received header. If the size of the packet exceeds the maximum transfer unit size of the destination interface, the packet header processing engine generates a fragment header from the received header. The packet header processing engine may recycle the fragment header for further processing in addition to forming a first fragment packet from the fragment header.
56 Citations
20 Claims
-
1. A method, comprising:
-
loading, by an L2/L3 engine of a network device, header data of a first packet into a packet header memory component; receiving, at a register of the L2/L3 engine, fragmentation information for the first packet; processing, by an execution unit of the L2/L3 engine and based on the fragmentation information, the header data of the first packet to form a first fragment header and a second fragment header; sending, by the execution unit, the first fragment header and the second fragment header for further processing; and loading, by the L2/L3 engine and simultaneously with the sending, header data of a second packet into the packet header memory component. - View Dependent Claims (2, 3, 4, 5, 6, 7)
-
-
8. A network device, comprising:
-
an input component configured to receive a packet; a buffer connected to the input component, the buffer to store the packet, including header data and payload data for the packet, where the header data includes a size of the packet and a maximum transfer unit size of a destination interface of the packet; a descriptor reader component connected to the input component, the descriptor reader component to receive the header data for the packet stored in the buffer and to look up descriptor information relating to the received packet header data from the input component; and a packet header processing component coupled to the descriptor reader component, the packet header processing component to construct a packet header from the packet header data and the descriptor information from the descriptor reader component. - View Dependent Claims (9, 10)
-
-
11. A method, comprising:
-
receiving, by a network device, a header of a packet, the received header including a size of the packet and a destination interface for the packet; determining, by the network device, whether the size of the packet exceeds a maximum transfer unit size of the destination interface for the packet; generating, by the network device, a first fragment header from the received header when the size of the packet exceeds the maximum transfer unit size of the destination interface; sending, by the network device, the first fragment header of the packet for further processing within the network device; receiving, by the network device from within the network device, the first fragment header, the first fragment header including information associated with a size of a remaining portion of the packet and the maximum transfer unit size of the destination interface; and generating, by the network device, a second fragment header from the first fragment header when the size of the remaining portion of the packet exceeds the maximum transfer unit size of the destination interface. - View Dependent Claims (12, 13, 14, 15, 16, 17, 18, 19, 20)
-
Specification