# US 2023/0412526 A1 · Hybrid data plane for a containerized router

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

- Number: US 2023/0412526 A1
- Document ID: US20230412526A1
- Status: Published application
- Kind: A1
- Application number: 17/813,027
- Filed: 2022-07-15
- Published: 2023-12-21
- Earliest claimed: 2022-06-17
- Assignees: Juniper Networks, Inc.
- Applicants: Juniper Networks, Inc.
- Inventors: Vinay K. Nallamothu; Vinod Nair; Kiran K N; Shailender Sharma
- Web page: https://patentgrep.com/patent/US20230412526A1

## CPC

- H04L 45/64: using an overlay routing layer
- H04L 49/70: {Virtual switches}
- H04L 12/4633: {Interconnection of networks using encapsulation techniques, e.g. tunneling}
- H04L 45/38: {Flow based routing}
- H04L 45/50: using label swapping, e.g. multi-protocol label switch [MPLS]
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

In general, this disclosure describes techniques for providing a hybrid data plane that can include a kernel-based data plane and a Data Plane Development Kit (DPDK)-based data plane. An example system includes a DPDK-based virtual router configured to send and receive packets via a physical network interface, and a kernel network stack configured to perform tunneling processing for packets destined to a containerized application and received by the DPDK-based virtual router via the physical interface.

## Claims

### Claim 1

A system comprising:
processing circuitry;
a containerized application;
a physical network interface;
a data plane development kit (DPDK)-based virtual router configured to execute on the processing circuitry to send and receive packets via the physical network interface; and
a kernel network stack configured to execute on the processing circuitry to perform tunneling processing for packets destined to the containerized application and received by the DPDK-based virtual router via the physical interface.

### Claim 2 (depends on 1)

The system of claim 1, wherein the kernel network stack is further configured to perform tunnel processing for packets sourced by the containerized application and sent by the DPDK-based virtual router via the physical interface.

### Claim 3 (depends on 1)

The system of claim 1, wherein the physical interface is included in a plurality of physical interfaces of the system, and wherein each of the plurality of physical interfaces is assigned to the DPDK-based virtual router.

### Claim 4 (depends on 1)

The system of claim 1, wherein for each port of the plurality of physical interfaces, a corresponding vhost interface is configured between the DPDK-based virtual router and the kernel network stack.

### Claim 5 (depends on 4)

The system of claim 4, wherein the DPDK-based virtual router is configured to, for a packet received via a vhost interface, send the packet via the port corresponding to the vhost interface.

### Claim 6 (depends on 4)

The system of claim 4, wherein the DPDK-based virtual router is configured, for a packet received via a port, send the packet to the kernel network stack via the vhost interface corresponding to the port.

### Claim 7 (depends on 1)

The system of claim 1, wherein the DPDK-based virtual router is configured to determine whether to send an inbound network packet to the kernel network stack for the tunneling processing based on an encapsulation type of the inbound network packet.

### Claim 8 (depends on 1)

The system of claim 1, wherein the DPDK-based virtual router is configured to determine whether to send an inbound network packet to the kernel network stack for the tunneling processing based on a label of the inbound packet.

### Claim 9 (depends on 1)

The system of claim 1, wherein the DPDK-based virtual router is configured to determine whether to send an inbound network packet to the kernel network stack for the tunneling processing based on a determination that the DPDK-based virtual router is unable to process the inbound network packet.

### Claim 10 (depends on 1)

The system of claim 1, wherein the DPDK-based virtual router is configured to determine whether to send an inbound network packet to the kernel network stack for the tunneling processing based on routing information in a routing table of the DPDK-based virtual router.

### Claim 11

A method comprising:
receiving, from a physical interface by a data plane development kit (DPDK)-based virtual router executed by processing circuitry, a first packet destined for a containerized application;
determining, by the DPDK-based virtual router whether a kernel network stack executed by the processing circuitry is to perform tunneling processing for the first packet; and
in response to determining that the kernel network stack is to perform tunneling processing for the first packet, forwarding, by the DPDK-based virtual router, the first packet to the kernel network stack.

### Claim 12 (depends on 11)

The method of claim 11, wherein the method further comprises:
receiving, by the kernel network stack, a second packet from the containerized application;
performing, by the kernel network stack, tunneling processing for the second packet;
forwarding, by the kernel network stack, the processed second packet to the DPDK-based virtual router; and
sending, by the DPDK-based virtual router, the processed second packet via the physical interface to a destination network device.

### Claim 13 (depends on 12)

The method of claim 12, wherein the physical interface is included in a plurality of physical interfaces of the system, and wherein each of the plurality of physical interfaces is assigned to the DPDK-based virtual router.

### Claim 14 (depends on 11)

The method of claim 11, further comprising configuring, for each port of the plurality of physical interfaces, a corresponding vhost interface between the DPDK-based virtual router and the kernel network stack.

### Claim 15 (depends on 14)

The method of claim 14, further comprising:
receiving, by the DPDK-based virtual router from the kernel network stack, a third packet the vhost interface; and
sending, by the DPDK-based virtual router, the third packet via the port corresponding to the vhost interface.

### Claim 16 (depends on 14)

The method of claim 14, further comprising:
receiving, by the DPDK-based virtual router, a third packet via a port of the plurality of ports; and
sending, by the DPDK-based virtual router, the third packet to the kernel network stack via the vhost interface corresponding to the port.

### Claim 17 (depends on 11)

The method of claim 11, wherein determining whether the kernel network stack is to perform tunneling processing for the first packet comprises determining whether the kernel network stack is to perform tunneling processing based on one or more of an encapsulation type of the first packet, a label of the first packet, or a routing table.

### Claim 18 (depends on 11)

The method of claim 11, wherein determining whether the kernel network stack is to perform tunneling processing for the first packet comprises determining whether the kernel network stack is to perform tunneling processing based on determining, by the DPDK-based virtual router, that the DPDK-based virtual router is unable to process the inbound network packet.

### Claim 19

A computer-readable storage medium having computer-executable instructions, that when executed, cause one or more processors that execute a DPDK-based virtual router to perform operations comprising:
receive a first packet destined for a containerized application;
determine whether a kernel network stack executed by the one or more processors is to perform tunneling processing for the first packet; and
in response to a determination that the kernel network stack is to perform tunneling processing for the first packet, forward the first packet to the kernel network stack.

### Claim 20 (depends on 19)

The computer-readable storage medium of claim 19, wherein the instructions further cause the one or more processors to perform operations comprising:
receive from the kernel network stack, a second packet sent to the kernel network stack from the containerized application for tunneling processing; and
send the processed second packet via the physical interface to a destination network device.
