# US 2024/0004679 A1 · Accelerating Networking by Multiplexing Driver Data Paths

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

- Number: US 2024/0004679 A1
- Document ID: US20240004679A1
- Status: Published application
- Kind: A1
- Application number: 17/809,627
- Filed: 2022-06-29
- Published: 2024-01-04
- Earliest claimed: 2022-06-29
- Assignees: Microsoft Technology Licensing, LLC
- Applicants: Microsoft Technology Licensing, LLC
- Inventors: Omar CARDONA; Narcisa Ana Maria VASILE
- Web page: https://patentgrep.com/patent/US20240004679A1

## CPC

- G06F 9/45558: {Hypervisor-specific management and integration aspects}
- G06F 9/45545: {Guest-host, i.e. hypervisor is an application program itself, e.g. VirtualBox}
- G06F 2009/4557: {Distribution of virtual machine instances; Migration and load balancing}
- G06F 2009/45579: {I/O management, e.g. providing access to device drivers or storage}
- G06F 2009/45595: {Network integration; Enabling network access in virtual machine instances}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Examples of the present disclosure describe systems and methods for multiplexing driver data paths. In examples, an application in a virtual machine provides data packets to a driver multiplexer implemented in user space of the virtual machine. The driver multiplexer determines whether a virtual function is available for transmitting the data packets. If the virtual function is available, the driver multiplexer provides the data packets to the virtual function in user space of the virtual machine. The virtual function provides the data packets to a physical network interface card of the device hosting the virtual machine. If the virtual function driver is unavailable, the driver multiplexer uses a raw socket driver to provide the data packets to a raw socket in kernel space of the virtual machine. The raw socket provides the data packets to a network virtual client, which provides the data packets to the physical network interface card.

## Claims

### Claim 1

A system comprising:
a processing system; and
memory coupled to the processing system, the memory comprising computer executable instructions that, when executed by the processing system, perform operations comprising:
providing a data packet to a driver multiplexor implemented in user space of a computing environment;
determining, by the driver multiplexor, that a virtual function configured to transmit the data packet is available;
transmitting the data packet to a network interface component via the virtual function, wherein the network interface component is external to the computing environment.

### Claim 2 (depends on 1)

The system of claim 1, wherein the computing environment is a guest environment implemented by a host device.

### Claim 3 (depends on 2)

The system of claim 2, wherein the guest environment represents a virtual machine that is managed by a hypervisor of the host device.

### Claim 4 (depends on 1)

The system of claim 1, wherein the data packet is provided to the driver multiplexor by an application in the user space of the computing environment via a software library, the software library enabling the offloading of data packets processing from kernel space of the computing environment to the user space of the computing environment.

### Claim 5 (depends on 1)

The system of claim 1, wherein determining that the virtual function is available comprises at least one of:
querying the network virtualization component; or
evaluating response messages received in response to transmitting data packets to the virtual function.

### Claim 6 (depends on 1)

The system of claim 1, wherein transmitting the data packet to the network interface component via the virtual function comprises:
using a virtual function driver to provide the driver multiplexor access to the virtual function, wherein the virtual function driver is shared across the user space of the computing environment and the kernel space of the computing environment.

### Claim 7 (depends on 1)

The system of claim 1, wherein the virtual function is implemented in the network virtualization component.

### Claim 8 (depends on 1)

The system of claim 1, wherein the virtual function enables the data packet to be transmitted from the kernel space of the computing environment to the user space of the computing environment such that the data packet bypasses a network stack of the computing environment.

### Claim 9 (depends on 1)

The system of claim 1, wherein the virtual function enables the data packet to be transmitted from the kernel space of the computing environment to the network interface component such that the data packet bypasses a network stack of a computing device that is hosting the computing environment.

### Claim 10 (depends on 1)

The system of claim 1, wherein a data path for transmitting the data packet to a network interface component via the virtual function is a hardware data path.

### Claim 11 (depends on 1)

The system of claim 1, wherein the virtual function is determined to be unavailable due to an operational failure of at least one of:
the virtual function;
the network virtualization component; or
the network interface component.

### Claim 12

A system comprising:
a processing system; and
memory coupled to the processing system, the memory comprising computer executable instructions that, when executed by the processing system, perform operations comprising:
providing a data packet to a driver multiplexor implemented in user space of a computing environment;
determining, by the driver multiplexor, that a virtual function configured to transmit the data packet is unavailable;
transmitting the data packet to a network virtualization component via a raw socket, wherein the network virtualization component is internal to the computing environment and external to the user space of the computing environment;
transmitting the data packet to a virtual switch that is external to the computing environment; and
transmitting the data packet to the network interface component.

### Claim 13 (depends on 12)

The system of claim 12, wherein transmitting the data packet to the network virtualization component via the raw socket comprises:
using a raw socket driver to provide the driver multiplexor access to the raw socket, wherein the raw socket driver is implemented in the user space of the computing environment and the raw socket is implemented in kernel space of the computing environment.

### Claim 14 (depends on 12)

The system of claim 12, wherein the network virtualization component is implemented in kernel space of the computing environment.

### Claim 15 (depends on 12)

The system of claim 12, wherein the network virtualization component encapsulates the data packet.

### Claim 16 (depends on 12)

The system of claim 12, wherein the data packet is a raw Ethernet frame.

### Claim 17 (depends on 12)

The system of claim 12, wherein the raw socket is associated with a filter mechanism, the filter mechanism enabling monitoring and filtering of the data packet as the data packet is being transmitted via the raw socket.

### Claim 18 (depends on 12)

The system of claim 12, wherein transmitting the data packet to the physical network interface card comprises:
transmitting, by the network virtualization component, the data packet to a virtual network interface card; and
transmitting, by the network interface card, the data packet to a virtual switch.

### Claim 19 (depends on 18)

The system of claim 18, wherein the virtual network interface card and the virtual switch are implemented external to the guest environment and internal to a virtual environment comprising the guest environment.

### Claim 20

A device comprising:
a processor; and
memory coupled to the processor, the memory comprising computer executable instructions that, when executed by the processor, perform operations comprising:
providing a data packet to a driver multiplexor implemented in user space of a computing environment;
determining, by the driver multiplexor, that a virtual function configured to transmit the data packet is available;
transmitting the data packet to a network interface component via the virtual function, wherein the network interface component is external to the computing environment.
