# US 2017/0286354 A1 · Separation of control and data plane functions in soc virtualized i/o device

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

- Number: US 2017/0286354 A1
- Document ID: US20170286354A1
- Status: Published application
- Kind: A1
- Application number: 15/629,293
- Filed: 2017-06-21
- Published: 2017-10-05
- Earliest claimed: 2015-11-18
- Assignees: Oracle International Corporation
- Applicants: Oracle International Corporation
- Inventors: John R. Feehrer; Matthew Cohen; Rahoul Puri; Tayfun Kocaoglu; John Johnson; David Kahn; Alan Adamson; Sriram Jayakumar; Julia Harper; Robert G. Sheldon; Mark Kanda
- Web page: https://patentgrep.com/patent/US20170286354A1

## CPC

- G06F 13/4282: {on a serial bus, e.g. I2C bus, SPI bus (on daisy chain buses G06F13/4247)}
- G06F 9/45545: {Guest-host, i.e. hypervisor is an application program itself, e.g. VirtualBox}
- G06F 13/36: for access to common bus or bus system
- G06F 2213/0026: PCI express
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

An apparatus and method for controlling a device with shared hardware resources to provide separate execution environments for control and data functions are disclosed. A processor may be configured to generate a first request to access control functions of the device in response to execution of a first thread, and generate a second request to access data functions of the device in response to execution of a second thread. A communication unit may send first indicative of the first request and second data indicative of the second request to the device via first and second ports, respectively.

## Claims

### Claim 1

An apparatus, comprising:
a device including one or more hardware resources shared between one or more guest operating systems, wherein access to the one or more hardware resources is managed by one or more control functions associated with the device, and wherein the device is configured to receive and relay data payloads according to one or more data functions associated with the device;
a processor configured to:
generate a first request to access the one or more control functions associated with the device, in response to execution of a first thread; and
generate a second request to access the one or more data functions in response to execution of a second thread; and
a communication circuit include a first hardware port and a second hardware port, wherein the communication circuit is configured to:
in response to receiving the first request via a first communication protocol, relay first data indicative of the first request to the device using the first hardware port and the first communication protocol; and
in response to receiving the second request via the first communication protocol, send second data indicative of the second request to the device using the second hardware port and the first communication protocol.

### Claim 2 (depends on 1)

The apparatus of claim 1, wherein the device is coupled to a communication link employing a second communication protocol, and further configured to access the communication link based on the one or more control functions associated with the device and the one or more data functions.

### Claim 3 (depends on 1)

The apparatus of claim 1, wherein the device is further configured to communicate one or more capabilities to the processor during an initialization procedure using the first communication protocol.

### Claim 4 (depends on 1)

The apparatus of claim 1, wherein the device includes a plurality of registers, and wherein the first request includes a third request to access at least one register of the plurality of registers.

### Claim 5 (depends on 1)

The apparatus of claim 1, wherein the first communication protocol includes a Peripheral Component Interface Express (PCIe) communication protocol.

### Claim 6 (depends on 1)

The apparatus of claim 1, wherein the device is further configured to detect one or more events, and wherein the processor is further configured to store a particular data value in a memory location in response to a detection of the one or more events by a driver executing in the second thread.

### Claim 7

A method, comprising:
accessing, using a first communication protocol, one or more control functions to manage access to hardware resources included in a device by one or more guest operating systems in a computing system, using a first hardware port of a communication circuit by a particular processor of a plurality of processors executing a first thread;
accessing, using the first communication protocol, one or more data functions associated with receiving or relaying data payloads by the device, using a second hardware port of the communication circuit by the particular processor of the plurality of processors executing a second thread; and
accessing a communication link by the device based on the one or more control functions included in the device and the one or more data functions of the device, wherein the communication link employs a second communication protocol.

### Claim 8 (depends on 7)

The method of claim 7, further comprising communicating, by the device, one or more capabilities to the particular processor of the plurality of processors during an initialization procedure using the first communication protocol.

### Claim 9 (depends on 7)

The method of claim 7, wherein accessing the one or more control functions includes transmitting first data indicative of the one or more control functions to the communication circuit using the first communication protocol.

### Claim 10 (depends on 7)

The method of claim 7, wherein the device further includes a plurality of registers, and wherein accessing the one or more control functions includes accessing at least one register of the plurality of registers.

### Claim 11 (depends on 7)

The method of claim 7, wherein each of the plurality of processors, the communication circuit, and the device are included in a common integrated circuit chip.

### Claim 12 (depends on 7)

The method of claim 7, wherein accessing the one or more control functions included in the device further includes transmitting, by the first hardware port of the communication circuit, second data indicative of one or more commands to the device using the second communication protocol.

### Claim 13 (depends on 7)

The method of claim 7, wherein the second communication protocol includes a Peripheral Component Interface Express (PCIe) protocol.

### Claim 14

A system, comprising:
a plurality of processors, wherein a first processor of the plurality of processors is configured to execute a first plurality of software instructions included in a first guest operating system instance, and wherein a second processor of the plurality of processors is configured to execute a second plurality of software instructions included in a second guest operating system instance;
a first device configured to perform a plurality of control functions and a plurality of virtual functions, wherein the first device includes at least one hardware resource configured to be shared by two or more virtual functions of the plurality of virtual functions;
a second device; and
a communication unit including a first port and a second port, wherein the first port is coupled to the first device via a first link and the second port is coupled to the second device via a second link;
wherein the first port is configured to:
transmit at least a first command via the first link using a first communication protocol to the first device in response to an execution of at least a first instruction included in a first subset of the first plurality of software instructions, wherein each instruction included in the first subset controls at least one control function of the plurality of commands functions; and
transmit at least a second command via the first link using the first communication protocol in response to an execution of at least a second instruction included in a second subset of the first plurality of software instructions, wherein each instruction, included in the second subset of the first plurality of software instructions, controls a first virtual function of the plurality of virtual functions.

### Claim 15 (depends on 14)

The system of claim 14, wherein at least the first instruction of the first subset of the first plurality of software instructions is included in a first execution thread, and wherein at least the second instruction is included in a second execution thread.

### Claim 16 (depends on 14)

The system of claim 14, wherein the first port is further configured to transmit at least a third command via the first link using the first communication protocol to the first device in response to an execution of at least a third software instruction of the second plurality of software instructions by the second processor.

### Claim 17 (depends on 14)

The system of claim 14, wherein the second port is configured to transmit at least a fourth command via the second link using a second communication protocol to the second device in response to an execution of at least a third instruction of the second plurality of software instructions, wherein the second communication protocol is different from the first communication protocol.

### Claim 18 (depends on 17)

The system of claim 17, wherein the second communication protocol includes a Peripheral Component Interface Express (PCIe).

### Claim 19 (depends on 14)

The system of claim 14, wherein the first device is coupled to a transmission unit, wherein the transmission unit is configured to send and receive data packets via a serial data link.

### Claim 20 (depends on 14)

The system of claim 14, wherein each of the plurality of processors, the communication unit, and the first device are included in a common integrated circuit chip.
