# US 2010/0165991 A1 · SIMD processing of network packets

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

- Number: US 2010/0165991 A1
- Document ID: US20100165991A1
- Status: Published application
- Kind: A1
- Application number: 12/317,844
- Filed: 2008-12-30
- Published: 2010-07-01
- Earliest claimed: 2008-12-30
- Assignees: Intel Corporation
- Inventors: Bryan E. Veal; Travis T. Schluessler
- Web page: https://patentgrep.com/patent/US20100165991A1

## CPC

- H04L 49/25: Routing or path finding in a switch fabric
- G06F 9/3885: {using a plurality of independent parallel functional units}
- G06F 9/3887: {controlled by a single instruction for multiple data lanes [SIMD]}
- H04L 49/9094: {Arrangements for simultaneous transmit and receive, e.g. simultaneous reading/writing from/to the storage element}
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Executing a single instruction/multiple data (SIMD) instruction of a program to process a vector of data wherein each element of the packet vector corresponds to a different received packet.

## Claims

### Claim 1

A method comprising:
executing a single instruction/multiple data (SIMD) instruction of a program to process a vector of data wherein each element of the packet vector corresponds to a different received packet.

### Claim 2 (depends on 1)

The method of claim 1,
wherein each element of the vector corresponds to a same strict subset of packet header fields.

### Claim 3 (depends on 1)

The method of claim 1, further comprising:
accessing a second vector, wherein each element of the second vector identifies occupancy of a corresponding element in the packet vector;
accessing a third vector, wherein each element of the third vector comprises flow state data for a flow of an associated packet in the packet vector;
modifying elements in the third vector.

### Claim 4 (depends on 3)

The method of claim 3, further comprising:
determining a packet should not be processed by the SIMD instructions.

### Claim 5 (depends on 1)

The method of claim 1, wherein the SIMD instruction comprises at least a portion of the program to perform at least one of the following:
determine protocols of the packets;
validate the packets;
compute header values for the packets; and
determine an execution unit to handle the packets.

### Claim 6

A method comprising:
receiving packets transmitted over a communications medium;
arranging data of the packets into a vector, wherein each element of the vector corresponds to a different packet, for single instruction/multiple data (SIMD) processing of the vector.

### Claim 7 (depends on 6)

The method of claim 6,
wherein the arranging data of the packets into a vector comprises arranging data of the packets into a vector where each element of the vector corresponds to a same strict subset of packet header fields.

### Claim 8 (depends on 7)

The method of claim 7
wherein the arranging comprises performing a Direct Memory Access of the strict subset of packet header fields data from a contiguously stored packet header.

### Claim 9 (depends on 6)

The method of claim 6, further comprising:
assigning packets to the vector such that the vector includes elements corresponding to multiple packets belonging to the same flow.

### Claim 10 (depends on 6)

The method of claim 6, further comprising:
assigning packets to the vector such that the vector does not include elements corresponding to multiple packets belonging to the same flow.

### Claim 11 (depends on 6)

The method of claim 6, further comprising:
storing a second vector, wherein each element of the second vector identifies occupancy of a corresponding element in the packet vector.

### Claim 12 (depends on 11)

The method of claim 11, further comprising:
storing a third vector, wherein each element of the third vector comprises flow state data for a flow of an associated packet in the packet vector.

### Claim 13 (depends on 6)

The method of claim 6, wherein the SIMD processing comprises at least one selected from the following group:
determining protocols of the packets;
validating the packets;
computing header values for the packets; and
determining an execution unit to handle a packet.

### Claim 14

A network interface controller, comprising:
an interface to a PHY;
a Direct Memory Access (DMA) engine to transfer data from the network interface controller to and from a memory;
circuitry to arrange data of the packets into a vector, wherein each element of the vector corresponds to a different packet, for single instruction/multiple data (SIMD) processing of the vector.

### Claim 15 (depends on 14)

The network interface controller of claim 14,
wherein the circuitry to arrange data of the packets into a vector comprises circuitry to arrange data of the packets into a vector where each element of the vector corresponds to a same strict subset of packet header fields.

### Claim 16 (depends on 14)

The network interface controller of claim 14, further comprising circuitry to assign packets to the vector such that the vector includes elements corresponding to multiple packets belonging to the same flow.

### Claim 17 (depends on 14)

The network interface controller of claim 14, further comprising circuitry to assign packets to the vector such that the vector does not include elements corresponding to multiple packets belonging to the same flow.

### Claim 18

A method, comprising:
at a host platform:
determining if a network interface controller has a capability to transpose packet header data into vectors of packet header data wherein each vector element is associated with a different packet; and
configuring the network interface controller to transpose packet header data into vectors of packet header data, the configuring identifying the packet header data to transpose.

### Claim 19 (depends on 18)

The method of claim 18, further comprising:
at the host platform:
executing program instructions of a protocol stack, the program instructions including at least one single-instruction/multiple-data instruction to process a vector of data within each of set of packets of a packet vector, wherein each element of the packet vector corresponds to a different packet.

### Claim 20 (depends on 19)

The method of claim 19, further comprising:
at the host platform:
determining whether a packet of the packet vector should thereafter be processed by instructions comprised entirely of MIMD (multiple instruction/multiple data) instructions.
