# US 2003/0200284 A1 · Freeing transmit memory on a network interface device prior to receiving an acknowledgement that transmit data has been received by a remote device

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

- Number: US 2003/0200284 A1
- Document ID: US20030200284A1
- Status: Published application
- Kind: A1
- Application number: 10/413,256
- Filed: 2003-04-14
- Published: 2003-10-23
- Earliest claimed: 2002-04-22
- Assignees: Alacritech, Inc.
- Inventors: Clive M. Philbrick; Peter K. Craft
- Web page: https://patentgrep.com/patent/US20030200284A1

## CPC

- H04L 69/16: Implementation or adaptation of Internet protocol [IP], of transmission control protocol [TCP] or of user datagram protocol [UDP]
- 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/163: In-band adaptation of TCP data exchange; In-band control procedures
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

A transmit offload engine (TOE) such as an intelligent network interface device (INIC), video controller or host bus adapter (HBA) that can communicate data over transport protocols such as Transport Control Protocol (TCP) for a host. Such a device can send and receive data for the host to and from a remote host, over a TCP connection maintained by the device. For sending data, the device can indicate to the host that data has been transmitted from the device to a network, prior to receiving, by the device from the network, an acknowledgement (ACK) for all the data, accelerating data transmission. The greatest sequence number for which all previous bytes have been ACKed can be provided with a response to a subsequent command, with the host maintaining a table of ACK values to complete commands when appropriate.

## Claims

### Claim 1

A method for communication involving a computer, a network, and a device that is coupled between the computer and the network, the method comprising:
sending, from the computer to the device, a command to transmit application data from the computer to the network;
sending, by the device to the network, data corresponding to the command; and
sending, from the device to the computer, a response to the command indicating that the data has been sent from the device to the network, prior to receiving, by the device from the network, an acknowledgement (ACK) that all the data corresponding to the command has been received.

### Claim 2 (depends on 1)

The method of claim 1, wherein sending the response to the command is prompted by sending, from the computer to the device, a subsequent command to transmit additional application data from the computer to the network.

### Claim 3 (depends on 1)

The method of claim 1, further comprising sending a sequence number for the ACK with the response to the command.

### Claim 4 (depends on 1)

The method of claim 1, further comprising:
sending, from the computer to the device, a subsequent command to transmit additional application data from the computer to the network; and
sending, from the device to the computer, a command response after receiving, by the device from the network, an ACK for all the additional data.

### Claim 5 (depends on 1)

The method of claim 1, further comprising:
sending, from the computer to the device, a subsequent command to transmit additional application data from the computer to the network; and
sending, from the device to the computer, information indicating completion of the subsequent command after receiving, by the device from the network, an ACK for all the additional data.

### Claim 6 (depends on 1)

The method of claim 1, further comprising:
receiving, by the device, the ACK;
sending, from the device to the computer, an indication that the ACK has been received; and
completing, by the computer and in response to receiving the indication, the command.

### Claim 7 (depends on 1)

The method of claim 1, further comprising maintaining, by the computer, a table of ACK values including a value that corresponds to the ACK.

### Claim 8 (depends on 1)

The method of claim 1, further comprising:
calculating, by the computer, a sequence number corresponding to the ACK; and
completing the command by the computer, in response to receiving an indication from the device that the ACK has been received by the device.

### Claim 9 (depends on 1)

The method of claim 1, further comprising:
receiving, by the computer, the response to the command; and
sending a subsequent command to transmit additional application data from the computer to the network, the subsequent command being sent from the computer to the device and prompted by receiving the response to the command.

### Claim 10 (depends on 1)

The method of claim 1, further comprising:
storing a pointer to the command in a memory space of the device; and
freeing the memory space upon sending, from the device to the computer, the command response indicating that the data has been sent from the device to the network.

### Claim 11 (depends on 1)

The method of claim 1, wherein sending a command to transmit data includes sending, from the computer to the device, a pointer to the command.

### Claim 12 (depends on 1)

The method of claim 1, further comprising sending, with the response to the command, a sequence number beyond which previous data has not been acknowledged (ACKed).

### Claim 13 (depends on 1)

The method of claim 1, further comprising sending, with the response to the command, an indication that all data has been received for a previous command.

### Claim 14 (depends on 1)

The method of claim 1, further comprising maintaining, by the device, a Transport Control Protocol (TCP) connection that the command, the data and the ACK correspond to.

### Claim 15

A method for communication involving a computer, a network, and a device that is coupled between the computer and the network, the method comprising:
sending, from the computer to the device, a pointer to a command to transmit data from the computer to the network;
sending, by the device to the network, data corresponding to the command; and
sending, from the device to the computer, a response to the command indicating that the data has been sent from the device to the network, prior to receiving, by the device from the network, an acknowledgement (ACK) that all the data has been received.

### Claim 16 (depends on 15)

The method of claim 15, wherein sending the response to the command is prompted by sending, from the computer to the device, a subsequent pointer to a subsequent command to transmit additional application data from the computer to the network.

### Claim 17 (depends on 15)

The method of claim 15, further comprising sending a sequence number for the ACK with the response to the command.

### Claim 18 (depends on 15)

The method of claim 15, further comprising:
sending, from the computer to the device, a subsequent pointer to a subsequent command to transmit additional application data from the computer to the network; and
sending, from the device to the computer, a command response after receiving, by the device from the network, an ACK for the additional data.

### Claim 19 (depends on 15)

The method of claim 15, further comprising:
sending, from the computer to the device, a subsequent pointer to a subsequent command to transmit additional application data from the computer to the network; and
sending, from the device to the computer, information indicating completion of the subsequent command after receiving, by the device from the network, an ACK for the additional data.

### Claim 20 (depends on 15)

The method of claim 15, further comprising:
receiving, by the device, the ACK;
sending, from the device to the computer, an indication that the ACK has been received; and
completing, by the computer and in response to receiving the indication, the command.

### Claim 21 (depends on 15)

The method of claim 15, further comprising maintaining, by the computer, a table of ACK values including a value that corresponds to the ACK.

### Claim 22 (depends on 15)

The method of claim 15, further comprising:
calculating, by the computer, a sequence number corresponding to the ACK; and
completing the command by the computer, in response to receiving an indication from the device that the ACK has been received by the device.

### Claim 23 (depends on 15)

The method of claim 15, further comprising:
receiving, by the computer, the command response from the device; and
sending a subsequent pointer to a subsequent command to transmit additional application data from the computer to the network, the subsequent pointer being sent from the computer to the device and prompted by receiving the command response.

### Claim 24 (depends on 15)

The method of claim 15, further comprising:
storing the pointer to the command in a memory space of the device; and
freeing the memory space upon sending, from the device to the computer, the command response indicating that the data has been sent from the device to the network.

### Claim 25 (depends on 15)

The method of claim 15, further comprising determining that a memory space of the device in which the pointer is stored is full, prior to sending the response to the command.

### Claim 26 (depends on 15)

The method of claim 15, further comprising sending, with the response to the command, a sequence number beyond which previous data has not been acknowledged (ACKed).

### Claim 27 (depends on 15)

The method of claim 15, further comprising sending, with the response to the command, an indication that all data has been received for a previous command.

### Claim 28 (depends on 15)

The method of claim 15, further comprising maintaining, by the device, a Transport Control Protocol (TCP) connection that the command, the data and the ACK correspond to.

### Claim 29

A method for communication involving a computer, a network, and a device that is coupled between the computer and the network, the method comprising:
sending, from the device to the network, data corresponding to a Transport Connection Protocol (TCP) connection that is being controlled by the device; and
sending, from the device to the computer, an indication that the data has been sent from the device to the network, prior to receiving, by the device from the network, an acknowledgement (ACK) that all the data has been received.

### Claim 30 (depends on 29)

The method of claim 29, further comprising sending, from the computer to the device, a command to transmit the data.

### Claim 31 (depends on 30)

The method of claim 30, wherein sending the indication includes sending a response to the command.

### Claim 32 (depends on 31)

The method of claim 31, further comprising sending, with the response to the command, a sequence number beyond which previous data has not been acknowledged (ACKed).

### Claim 33 (depends on 31)

The method of claim 31, further comprising sending, with the response to the command, an indication that all data has been received for a previous command.

### Claim 34 (depends on 29)

The method of claim 29, further comprising sending, from the computer to the device, a pointer to a command to transmit the data.

### Claim 35 (depends on 34)

The method of claim 34, wherein sending the indication includes sending a response to the command.

### Claim 36 (depends on 29)

The method of claim 29, wherein sending the indication is prompted by sending, from the computer to the device, a command to transmit additional data from the computer to the network.

### Claim 37 (depends on 29)

The method of claim 29, further comprising sending a sequence number for the ACK with the indication.

### Claim 38 (depends on 29)

The method of claim 29, further comprising:
sending, from the computer to the device, a command to transmit additional data from the computer to the network; and
sending, from the device to the computer, a response to the command after receiving, by the device from the network, an ACK for the additional data.

### Claim 39 (depends on 29)

The method of claim 29, further comprising:
sending, from the computer to the device, a command to transmit additional application data from the computer to the network; and
sending, from the device to the computer, information indicating completion of the command after receiving, by the device from the network, an ACK for the additional data.

### Claim 40 (depends on 29)

The method of claim 29, further comprising:
sending, from the computer to the device, a command to transmit the data from the computer to the network;
receiving, by the device, the ACK;
sending, from the device to the computer, information that the ACK has been received; and
completing, by the computer and in response to receiving the information, the command.

### Claim 41 (depends on 29)

The method of claim 29, further comprising maintaining, by the computer, a table of ACK values including a value that corresponds to the ACK.

### Claim 42 (depends on 29)

The method of claim 29, further comprising:
sending, from the computer to the device, a command to transmit the data from the computer to the network;
calculating, by the computer, a sequence number corresponding to the ACK; and
completing the command by the computer, in response to receiving information from the device that the ACK has been received by the device.

### Claim 43 (depends on 29)

The method of claim 29, further comprising:
sending, from the computer to the device, a command to transmit additional data from the computer to the network, wherein sending the command is prompted by receiving the indication.

### Claim 44 (depends on 29)

The method of claim 29, further comprising:
sending, from the computer to the device, a pointer to a command to transmit additional data from the computer to the network, wherein sending the pointer is prompted by receiving the indication.

### Claim 45 (depends on 29)

The method of claim 29, further comprising:
storing, in a memory space of the device, a pointer to a command to transmit the data from the computer to the network; and
freeing the memory space upon sending, from the device to the computer, the indication.

### Claim 46

A method for communication involving a computer, a network, and a device that is coupled between the computer and the network, the method comprising:
sending, from the computer to the device, a series of commands to transmit application data from the computer to the network;
sending, by the device to the network, data corresponding to the commands; and
sending, from the device to the computer, a response to the commands, each response including a sequence number beyond which the data has not been acknowledged (ACKed).

### Claim 47

A system for communication involving a computer, a network, and a device that is coupled between the computer and the network, the system comprising:
means for sending, from the computer to the device, a command to transmit data from the computer to the network;
means for sending, by the device to the network, data corresponding to the command; and
means for sending, from the device to the computer, an indication that the data has been sent from the device to the network, prior to receiving, by the device from the network, an acknowledgement (ACK) that the data has been received.

### Claim 48

A data structure for use with a host that is connected to a network by a device, the data structure stored on at least one computer readable medium of the host and device, the data structure comprising:
instructions to send, from the host to the device, a command to transmit data from the host to the network;
instructions to send, from the device to the network, data corresponding to the command; and
instructions to send, from the device to the host, an indication that the data has been sent from the device to the network, prior to receiving, by the device from the network, an acknowledgement (ACK) that the data has been received.
