# US 2003/0076847 A1 · Bypassing protocol checksum computations in communications across a reliable network link

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2003/0076847 A1
- Document ID: US20030076847A1
- Status: Published application
- Kind: A1
- Application number: 10/035,563
- Filed: 2001-10-23
- Published: 2003-04-24
- Earliest claimed: 2001-10-23
- Assignees: Sun Microsystems, Inc.
- Inventors: Hsiao-Keng J. Chu
- Web page: https://patentgrep.com/patent/US20030076847A1

## CPC

- H04L 69/10: Streamlined, light-weight or high-speed protocols, e.g. express transfer protocol [XTP] or byte stream
- H04L 69/161: {Implementation details of TCP/IP or UDP/IP stack architecture; Specification of modified or new header fields}
- H04L 69/165: Combined use of TCP and UDP protocols; selection criteria therefor
- H04L 69/16: Implementation or adaptation of Internet protocol [IP], of transmission control protocol [TCP] or of user datagram protocol [UDP]
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

One embodiment of the present invention provides a system for bypassing use of a protocol checksum during communications across a reliable network link. The system operates by configuring a communication system to bypass use of the checksum during communications across the reliable network link. When the system subsequently receives an outbound packet to be transmitted to a destination across the reliable network link, the system sends the outbound packet to the destination without computing the checksum for the outbound packet. In one embodiment of the present invention, upon receiving an inbound packet from a source across the reliable network link, the system accepts the inbound packet without re-computing the checksum, wherein re-computation of the checksum is required by the communication protocol to verify that the inbound packet was received without errors.

## Claims

### Claim 1

A method for bypassing use of a protocol checksum during communications across a reliable network link, comprising:
configuring a communication system to bypass use of the checksum during communications across the reliable network link;
receiving an outbound packet to be transmitted to a destination across the reliable network link; and
sending the outbound packet to the destination across the reliable network link without computing the checksum for the outbound packet.

### Claim 2 (depends on 1)

The method of claim 1, wherein configuring the communication system to bypass the checksum involves informing a protocol stack within the communication system that network interface hardware for the communication system is capable of computing the checksum, so that the protocol stack does not compute the checksum.

### Claim 3 (depends on 1)

The method of claim 1, further comprising:
determining whether the outbound packet is directed to a valid destination that is eligible for checksum bypassing;
if the outbound packet is not directed to a valid destination,
computing the checksum for the outbound packet, and
inserting the checksum into the outbound packet.

### Claim 4 (depends on 3)

The method of claim 3, wherein the checksum is computed by a driver associated with network interface hardware for the communication system.

### Claim 5 (depends on 1)

The method of claim 1, further comprising:
receiving an inbound packet from a source across the reliable network link; and
accepting the inbound packet without re-computing the checksum;
wherein re-computation of the checksum is required by the communication protocol to verify that the inbound packet was received without errors.

### Claim 6 (depends on 5)

The method of claim 5, wherein accepting the inbound packet without re-computing the checksum involves:
communicating a default checksum value to a protocol stack within the communication system;
wherein the default checksum value matches the default checksum value contained within a checksum field of the inbound packet;
whereby the protocol stack will match the default checksum value with the checksum field of the inbound packet and will consequently accept the inbound packet.

### Claim 7 (depends on 6)

The method of claim 6, wherein accepting the inbound packet without re-computing the checksum additionally involves inserting the default checksum value into the checksum field of the inbound packet.

### Claim 8 (depends on 1)

The method of claim 1, wherein the communication protocol includes one of:
Transmission Protocol (TCP);
Internet Protocol (IP); and
User Datagram Protocol (UDP).

### Claim 9 (depends on 1)

The method of claim 1, wherein the reliable network link adheres to the InifiBand standard.

### Claim 10 (depends on 2)

The method of claim 2,
wherein the checksum is a TCP checksum; and
wherein the protocol stack is an IP stack.

### Claim 11

A computer-readable storage medium storing instructions that when executed by a computer cause the computer to perform a method for bypassing use of a protocol checksum during communications across a reliable network link, the method comprising:
configuring a communication system to bypass use of the checksum during communications across the reliable network link;
receiving an outbound packet to be transmitted to a destination across the reliable network link; and
sending the outbound packet to the destination across the reliable network link without computing the checksum for the outbound packet.

### Claim 12 (depends on 11)

The computer-readable storage medium of claim 11, wherein configuring the communication system to bypass the checksum involves informing a protocol stack within the communication system that network interface hardware for the communication system is capable of computing the checksum, so that the protocol stack does not compute the checksum.

### Claim 13 (depends on 11)

The computer-readable storage medium of claim 11, wherein the method further comprises:
determining whether the outbound packet is directed to a valid destination that is eligible for checksum bypassing;
if the outbound packet is not directed to a valid destination,
computing the checksum for the outbound packet, and
inserting the checksum into the outbound packet.

### Claim 14 (depends on 13)

The computer-readable storage medium of claim 13, wherein the checksum is computed by a driver associated with network interface hardware for the communication system.

### Claim 15 (depends on 11)

The computer-readable storage medium of claim 11, wherein the method further comprises:
receiving an inbound packet from a source across the reliable network link; and
accepting the inbound packet without re-computing the checksum;
wherein re-computation of the checksum is required by the communication protocol to verify that the inbound packet was received without errors.

### Claim 16 (depends on 15)

The computer-readable storage medium of claim 15, wherein accepting the inbound packet without re-computing the checksum involves:
communicating a default checksum value to a protocol stack within the communication system;
wherein the default checksum value matches the default checksum value contained within a checksum field of the inbound packet;
whereby the protocol stack will match the default checksum value with the checksum field of the inbound packet and will consequently accept the inbound packet.

### Claim 17 (depends on 16)

The computer-readable storage medium of claim 16, wherein accepting the inbound packet without re-computing the checksum additionally involves inserting the default checksum value into the checksum field of the inbound packet.

### Claim 18 (depends on 11)

The computer-readable storage medium of claim 11, wherein the communication protocol includes one of:
Transmission Protocol (TCP);
Internet Protocol (IP); and
User Datagram Protocol (UDP).

### Claim 19 (depends on 11)

The computer-readable storage medium of claim 11, wherein the reliable network link adheres to the InifiBand standard.

### Claim 20 (depends on 12)

The computer-readable storage medium of claim 12,
wherein the checksum is a TCP checksum; and
wherein the protocol stack is an IP stack.

### Claim 21

An apparatus that bypasses use of a protocol checksum during communications across a reliable network link, comprising:
a configuration mechanism that selectively configures a communication system to bypass use of the checksum during communications across the reliable network link;
a receiving mechanism that is configured to receive an outbound packet to be transmitted to a destination across the reliable network link; and
a sending mechanism that is configured to send the outbound packet to the destination across the reliable network link without computing the checksum for the outbound packet.

### Claim 22 (depends on 21)

The apparatus of claim 21, wherein the configuration mechanism informs a protocol stack within the communication system that network interface hardware for the communication system is capable of computing the checksum, so that the protocol stack does not compute the checksum.

### Claim 23 (depends on 21)

The apparatus of claim 21,
wherein the configuration mechanism is configured to determine whether the outbound packet is directed to a valid destination that is eligible for checksum bypassing; and
wherein if the outbound packet is not directed to a valid destination, the configuration mechanism is configured to,
compute the checksum for the outbound packet, and to
insert the checksum into the outbound packet.

### Claim 24 (depends on 23)

The apparatus of claim 23, wherein the checksum is computed by a driver associated with network interface hardware for the communication system.

### Claim 25 (depends on 21)

The apparatus of claim 21, wherein the receiving mechanism is configured to:
receive an inbound packet from a source across the reliable network link; and to
accept the inbound packet without re-computing the checksum;
wherein re-computation of the checksum is required by the communication protocol to verify that the inbound packet was received without errors.

### Claim 26 (depends on 25)

The apparatus of claim 25, p1 wherein the receiving mechanism is configured to communicate a default checksum value to a protocol stack within the communication system; and
wherein the default checksum value matches the default checksum value contained within a checksum field of the inbound packet;
whereby the protocol stack will match the default checksum value with the checksum field of the inbound packet and will consequently accept the inbound packet.

### Claim 27 (depends on 26)

The apparatus of claim 26, wherein the receiving mechanism is additionally configured to insert the default checksum value into the checksum field of the inbound packet.

### Claim 28 (depends on 21)

The apparatus of claim 21, wherein the communication protocol includes one of:
Transmission Protocol (TCP);
Internet Protocol (IP); and
User Datagram Protocol (UDP).

### Claim 29 (depends on 21)

The apparatus of claim 21, wherein the reliable network link adheres to the InifiBand standard.

### Claim 30 (depends on 22)

The apparatus of claim 22,
wherein the checksum is a TCP checksum; and
wherein the protocol stack is an IP stack.
