# US 2025/0211539 A1 · System and method for adaptive generic receive offload

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

- Number: US 2025/0211539 A1
- Document ID: US20250211539A1
- Status: Published application
- Kind: A1
- Application number: 19/079,214
- Filed: 2025-03-13
- Published: 2025-06-26
- Earliest claimed: 2023-01-12
- Assignees: Enfabrica Corporation
- Applicants: Enfabrica Corporation
- Inventors: Shrijeet Mukherjee; Carlo Contavalli; Shimon Muller; Ariel Hendel; Gurjeet Singh; Rochan Sankar
- Web page: https://patentgrep.com/patent/US20250211539A1

## CPC

- H04L 47/2483: involving identification of individual flows
- H04L 47/41: by acting on aggregated flows or links
- H04L 47/621: {Individual queue per connection or flow, e.g. per VC}
- H04L 49/901: using storage descriptor, e.g. read or write pointers
- H04L 49/9015: for supporting a linked list
- H04L 49/9047: including multiple buffers, e.g. buffer pools
- H04L 49/9068: {in the network interface card}
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

An adaptive generic receive offload (A-GRO) system and method are disclosed. In some embodiments, the system comprises a host including a host protocol stack and a host memory, and a network interface card that is communicatively connectable to the host. The A-GRO system is configured to: receive a packet from a network, parse the packet to a header and a payload, classify and map the packet into a particular flow based on contexts associated with a plurality of flows and the header, and move the header and the payload to separate queues associated with the particular flow in the host memory, without holding and stalling the packet in hardware of the NIC. By maintain packet coherence information including header chains, the A-GRO allows the host to skip processing the packets between the first and last headers in a GRO aggregation. The A-GRO system also improves mis-ordering packet handling.

## Claims

### Claim 1

A method comprising:
providing a host comprising a host protocol stack and a host memory, the host memory including a header queue and a payload queue;
providing a network interface card (NIC) communicatively connected to the host;
receiving, by the NIC, a plurality of network packets, each network packet including a header and a payload;
moving, by the NIC, the header and the payload for each network packet of the plurality of packets to the header queue and the payload queue, respectively, wherein the payload for at least one network packet of the plurality of network packets is moved to the payload queue out of order;
creating, by the host and the host protocol stack, an aggregation of payloads in the payload queue; and
determining, by the host and the host protocol stack, a correct order for the payloads in the aggregation using a forward linked chain that identifies the correct order based on the headers in the header queue.

### Claim 2 (depends on 1)

The method of claim 1, wherein each network packet from the plurality of network packets is associated with a network flow from a plurality of network flows.

### Claim 3 (depends on 2)

The method of claim 2, wherein the header queue and the payload queue are assigned to the network flow, and wherein the host memory includes additional header queues and payload queues assigned to additional network flows from the plurality of network flows.

### Claim 4 (depends on 2)

The method of claim 2, further comprising creating a forward link between a first header buffer and a second header buffer, wherein:
the first header buffer and the second header buffer are associated with the header queue,
the first header buffer is used to store a first header for a first network packet of the network flow received at a first time, and
the second header buffer is used to store a second header for a second network packet of the network flow received at a second time subsequent to the first time.

### Claim 5 (depends on 4)

The method of claim 4, wherein the forward linked chain includes the forward link.

### Claim 6 (depends on 1)

The method of claim 1, wherein moving the header and the payload is performed without storing the header or the payload in hardware of the NIC.

### Claim 7 (depends on 1)

The method of claim 1, wherein the aggregation allows multiple network packets of a network flow to be combined into a single packet for processing.

### Claim 8 (depends on 1)

The method of claim 1, wherein the header and the payload are moved to the header queue and the payload queue, respectively, without modification.

### Claim 9 (depends on 1)

The method of claim 1, further comprising using a receive completion queue in the host memory to notify the host that all the payloads for the aggregation have been received.

### Claim 10 (depends on 9)

The method of claim 9, wherein the forward linked chain and the receive completion queue provide packet coherence information that is used to reduce processing latency.

### Claim 11

A system comprising:
a host comprising a host protocol stack and a host memory, the host memory including a header queue and a payload queue;
a network interface card (NIC) communicatively connected to the host and configured to:
receive a plurality of network packets, each network packet including a header and a payload; and
move the header and the payload for each network packet of the plurality of packets to the header queue and the payload queue, respectively, wherein the payload for at least one network packet of the plurality of network packets is moved to the payload queue out of order,
wherein the host and the host protocol stack are configured to:
create an aggregation of payloads in the payload queue; and
determine a correct order for the payloads in the aggregation using a forward linked chain that identifies the correct order based on the headers in the header queue.

### Claim 12 (depends on 11)

The system of claim 11, wherein each network packet from the plurality of network packets is associated with a network flow from a plurality of network flows.

### Claim 13 (depends on 12)

The system of claim 12, wherein the header queue and the payload queue are assigned to the network flow, and wherein the host memory includes additional header queues and payload queues assigned to additional network flows from the plurality of network flows.

### Claim 14 (depends on 12)

The system of claim 12, further comprising creating a forward link between a first header buffer and a second header buffer, wherein:
the first header buffer and the second header buffer are associated with the header queue, the first header buffer is used to store a first header for a first network packet of the network flow received at a first time, and
the second header buffer is used to store a second header for a second network packet of the network flow received at a second time subsequent to the first time.

### Claim 15 (depends on 14)

The system of claim 14, wherein the forward linked chain includes the forward link.

### Claim 16 (depends on 11)

The system of claim 11, wherein the header and the payload are moved without storing the header or the payload in hardware of the NIC.

### Claim 17 (depends on 11)

The system of claim 11, wherein the aggregation allows multiple network packets of a network flow to be combined into a single packet for processing.

### Claim 18 (depends on 11)

The system of claim 11, wherein the header and the payload are moved to the header queue and the payload queue, respectively, without modification.

### Claim 19 (depends on 11)

The system of claim 11, further comprising using a receive completion queue in the host memory to notify the host that all the payloads for the aggregation have been received.

### Claim 20 (depends on 19)

The system of claim 19, wherein the forward linked chain and the receive completion queue provide packet coherence information that is used to reduce processing latency.
