# US 2026/0291919 A1 · Parallel ipsec processing using processor cores and queuing logic

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

- Number: US 2026/0291919 A1
- Document ID: US20260291919A1
- Status: Published application
- Kind: A1
- Application number: 19/088,955
- Filed: 2025-03-24
- Published: 2026-09-24
- Earliest claimed: 2025-03-24
- Assignees: Microsoft Technology Licensing, LLC
- Applicants: Microsoft Technology Licensing, LLC
- Inventors: Shivakumar THANGAPANDI
- Web page: https://patentgrep.com/patent/US20260291919A1

## CPC

- H04L 63/029: {Firewall traversal, e.g. tunnelling or, creating pinholes}
- H04L 63/0485: {Networking architectures for enhanced packet encryption processing, e.g. offloading of IPsec packet processing or efficient security association look-up}
- H04L 47/6225: {Fixed service order, e.g. Round Robin}
- H04L 63/0428: {wherein the data content is protected, e.g. by encrypting or encapsulating the payload}
- H04L 63/0435: {wherein the sending and receiving network entities apply symmetric encryption, i.e. same key used for encryption and decryption (cryptographic mechanisms or cryptographic arrangements for symmetric key encryption H04L9/06)}
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

A computerized method processes network packets in parallel. Packets are obtained from network traffic of a network tunnel. The packets are distributed between two input queues, wherein each input queue is associated with a dedicated packet processing branch that can operate in parallel with other packet processing branches. Packets from the input queues are processed using dedicated packet processors (e.g., dedicated CPU core(s) and/or other dedicated processing entities) and the resulting processed packets are added to associated output queues. Packet order information is used to maintain the proper packet order across the multiple packet processing branches such that, when the processed packets from the multiple output queues are combined into a single processed packet flow or stream, the packets are in the same order as when they entered the network tunnel. After the processed packets are combined, they proceed along the network tunnel.

## Claims

### Claim 1

A system comprising:
a processor; and
a memory comprising computer program code, the memory and the computer program code configured to cause the processor to:
add a first subgroup of packets of a group of packets from a network traffic tunnel to a first input queue;
add a second subgroup of packets of the group of packets to a second input queue;
process the first subgroup of packets using a first cryptographic processor;
process the second subgroup of packets using a second cryptographic processor, wherein the first cryptographic processor and second cryptographic processor process packets in parallel;
add processed packets from the first cryptographic processor to a first output queue using first packet order information associated with the first subgroup of packets;
add processed packets from the second cryptographic processor to a second output queue using second packet order information associated with the second subgroup of packets;
combine the processed packets from the first output queue and the processed packets from the second output queue into processed network traffic using the first packet order information and the second packet order information; and
send the processed network traffic along the network traffic tunnel.

### Claim 2 (depends on 1)

The system of claim 1, wherein processing the first subgroup of packets using the first cryptographic processor and processing the second subgroup of packets using the second cryptographic processor includes at least one of data encryption or data decryption.

### Claim 3 (depends on 1)

The system of claim 1, wherein the memory and the computer program code are configured to further cause the processor to use a plurality of worker threads to manage the first input queue, the second input queue, the first cryptographic processor, the second cryptographic processor, the first output queue, and the second output queue, wherein at least a portion of the plurality of worker threads perform management tasks in parallel with each other.

### Claim 4 (depends on 1)

The system of claim 1, wherein the network traffic tunnel is associated with network traffic to be decrypted and processing the group of packets includes decrypting the first subgroup of packets using the first cryptographic processor and decrypting the second subgroup of packets using the second cryptographic processor; and
wherein another network traffic tunnel associated with network traffic to be encrypted includes another group of cryptographic processors that are used to encrypt packets of the other network traffic tunnel.

### Claim 5 (depends on 1)

The system of claim 1, wherein the first input queue and the second input queue are first in first out (FIFO) data structures and the first output queue and the second output queue are circular data structures; and
wherein the first packet order information and the second packet order information include an indicator of a location in at least one of the first output queue or the second output queue, wherein the indicator indicates the location of the processed packets in an associated output queue in order.

### Claim 6 (depends on 1)

The system of claim 1, wherein adding the first subgroup of packets to the first input queue and adding the second subgroup of packets to the second input queue are performed using receive side scaling (RSS).

### Claim 7 (depends on 1)

The system of claim 1, wherein the network traffic tunnel includes a dedicated network interface controller (NIC); and
wherein the first cryptographic processor and the second cryptographic processor include a plurality of dedicated central processing unit (CPU) cores.

### Claim 8

A computerized method comprising:
adding a first subgroup of packets of a group of packets from a network traffic tunnel to a first input queue;
adding a second subgroup of packets of the group of packets to a second input queue;
processing the first subgroup of packets using a first packet processor;
processing the second subgroup of packets using a second packet processor, wherein the first packet processor and second packet processor process packets in parallel;
adding processed packets from the first packet processor to a first output queue using first packet order information associated with the first subgroup of packets;
adding processed packets from the second packet processor to a second output queue using second packet order information associated with the second subgroup of packets;
combining the processed packets from the first output queue and the processed packets from the second output queue into processed network traffic using the first packet order information and the second packet order information; and
sending the processed network traffic along the network traffic tunnel.

### Claim 9 (depends on 8)

The computerized method of claim 8, wherein processing the first subgroup of packets using the first packet processor and processing the second subgroup of packets using the second packet processor includes at least one of data encryption or data decryption.

### Claim 10 (depends on 8)

The computerized method of claim 8, further comprising using a plurality of worker threads to manage the first input queue, the second input queue, the first packet processor, the second packet processor, the first output queue, and the second output queue, wherein at least a portion of the plurality of worker threads perform management tasks in parallel with each other.

### Claim 11 (depends on 8)

The computerized method of claim 8, wherein the network traffic tunnel is associated with network traffic to be decrypted and processing the group of packets includes decrypting the first subgroup of packets using the first packet processor and decrypting the second subgroup of packets using the second packet processor; and
wherein another network traffic tunnel associated with network traffic to be encrypted includes another group of packet processors that are used to encrypt packets of the other network traffic tunnel.

### Claim 12 (depends on 8)

The computerized method of claim 8, wherein the first input queue and the second input queue are first in first out (FIFO) data structures and the first output queue and the second output queue are circular data structures; and
wherein the first packet order information and the second packet order information include an indicator of a location in at least one of the first output queue or the second output queue, wherein the indicator indicates the location of the processed packets in an associated output queue in order.

### Claim 13 (depends on 8)

The computerized method of claim 8, wherein adding the first subgroup of packets to the first input queue and adding the second subgroup of packets to the second input queue are performed using receive side scaling (RSS).

### Claim 14 (depends on 8)

The computerized method of claim 8, wherein the network traffic tunnel includes a dedicated network interface controller (NIC); and
wherein the first packet processor and the second packet processor include a plurality of dedicated central processing units (CPUs).

### Claim 15

A computer storage medium has computer-executable instructions that, upon execution by a processor, cause the processor to at least:
obtain a group of packets from a network traffic tunnel;
divide the obtained group of packets into a plurality of packet subgroups;
distribute the plurality of packet subgroups to a plurality of input queues;
transfer packets from the plurality of input queues to a plurality of packet processors, wherein each packet processor is dedicated to one input queue of the plurality of input queues;
process the transferred packets using the plurality of packet processors;
transfer the processed packets from the plurality of packet processors to a plurality of output queues, wherein each packet processor is dedicated to one output queue of the plurality of output queues;
combine the transferred processed packets from the plurality of output queues into processed network traffic using associated packet order information; and
send the processed network traffic along the network traffic tunnel.

### Claim 16 (depends on 15)

The computer storage medium of claim 15, wherein processing the transferred packets using the plurality of packet processors includes at least one of data encryption or data decryption.

### Claim 17 (depends on 15)

The computer storage medium of claim 15, wherein the computer-executable instructions, upon execution by a processor, further cause the processor to at least use a plurality of worker threads to manage the plurality of input queues, the plurality of packet processors, and the plurality of output queues, wherein at least a portion of the plurality of worker threads perform management tasks in parallel with each other.

### Claim 18 (depends on 15)

The computer storage medium of claim 15, wherein the network traffic tunnel is associated with network traffic to be decrypted and processing the group of packets includes decrypting the group of packets using the plurality of packet processors; and
wherein another network traffic tunnel associated with network traffic to be encrypted includes another plurality of packet processors that are used to encrypt packets of the other network traffic tunnel.

### Claim 19 (depends on 15)

The computer storage medium of claim 15, wherein the plurality of input queues are first in first out (FIFO) data structures and the plurality of output queues are circular data structures; and
wherein packet order information includes an indicator of a location in at least one of the plurality of output queues, wherein the indicator indicates the location of a processed packet in an associated output queue in order.

### Claim 20 (depends on 15)

The computer storage medium of claim 15, wherein the network traffic tunnel includes a dedicated network interface controller (NIC); and
wherein the plurality of packet processors includes a plurality of dedicated central processing units (CPUs).
