# US 2004/0057434 A1 · Multi-data receive processing according to a data communication protocol

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

- Number: US 2004/0057434 A1
- Document ID: US20040057434A1
- Status: Published application
- Kind: A1
- Application number: 10/254,699
- Filed: 2002-09-24
- Published: 2004-03-25
- Earliest claimed: 2002-09-24
- Assignees: Sun Microsystems, Inc.
- Inventors: Kacheong Poon; Cahya Adi Masputra
- Web page: https://patentgrep.com/patent/US20040057434A1

## CPC

- H04L 12/56: {Packet switching systems}
- H04L 2212/00: Encapsulation of packets
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

Embodiments of the present invention provide for multi-data receiving and processing by a network communication protocol. The present invention aggregates multiple data packets destined for the same application. The present invention also provides for header/payload splitting. The present invention also provides for the separate processing of aggregated headers and aggregated payloads. As a result, per-packet processing costs are reduced and data locality is increased.

## Claims

### Claim 1

A network device comprising:
a driver module for communicating with a network, wherein the driver module receives a plurality of data packets;
a protocol module communicatively coupled to the driver module, wherein the protocol module processes aggregated headers of the plurality of data packets to provide routing and flow control; and
an application communicatively coupled to the protocol module, wherein the application module processes aggregated payloads of the plurality of data packets.

### Claim 2 (depends on 1)

The network device according to claim 1, wherein the driver module aggregates the plurality of data packets.

### Claim 3 (depends on 1)

The network device according to claim 1, wherein the driver module splits the plurality of data packets into headers and payloads.

### Claim 4 (depends on 1)

The network device according to claim 1, wherein the protocol module aggregates the plurality of data packets.

### Claim 5 (depends on 1)

The network device according to claim 1, wherein the protocol module splits the plurality of data packets into headers and payloads.

### Claim 6 (depends on 1)

The network device according to claim 1, wherein the protocol module provides a TCP/IP protocol suite.

### Claim 7 (depends on 1)

The network device according to claim 1, wherein the aggregated headers are buffered in a first contiguous memory block.

### Claim 8 (depends on 7)

The network device according to claim 7, wherein the aggregated payloads are buffered in a second contiguous memory block.

### Claim 9 (depends on 8)

The network device according to claim 8, wherein metadata concerning the aggregated headers are buffered in a third contiguous memory block.

### Claim 10 (depends on 9)

The network device according to claim 9, wherein metadata concerning the aggregated payloads are buffered in a forth contiguous memory block.

### Claim 11 (depends on 9)

The network device according to claim 9, wherein the protocol module fetches the aggregated headers from the first contiguous memory block in one input/output memory management unit utilizing the metadata.

### Claim 12 (depends on 10)

The network device according to claim 10, wherein the application fetches the aggregated payloads from the second contiguous memory block in one input/output memory management unit utilizing the metadata.

### Claim 13 (depends on 1)

The network device according to claim 1, wherein the driver module comprises a network interface card.

### Claim 14

A method of performing network communication comprising:
accessing a plurality of received data packets;
aggregating the received data packets;
splitting the received data packets into aggregated headers and aggregated payloads;
buffering the aggregate headers in a first contiguous memory block;
buffering the aggregate payloads in a second contiguous memory block;
buffering metadata in a third contiguous memory block, wherein the metadata comprises characteristics of the buffered aggregate headers and buffered aggregated payloads;
processing the buffered aggregated headers according to a network communication protocol; and
providing the buffered aggregated payloads to a destination application.

### Claim 15 (depends on 14)

The method in accordance with claim 14, wherein the network communication protocol is a TCP/IP protocol suite.

### Claim 16 (depends on 14)

The method in accordance with claim 14, wherein the network communication protocol comprises a network layer.

### Claim 17 (depends on 16)

The method in accordance with claim 16, wherein the network layer comprises an internet protocol (IP).

### Claim 18 (depends on 14)

The method in accordance with claim 14, wherein the network communication protocol comprises a transport layer.

### Claim 19 (depends on 18)

The method in accordance with claim 18, wherein the transport layer comprises a transmission control protocol (TCP).

### Claim 20 (depends on 14)

The method in accordance with claim 14, wherein accessing the plurality of data packets is provided by a network interface card.

### Claim 21 (depends on 14)

The method in accordance with claim 14, wherein aggregating the data packets, splitting the data packets, buffering the aggregate headers, buffering the aggregate payloads and buffering the metadata is provided by a network interface card.

### Claim 22 (depends on 14)

The method in accordance with claim 14, wherein aggregating the data packets, splitting the data packets, buffering the aggregate headers, buffering the aggregate payloads and buffering the metadata is provided by a protocol module.

### Claim 23

A mechanism for performing network communication comprising:
a means for processing aggregated headers of a plurality of received data packets according to a protocol; and
a means for providing aggregated payloads of the plurality of received data packets to a destination application.

### Claim 24 (depends on 23)

The mechanism according to claim 23, wherein the aggregated headers are buffered in a first contiguous memory block.

### Claim 25 (depends on 24)

The mechanism according to claim 24, wherein the means for processing aggregated headers according to a protocol comprises a means for fetching the aggregated headers in a single input/output memory management unit.

### Claim 26 (depends on 25)

The mechanism according to claim 25, wherein the means for processing aggregated headers according to a protocol further comprises a means for processing the aggregated headers according to an internet protocol (IP).

### Claim 27 (depends on 26)

The mechanism according to claim 26, wherein the means for processing aggregated headers according to a protocol further comprises a means for processing the aggregated headers according to an transmission control protocol (TCP).

### Claim 28 (depends on 24)

The mechanism according to claim 24, wherein the aggregated payloads are buffered in a second contiguous memory block.

### Claim 29 (depends on 28)

The method of providing network communication according to claim 28, wherein the means for providing aggregated payload to a destination application comprises:
a means for copying the aggregated payloads to an application buffer in a single input/output memory management unit.

### Claim 30

A computer-readable medium having instructions which when executed by a network device causes the network device to implement a multi-data receiving method, the method comprising:
receiving data packets;
aggregating the data packets in memory;
splitting the data packets into headers and payloads;
buffering aggregated headers in a first contiguous memory block;
buffering aggregated payloads in a second contiguous memory block;
buffering metadata in a third contiguous memory block, wherein the metadata comprises characteristics of the buffered aggregated headers and buffered aggregated payloads;
processing the buffered aggregated headers according to a network communication protocol; and
providing the buffered aggregated payloads to a destination application.

### Claim 31 (depends on 30)

The computer-readable medium according to claim 30, wherein the network communication protocol comprises:
a network layer; and
a transport layer.

### Claim 32 (depends on 31)

The computer-readable medium according to claim 31, wherein the network layer comprises an internet protocol (IP).

### Claim 33 (depends on 31)

The computer-readable medium according to claim 31, wherein the transport layer comprises a transmission control protocol (TCP).
