# US 2023/0055703 A1 · Packet processing with per flow hash key selection

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

- Number: US 2023/0055703 A1
- Document ID: US20230055703A1
- Status: Published application
- Kind: A1
- Application number: 17/983,197
- Filed: 2022-11-08
- Published: 2023-02-23
- Earliest claimed: 2022-11-08
- Assignees: Intel Corporation
- Applicants: Intel Corporation
- Inventors: Andrey CHILIKIN; Vladimir MEDVEDKIN; Elazar COHEN
- Web page: https://patentgrep.com/patent/US20230055703A1

## CPC

- H04L 49/3063: {Pipelined operation}
- H04L 45/7453: using hashing
- H04L 49/9047: including multiple buffers, e.g. buffer pools
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

An apparatus is described. The apparatus includes queue assignment circuitry. The queue assignment circuitry includes first circuitry to select amongst multiple hash keys and second circuitry to hash content of a packet's header with a selected one of the hash keys.

## Claims

### Claim 1

An apparatus, comprising:
a queue assignment circuitry comprising first circuitry to select amongst multiple hash keys and second circuitry to hash content of a packet's header with a selected one of the hash keys.

### Claim 2 (depends on 1)

The apparatus of claim 1 wherein the first circuitry and the second circuitry are within a same stage of a packet processing pipeline.

### Claim 3 (depends on 2)

The apparatus of claim 2 wherein the stage is to assign packets to queues.

### Claim 4 (depends on 1)

The apparatus of claim 1 wherein one of the hash keys is to implement receive side scaling so that packets from multiple flows are spread across multiple queues.

### Claim 5 (depends on 1)

The apparatus of claim 1 wherein the queue assignment circuitry is integrated with circuitry of a packet processing pipeline that comprises a stage to generate an identifier of one of the hash keys from the packet's classification.

### Claim 6 (depends on 1)

The apparatus of claim 1 wherein the queue assignment circuitry is integrated with circuitry of a packet processing pipeline that is to identify a type of flow of a packet from the packet's classification, where, which of the multiple keys is selected by the first circuitry is based on the packet's type of flow.

### Claim 7 (depends on 1)

The apparatus of claim 1 wherein a first of the hash keys is to implement receive side scaling and a second of the hash keys is to direct packets having different header values to a same queue, the same queue to feed a processor that is to perform network address translation on the packets having the different header values.

### Claim 8 (depends on 7)

The apparatus of claim 7 wherein the queue assignment circuitry is integrated with circuitry of a packet processing pipeline and the second hash key is specially constructed for the pipeline.

### Claim 9

A system, comprising:
a plurality of processing cores;
memory to implement a plurality of queues, wherein, specific ones of the processing cores are fed with packets from specific ones of the queues;
a packet processing pipeline comprising first circuitry to select amongst multiple hash keys and second circuitry to hash content of a packet's header with a selected one of the hash keys, wherein, one of the queues is to be identified for placement of the packet from a hash signature generated by the second circuitry.

### Claim 10 (depends on 9)

The system of claim 9 wherein one of the hash keys is to implement receive side scaling so that packets from multiple flows are spread across multiple ones of the queues.

### Claim 11 (depends on 10)

The system of claim 10 wherein the pipeline is to generate an identifier of one of the hash keys from the packet's classification.

### Claim 12 (depends on 9)

The system of claim 9 wherein the pipeline is to identify a type of flow of a packet from the packet's classification, where, which of the multiple keys is selected by the first circuitry is based on the packet's type of flow.

### Claim 13 (depends on 9)

The system of claim 9 wherein a first of the hash keys is to implement receive side scaling and a second of the hash keys is to direct packets having different header content to a same queue.

### Claim 14 (depends on 13)

The system of claim 13 wherein the second hash key is specially constructed by the computing system for the pipeline.

### Claim 15 (depends on 9)

The system of claim 9 wherein one of the hash keys is used for packets belonging to a pass-through stateful bi-directional flow and another of the hash keys is used for packets belonging to a modified stateful bi-directional flow.

### Claim 16

A data center, comprising:
a plurality of computing systems;
one or more networks to which the plurality of computing systems are coupled, the one or more networks comprising a network node, the node to handle different flows of packets that are sent to and/or from the plurality of computing systems, the different flows comprising unidirectional flows, pass-through stateful bi-directional flows and modified stateful bi-directional flows, the node comprising circuitry to apply a first hash key for the unidirectional flows and the pass-through stateful bi-directional flows, and, apply a second hash key for the modified stateful bi-directional flows.

### Claim 17 (depends on 16)

The data center of claim 16 wherein the first hash key is a Toeplitz hash key and the second hash key was specially constructed for the node.

### Claim 18 (depends on 16)

The data center of claim 16 wherein the node comprises a packet processing pipeline that classifies the packets, the packet processing pipeline to determine when the first hash key is to be applied to packet and when the second hash key is to be applied to a packet.

### Claim 19 (depends on 18)

The data center of claim 18 wherein the packet processing pipeline is integrated on a network interface of the node.

### Claim 20 (depends on 19)

The data center of claim 19 wherein the network interface is a network interface card.

### Claim 21

A machine readable storage medium containing program code that when processed by one or more processors causes the one or more processors to perform a method, comprising:
configuring a packet processing pipeline with multiple hash keys, the multiple hash keys to be respectively applied to respective header information of respective packets of respective flows that are to be processed by the packet processing pipeline.
