Method and apparatus for updating error detection information in packets
AssigneeMarvell Asia Pte Ltd
InventorTal Mizrahi
Life of this patent
Estimating the term…
Abstract
A network device receives a packet having i) a first field that is to be updated by the network device, and ii) a second field that includes current error detection information corresponding to content of the packet, the content including the first field. The network device determines an update value that is to be added to a current value of the first field to generate a new value of the first field. The network device generates new error detection information using the current error detection information and the update value, and without using the current value of the first field. The network device modifies the second field to include the new error detection information, and modifies the first field to include the new value.
Claims20
An apparatus, comprising:
- logic circuitry configured to:
- determine an update value that is to be added to a current value of a first field of a packet to update the first field in the packet, the packet also having a second field that includes current error detection information corresponding to content of the packet, and
- generate new error detection information using i) the current error detection information from the second field of the packet and ii) the update value, and without using the current value from the first field of the packet;
- and
- packet modification circuitry configured to:
- modify the second field of the packet to include the new error detection information, and
- modify the first field of the packet to include the new value.
A method, comprising:
- receiving, at a network device, a packet having i) a first field that is to be updated by the network device, and ii) a second field that includes current error detection information corresponding to content of the packet, the content including the first field;
- determining, at the network device, an update value that is to be added to a current value of the first field to generate a new value of the first field;
- generating, at the network device, new error detection information using the current error detection information and the update value, and without using the current value of the first field;
- modifying, at the network device, the second field to include the new error detection information;
- and
- modifying, at the network device, the first field to include the new value.
Dependencies are inferred from the claim text.