Configuring an input/output adapter
AssigneeInternational Business Machines Corporation
InventorsSean T. Brownlow, John R. Oberly, III
Life of this patent
Estimating the term…
Abstract
A computer-implemented method includes initializing a driver associated with an input/output adapter in response to receiving an initialize driver request from a client application. The input/output adapter may be initialized to enable adapter capabilities of the input/output adapter to be determined. The computer-implemented method also includes determining the adapter capabilities of the input/output adapter and determining slot capabilities of a slot associated with the input/output adapter. The computer-implemented method further includes setting configurable capabilities of the input/output adapter based on the adapter capabilities and the slot capabilities.
Claims20
A computer-implemented method, comprising:
- initializing a driver associated with an input/output adapter in response to receiving an initialize driver request from a client application;
- initializing the input/output adapter to enable adapter capabilities of the input/output adapter to be determined;
- determining the adapter capabilities of the input/output adapter;
- determining slot capabilities of a slot associated with the input/output adapter;
- and
- setting configurable capabilities of the input/output adapter based on the adapter capabilities and the slot capabilities, the configurable capabilities including a maximum number of virtual functions associated with the input/output adapter and a maximum number of virtual functions associated with each port of the input/output adapter, and wherein setting the configurable capabilities of the input/output adapter comprises setting the maximum number of virtual functions associated with each port of the input/output adapter that are configurable by the client application.
A computer program product comprising a non-transitory computer usable medium having computer usable program code embodied therewith, the computer usable program code executable by a processor to:
- initialize a driver associated with an input/output adapter in response to receiving an initialize driver request from a client application;
- initialize the input/output adapter to enable adapter capabilities of the input/output adapter to be determined;
- determine the adapter capabilities of the input/output adapter;
- determine slot capabilities of a slot associated with the input/output adapter;
- and
- set configurable capabilities of the input/output adapter based on the adapter capabilities and the slot capabilities, the configurable capabilities including a maximum number of virtual functions associated with the input/output adapter and a maximum number of virtual functions associated with each port of the input/output adapter, and wherein setting the configurable capabilities of the input/output adapter comprises setting the maximum number of virtual functions for each port of the input/output adapter that are configurable by the client application.
A system, comprising:
- a processor;
- and
- an adapter abstraction layer comprising computer usable program code that is stored at a non-transitory computer usable medium, the adapter abstraction layer executable by the processor to:
- initialize a driver associated with an input/output adapter in response to receiving an initialize driver request from a client application;
- initialize the input/output adapter to enable adapter capabilities of the input/output adapter to be determined;
- determine the adapter capabilities of the input/output adapter;
- determine slot capabilities of a slot associated with the input/output adapter;
- and
- set configurable capabilities of the input/output adapter based on the adapter capabilities and the slot capabilities, the configurable capabilities including a maximum number of virtual functions associated with the input/output adapter and a maximum number of virtual functions associated with each port of the input/output adapter, and wherein setting the configurable capabilities of the input/output adapter comprises setting the maximum number of virtual functions for each port of the input/output adapter that are configurable by the client application.
Dependencies are inferred from the claim text.