# US 2024/0223516 A1 · Hardware acceleration techniques using flow selection

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

- Number: US 2024/0223516 A1
- Document ID: US20240223516A1
- Status: Published application
- Kind: A1
- Application number: 18/604,978
- Filed: 2024-03-14
- Published: 2024-07-04
- Earliest claimed: 2020-06-02
- Assignees: VMware, Inc.
- Applicants: VMware LLC
- Inventors: Aditi GHAG; Srividya MURALI
- Web page: https://patentgrep.com/patent/US20240223516A1

## CPC

- H04L 47/125: by balancing the load, e.g. traffic engineering
- H04L 47/2483: involving identification of individual flows
- H04L 47/6205: {Arrangements for avoiding head of line blocking}
- H04L 49/508: {Head of Line Blocking Avoidance}
- H04L 49/90: Buffering arrangements
- H04L 67/60: Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources (admission control or resource allocation H04L47/70)
- H04L 69/12: Protocol engines
- H04L 69/161: {Implementation details of TCP/IP or UDP/IP stack architecture; Specification of modified or new header fields}
- H04L 69/22: Parsing or analysis of headers
- H04L 69/32: Architecture of open systems interconnection [OSI] 7-layer type protocol stacks, e.g. the interfaces between the data link level and the physical level
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

In some embodiments, a method receives a packet for a flow associated with a workload. Based on an indicator for the flow, the method determines whether the flow corresponds to one of an elephant flow or a mice flow. Only when the flow is determined to correspond to an elephant flow, the method enables a hardware acceleration operation on the packet. The hardware acceleration operation may include hardware operation offload, receive side scaling, and workload migration.

## Claims

### Claim 1

A method comprising:
receiving a packet for a flow;
based on an indicator for the flow, determining whether the flow corresponds to one of first classification or a second classification, the first classification being associated with a first duration of less than a first threshold, the second classification being associated with a second duration of greater than a second threshold; and
based on a determination that the flow corresponds to an elephant flow, enabling a hardware acceleration operation on the packet.

### Claim 2 (depends on 1)

The method of claim 1, wherein enabling the hardware acceleration operation comprises:
offloading an operation on the packet from a network stack to a physical network interface card when the flow is associated with a second classification; and
performing the hardware acceleration operation using the physical network interface card.

### Claim 3 (depends on 1)

The method of claim 1, wherein enabling the hardware acceleration operation comprises:
receiving the packet at a physical network interface card; and
performing the hardware acceleration operation in the physical network interface card.

### Claim 4 (depends on 1)

The method of claim 1, wherein enabling the hardware acceleration operation comprises:
storing identification information for a set of flows associated with a set of workloads in a table based on network traffic associated with respective flows or workloads; and
determining that identification information for the flow is found in the table, wherein the flow table identifies the flow as being associated with the second classification.

### Claim 5 (depends on 1)

The method of claim 1, wherein enabling the hardware acceleration operation comprises:
storing the packet in a queue associated with a physical network interface card, wherein the queue is associated with packets from one or more flows corresponding to second classifications.

### Claim 6 (depends on 5)

The method of claim 5, wherein:
a first queue stores packets for one or more flows corresponding to second classifications; and
a second queue stores packets for one or more flows corresponding to first classifications.

### Claim 7 (depends on 1)

The method of claim 1, wherein enabling the hardware acceleration operation comprises:
tagging a workload to indicate that the flow is associated with second classifications; and
migrating the workload to a device, wherein information indicating the workload is associated with second classifications is sent to the device to allow the device to identify a flow associated with the workload as corresponding to the second classification.

### Claim 8

A non-transitory computer-readable storage medium storing a first program for executing by a processing unit of a computer, the program comprising sets of instructions for:
receiving a packet for a flow associated with a workload;
based on an indicator for the flow, determining whether the flow corresponds to one of a second classification or a first classification, the first classification being associated with a first data size of less than a first threshold, the second classification being associated with a second data size of greater than a second threshold;
when the flow is determined to correspond to a second classification, directing the packet to a physical network interface card (PNIC) to perform an operation; and
when the flow is determined to correspond to a first classification, directing the packet to a second program executing on the computer to perform the operation on the packet.

### Claim 9 (depends on 8)

The non-transitory computer-readable storage medium of claim 8, wherein the second program is a network stack of the computer, wherein directing the packet to the PNIC comprises:
offloading the operation on the packet from the network stack to the PNIC; and
performing the operation using the PNIC.

### Claim 10 (depends on 8)

The non-transitory computer-readable storage medium of claim 8, the program further comprising sets of instructions for:
storing identification information for a set of flows associated with a set of workloads in a table based on network traffic associated with respective flows or workloads; and
determining that identification information for the flow is found in the table, wherein the flow table identifies the flow as being associated with the second classification.

### Claim 11 (depends on 8)

The non-transitory computer-readable storage medium of claim 8, wherein directing the packet to the PNIC comprises:
storing the packet in a queue associated with the PNIC, wherein the queue is associated with packets from one or more flows corresponding to second classifications.

### Claim 12 (depends on 11)

The non-transitory computer-readable storage medium of claim 11, wherein:
a first queue stores packets for one or more flows corresponding to second classifications; and
a second queue stores packets for one or more flows corresponding to first classifications.

### Claim 13 (depends on 8)

The non-transitory computer-readable storage medium of claim 8, the program further comprising sets of instructions for:
tagging a workload to indicate that the workload is associated with second classifications; and
migrating the workload to a device, wherein information indicating the workload is associated with second classifications is sent to the device to allow the device to identify a flow associated with the workload as corresponding to the second classification.

### Claim 14

An apparatus comprising:
one or more computer processors; and
a non-transitory computer-readable storage medium comprising instructions, that when executed, control the one or more computer processors to be operable for:
receiving a packet for a flow;
based on an indicator for the flow, determining whether the flow corresponds to one of an second classification or a first classification, the first classification being associated with a first duration of less than a first threshold, the second classification being associated with a second duration of greater than a second threshold; and
only when the flow is determined to correspond to a second classification, enabling a hardware acceleration operation.

### Claim 15 (depends on 14)

The apparatus of claim 14, wherein enabling the hardware acceleration operation comprises:
offloading an operation on the packet from a network stack to a physical network interface card when the flow is associated with the second classification; and
performing the hardware acceleration operation using the physical network interface card.

### Claim 16 (depends on 14)

The apparatus of claim 14, wherein enabling the hardware acceleration operation comprises:
receiving the packet at a physical network interface card; and
performing the hardware acceleration operation in the physical network interface card.

### Claim 17 (depends on 14)

The apparatus of claim 14, wherein enabling the hardware acceleration operation comprises:
storing identification information for a set of flows associated with a set of workloads in a table based on network traffic associated with respective flows or workloads; and
determining that identification information for the flow is found in the table, wherein the flow table identifies the flow as being associated with the second classification.

### Claim 18 (depends on 15)

The apparatus of claim 15, wherein enabling the hardware acceleration technique operation comprises:
storing the packet in a queue associated with a physical network interface card, wherein the queue is associated with packets from one or more flows corresponding to second classifications.

### Claim 19 (depends on 14)

The apparatus of claim 14, wherein:
a first queue stores packets for one or more flows corresponding to second classifications; and
a second queue stores packets for one or more flows corresponding to first classifications.

### Claim 20 (depends on 14)

The apparatus of claim 14, wherein enabling the hardware acceleration operation comprises:
tagging a workload to indicate that the flow is associated with the second classification; and
migrating the workload to a device, wherein information indicating the workload is associated with second classification is sent to the device to allow the device to identify a flow associated with the workload as corresponding to an elephant flow.
