Cyclic redundancy check (CRC) update mechanism
AssigneeIntel Corporation
InventorsKarl S. Papadantonakis, Robert G. Southworth, Alain Gravel, Jonathan A. Dama
Life of this patent
Estimating the term…
Abstract
A cyclic redundancy code (CRC) update device includes an input coupled to obtain an old CRC that corresponds to an old header of a communication packet, a CRC storage device to store CRC coefficients, a CRC calculator coupled to receive a modified old header of the communication packet and calculate a new CRC on the modified old header, and a polynomial multiplier coupled to the CRC storage device to receive the new CRC, obtain a corresponding coefficient from the CRC storage device, and generate an update for the CRC of the frame.
Claims21
A method of updating a cyclic redundancy code (CRC) of a packet in an apparatus, the method comprising:
- processing the packet as the packet traverses a datapath of the apparatus, the processing comprising:
- determining whether a header of the packet has changed to a new header, wherein the packet includes a single CRC value and wherein the single CRC value is separate from the header of the packet;
- and
- in response to a determination that the header has changed, modifying the packet by updating an existing value of the single CRC value to a new CRC value without using a contribution of a payload of the packet to the updating.
An apparatus comprising processing circuitry and memory,
- wherein the processing circuitry is configured to:
- determine whether a header of a packet traversing a datapath of the apparatus has changed to a new header, wherein the packet includes a single cyclic redundancy code (CRC) value;
- and
- in response to a determination that the header has changed, modify the packet by updating an existing value of the single CRC value to a new CRC value without using a contribution of a payload of the packet to the updating, and the memory is configured to store the payload, the new header of the packet.
Dependencies are inferred from the claim text.