On the fly header checksum processing using dedicated logic
First Claim
Patent Images
1. A packet header processing engine comprising:
- a packet processing unit configured to construct packet header information according to a packet header protocol;
a buffer configured to receive the packet header information, wherein the packet processing unit is connected to the buffer and is configured to send the packet header information to the buffer;
a checksum accumulator configured to store a partial checksum for a packet header being processed by the packet processing unit; and
a checksum generator connected to the packet processing unit and the checksum accumulator, the checksum generator being configured to compute and store a new partial checksum from the packet header information and the stored partial checksum concurrently when the packet header information is sent by the packet processing unit to the buffer.
1 Assignment
0 Petitions
Accused Products
Abstract
A packet header processing engine includes a packet processing unit that is configured to generate the packet header information based on the packet header data. A checksum generating unit is connected to the packet processing unit. The checksum generating unit is configured to compute and store a partial checksum for a packet header being processed by the packet processing unit. After all packet header information for a packet is stored in the buffer, the checksum generating unit contains a complete checksum for the packet header.
84 Citations
22 Claims
-
1. A packet header processing engine comprising:
-
a packet processing unit configured to construct packet header information according to a packet header protocol; a buffer configured to receive the packet header information, wherein the packet processing unit is connected to the buffer and is configured to send the packet header information to the buffer; a checksum accumulator configured to store a partial checksum for a packet header being processed by the packet processing unit; and a checksum generator connected to the packet processing unit and the checksum accumulator, the checksum generator being configured to compute and store a new partial checksum from the packet header information and the stored partial checksum concurrently when the packet header information is sent by the packet processing unit to the buffer. - View Dependent Claims (2, 3, 4, 5)
-
-
6. A packet header processing engine comprising:
-
a packet processing unit configured to construct packet header information according to a packet header protocol; a buffer configured to receive the packet header information, wherein the packet processing unit is connected to the buffer and configured to send the packet header information to the buffer; and a checksum generating unit connected to the packet processing unit, the checksum generating unit being configured to compute and store a partial checksum for a packet header being processed by the packet processing unit concurrently when the packet header information is sent by the packet processing unit to the buffer. - View Dependent Claims (7, 8, 9, 10)
-
-
11. A method comprising:
-
constructing packet header information for a packet according to a packet header protocol; writing the packet header information to a buffer; and computing a partial checksum for a packet header associated with the packet header information concurrently when the packet header information is written to the buffer. - View Dependent Claims (12, 13, 14, 15, 16, 17, 18, 19)
-
-
20. A network device for processing packets comprising:
-
a buffer configured to store the packets, including header data and payload data for the packets; a descriptor reader component coupled to the buffer, the descriptor reader component configured to receive the header data for the packets stored in the buffer and configured to look up descriptor information relating to the received packet header data; and a packet header processing component coupled to the descriptor reader component, the packet header processing component configured to receive the packet header data and the descriptor information from the descriptor reader component, the packet header processing component additionally including; a buffer configured to receive packet header information, a packet processing unit connected to the buffer, the packet processing unit being configured to generate the packet header information based on the packet header data and to send the packet header information to the buffer, and a checksum generating unit connected to the packet processing unit, the checksum generating unit being configured to compute and store a partial checksum for a packet header being processed by the packet processing unit. - View Dependent Claims (21)
-
-
22. A device comprising:
-
means for constructing packet header information for a packet; means for storing the packet header information; means for computing a partial checksum for a packet header associated with the packet header information concurrently when the packet header information is stored in the means for storing; and means for storing the partial checksum.
-
Specification