# US 2014/0157365 A1 · Enhanced serialization mechanism

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

- Number: US 2014/0157365 A1
- Document ID: US20140157365A1
- Status: Published application
- Kind: A1
- Application number: 13/928,300
- Filed: 2013-06-26
- Published: 2014-06-05
- Earliest claimed: 2012-12-03
- Assignees: Aruba Networks, Inc.
- Applicants: Aruba Networks, Inc.
- Inventors: Ramsundar Janakiraman; Prasad Palkar; Brijesh Nambiar; Ravinder Verma; Rajesh Mirukula
- Web page: https://patentgrep.com/patent/US20140157365A1

## CPC

- H04L 47/28: in relation to timing considerations
- H04L 49/3009: {Header conversion, routing tables or routing tags}
- H04L 45/566: {Routing instructions carried by the data packet, e.g. active networks}
- H04L 47/122: by diverting traffic away from congested entities
- H04L 47/19: at layers above the network layer (network arrangements for networked applications for scheduling or organising the servicing of application requests H04L67/60)
- H04L 61/25: of the same type
- H04L 63/0272: {Virtual private networks}
- H04L 63/101: {Access control lists [ACL]}
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

The present disclosure discloses a method and network device for an enhanced serialization mechanism. Specifically, the disclosed system receives a plurality of packets from a plurality of transport layer flows corresponding to a security association. Also, the system designates one processor of a plurality of processors to be associated with the security association. Moreover, the system assigns a sequence number to each packet, and transmits the plurality of packets from the plurality of transport layer flows such that packets within the same transport layer flow are transmitted in order of their sequence numbers. However, at least two packets from two different transport layer flows may be transmitted out of incremental order of their sequence number.

## Claims

### Claim 1

A method comprising:
receiving, by a network device, a plurality of packets from a plurality of transport layer flows corresponding to a security association;
designating, by the network device, one processor of a plurality of processors to be associated with the security association;
assigning, by the network device, a sequence number to each packet; and
transmitting, by the network device, the plurality of packets from the plurality of transport layer flows such that packets within the same transport layer flow are transmitted in order of their sequence numbers.

### Claim 2 (depends on 1)

The method of claim 1, wherein at least two packets from two different transport layer flows are transmitted out of incremental order of their sequence number.

### Claim 3 (depends on 2)

The method of claim 2, wherein the at least two packets are transmitted out of order of their sequence number subsequent to one or more of:
variations in processing times by the plurality of processors;
variations in security processing time based on different characteristics of different packets;
variations in delays associated with different queues; and
various delays experienced in an encryption setup process at the plurality of processors.

### Claim 4 (depends on 1)

The method of claim 1, wherein assigning the sequence number is performed by the designated one processor.

### Claim 5 (depends on 4)

The method of claim 4, wherein the designated one processor receives the plurality of packets from a plurality of ingress processors, and wherein each transport layer flow corresponds to a respective ingress processor.

### Claim 6 (depends on 1)

The method of claim 1, wherein assigning the sequence number is executed as a critical section by a respective ingress processor among the plurality of processors.

### Claim 7 (depends on 1)

The method of claim 1, further comprising:
forwarding, by a respective ingress CPU, the packet, information of the security association, and an internal flow identifier to the designated one processor.

### Claim 8 (depends on 7)

The method of claim 7, wherein a packet ordering module receives the plurality of packets from the designated one processor with assigned sequence number, the method further comprising the packet ordering module:
queuing the plurality of packets by the assigned sequence number of each packet in a queue; and
sending the plurality of packets to a security processing module for encryption.

### Claim 9 (depends on 8)

The method of claim 8, further comprising the packet ordering module:
receiving a processed packet from the security processing module;
determining whether the processed packet corresponds to a head element of the queue;
in response to the processed packet corresponding to the head element of the queue, transmitting the processed packet and removing the head element from the queue; and
in response to the processed packet corresponding to the head element of the queue, delaying transmission of the processed packet until the processed packet corresponds to the head element of the queue.

### Claim 10 (depends on 1)

The method of claim 1, wherein the plurality of packets corresponds to a queue that is uniquely identified by one of: a security association, a priority queue, and a basic service identifier.

### Claim 11

A network device having a symmetric multiprocessing architecture, the network device comprising:
a plurality of CPU cores;
a network interface to receive one or more data packets; and
a memory whose access is shared by the dedicated CPU core and the plurality of CPU cores;
wherein the plurality of CPU cores are to:
receive a plurality of packets from a plurality of transport layer flows corresponding to a security association;
designate one processor of a plurality of processors to be associated with the security association;
assign a sequence number to each packet; and
transmit the plurality of packets from the plurality of transport layer flows such that packets within the same transport layer flow are transmitted in order of their sequence numbers.

### Claim 12 (depends on 11)

The network device of claim 11, wherein at least two packets from two different transport layer flows are transmitted out of incremental order of their sequence number.

### Claim 13 (depends on 12)

The network device of claim 12, wherein the at least two packets are transmitted out of order of their sequence number subsequent to one or more of:
variations in processing times by the plurality of processors;
variations in security processing time based on different characteristics of different packets;
variations in delays associated with different queues; and
various delays experienced in an encryption setup process at the plurality of processors.

### Claim 14 (depends on 11)

The network device of claim 11, wherein the designated one processor assigns the sequence number.

### Claim 15 (depends on 14)

The network device of claim 14, wherein the designated one processor receives the plurality of packets from a plurality of ingress processors, and wherein each transport layer flow corresponds to a respective ingress processor.

### Claim 16 (depends on 11)

The network device of claim 11, wherein a respective ingress processor among the plurality of processors assigns the sequence number in a critical section.

### Claim 17 (depends on 11)

The network device of claim 11, a respective ingress CPU further to forward the packet, information of the security association, and an internal flow identifier to the designated one processor.

### Claim 18 (depends on 17)

The network device of claim 17, further comprising a packet ordering module to:
receive the plurality of packets from the designated one processor with assigned sequence number,
queue the plurality of packets by the assigned sequence number of each packet in a queue; and
send the plurality of packets to a security processing module for encryption/

### Claim 19 (depends on 18)

The network device of claim 18, wherein the packet ordering module further to:
receive a processed packet from the security processing module;
determine whether the processed packet corresponds to a head element of the queue;
transmit the processed packet and remove the head element from the queue in response to the processed packet corresponding to the head element of the queue; and
delay transmission of the processed packet until the processed packet corresponds to the head element of the queue in response to the processed packet corresponding to the head element of the queue.

### Claim 20 (depends on 11)

The network device of claim 11, wherein the plurality of packets corresponds to a queue that is uniquely identified by one of: a security association, a priority queue, and a basic service identifier.

### Claim 21

A non-transitory computer-readable storage medium storing embedded instructions for a plurality of operations that are executed by one or more mechanisms implemented within a network device having a symmetric multiprocessing architecture, the plurality of operations comprising:
receiving a plurality of packets from a plurality of transport layer flows corresponding to a security association;
designating one processor of a plurality of processors to be associated with the security association;
assigning a sequence number to each packet; and
transmitting the plurality of packets from the plurality of transport layer flows such that packets within the same transport layer flow are transmitted in order of their sequence numbers.
