# US 2013/0159572 A1 · Managing configuration and system operations of a non-shared virtualized input/output adapter as virtual peripheral component interconnect root to multi-function hierarchies

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

- Number: US 2013/0159572 A1
- Document ID: US20130159572A1
- Status: Published application
- Kind: A1
- Application number: 13/328,640
- Filed: 2011-12-16
- Published: 2013-06-20
- Earliest claimed: 2011-12-16
- Assignees: International Business Machines Corporation
- Inventors: Charles S. Graham; Gregory M. Nordstrom; John R. Oberly, III
- Web page: https://patentgrep.com/patent/US20130159572A1

## CPC

- G06F 13/387: {for adaptation of different data processing systems to different peripheral devices, e.g. protocol converters for incompatible systems, open system}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A computer system includes an adapter, a processor, and a memory storing program code, the program code executable by the processor to determine the adapter is single root input/output virtualization (SR-IOV) capable, to determine that an operating system is capable of using the adapter in SR-IOV mode, to configure the adapter in SR-IOV mode by generating an SR-IOV function associated with the adapter, and to assign control of the SR-IOV function to the operating system.

## Claims

### Claim 1

A method of managing an adapter, the method comprising:
determining an adapter is single root input/output virtualization (SR-IOV) capable;
determining that an operating system is capable of using the adapter in SR-IOV mode;
configuring the adapter in SR-IOV mode by generating an SR-IOV function associated with the adapter; and
using the SR-IOV function to emulate an aspect of a peripheral component interconnect (PCI) multi-function device at the operating system.

### Claim 2

The method of 1, further comprising controlling the adapter via the SR-IOV function, wherein the adapter is not configurable directly within the operating system.

### Claim 3

The method of 1, wherein the SR-IOV function is at least one of a virtual peripheral component interconnect (PCI) function, a virtual PCI host bridge function, and a virtual root port function.

### Claim 4

The method of 1, further comprising using the SR-IOV function to configure the adapter in SR-IOV mode according to an adapter profile.

### Claim 5

The method of 1, further comprising selectively determining not to configure the adapter in SR-IOV mode and enabling the operating system to operate the adapter as a legacy PCI adapter.

### Claim 6 (depends on 1)

The method of claim 1, further comprising generating a plurality of virtual functions, including the SR-IOV function, based on at least one of a number of ports associated with the adapter and a number of protocols associated with the adapter.

### Claim 7 (depends on 6)

The method of claim 6, further comprising generating a virtual function of the plurality of virtual functions for each protocol of a plurality of protocols associated with each port of a plurality of ports of the adapter.

### Claim 8

The method of 1, further comprising correlating the SR-IOV function to a non-SR-IOV function using a virtualization intermediary.

### Claim 9

The method of 8, further comprising using the non-SR-IOV function to modify an operational status of the adapter.

### Claim 10 (depends on 9)

The method of claim 9, further comprising using the operating system to modify the operational status.

### Claim 11 (depends on 9)

The method of claim 9, wherein the operational status includes at least one of: an assignment of the adapter, a power-off operation, and a power-on operation.

### Claim 12 (depends on 1)

The method of claim 1, further comprising determining whether an adapter slot that includes the adapter is an SR-IOV enabled adapter slot.

### Claim 13 (depends on 1)

The method of claim 1, further comprising whether the operating system is intended to use the adapter as SR-IOV enabled.

### Claim 14

An apparatus, comprising:
an adapter;
a processor;
a memory storing program code, the program code executable by the processor to:
determine the adapter is single root input/output virtualization (SR-IOV) capable;
determine that an operating system is capable of using the adapter in SR-IOV mode;
configure the adapter in SR-IOV mode by generating an SR-IOV function associated with the adapter; and
presenting the SR-IOV function to the operating system in such a manner as to emulate an aspect of a peripheral component interconnect (PCI) multi-function device.

### Claim 15

The apparatus of 14, further the SR-IOV function is used by the operating system to configure the adapter according to an adapter profile, and wherein the adapter is not configurable directly within the operating system.

### Claim 16 (depends on 14)

The apparatus of claim 14, further comprising generating a plurality of virtual functions, including the SR-IOV function, based on at least one of a number of ports associated with the adapter and a number of protocols associated with the adapter.

### Claim 17

The apparatus of 1, wherein the program code is further executable by the processor to correlate the SR-IOV function to a non-SR-IOV function using a virtualization intermediary.

### Claim 18

The apparatus of 17, wherein the operating system uses the non-SR-IOV function to modify an operational status of the adapter, wherein the operational status includes at least one of: an assignment of the adapter, a power-off operation, and a power-on operation.

### Claim 19 (depends on 14)

The apparatus of claim 14, wherein the program code is further executable by the processor to determine whether an adapter slot that includes the adapter is an SR-IOV enabled adapter slot and to determine whether the operating system is intended to use the adapter as SR-IOV enabled.

### Claim 20

A computer program product comprising a computer usable medium having computer usable program code embodied therewith, the computer usable program code executable by a processor to:
determine an adapter is single root input/output virtualization (SR-IOV) capable;
determine that an operating system is capable of using the adapter in SR-IOV mode;
configure the adapter in SR-IOV mode by generating an SR-IOV function associated with the adapter; and
present the SR-IOV function to the operating system in such a manner as to emulate an aspect of a peripheral component interconnect (PCI) multi-function device.
