Discovery by operating system of information relating to adapter functions accessible to the operating system
AssigneeInternational Business Machines Corporation
InventorsAnthony F. Coneski, David Craddock, Charles W. Gainey, Jr., Beth A. Glendening, Thomas A. Gregg, Ugochukwu C. Njoku
Life of this patent
Estimating the term…
Abstract
A tiered discovery capability is employed to obtain attributes regarding adapters of an I/O configuration. The first tier obtains a list of the adapter functions accessible to an operating system; the second tier obtains attributes regarding a selected adapter function of the list of adapter functions; and a third tier obtains common attributes of a group of adapter functions, the group including the selected adapter function.
Claims23
A computer program product for obtaining input/output (I/O) hardware information, said computer program product comprising:
- a non-transitory computer readable storage medium readable by a processing circuit and storing instructions for execution by the processing circuit for performing a method comprising:
- providing to an operating system an indication of one or more adapter functions accessible to the operating system, the providing comprising:
- obtaining, by a processor of a computing environment, a list of one or more adapter functions of an I/O configuration accessible to the operating system, said list including one or more function handles corresponding to the one or more adapter functions;
- and
- using a function handle of the one or more function handles to obtain one or more attributes regarding the adapter function identified by the function handle, the function handle usable by one or more instructions to access the adapter function corresponding to the function handle, and wherein the function handle includes an enable indicator to indicate whether the function handle associated with the adapter function is enabled, a function number to be used to access a data structure to obtain at least one attribute of the one or more attributes, and an instance number to indicate a particular instance of the function handle.
A computer system for obtaining input/output (I/O) hardware information, said computer system comprising:
- a memory;
- and
- a processor in communications with the memory, wherein the computer system is configured to perform a method, said method comprising:
- providing to an operating system an indication of one or more adapter functions accessible to the operating system, the providing comprising:
- obtaining, by a processor of a computing environment, a list of one or more adapter functions of an I/O configuration accessible to the operating system, said list including one or more function handles corresponding to the one or more adapter functions;
- and
- using a function handle of the one or more function handles to obtain one or more attributes regarding the adapter function identified by the function handle, the function handle usable by one or more instructions to access the adapter function corresponding to the function handle, and wherein the function handle includes an enable indicator to indicate whether the function handle associated with the adapter function is enabled, a function number to be used to access a data structure to obtain at least one attribute of the one or more attributes, and an instance number to indicate a particular instance of the function handle.
A method of obtaining input/output (I/O) hardware information, said method comprising:
- providing to an operating system an indication of one or more adapter functions accessible to the operating system, the providing comprising:
- obtaining, by a processor of a computing environment, a list of one or more adapter functions of an I/O configuration accessible to the operating system, said list including one or more function handles corresponding to the one or more adapter functions;
- and
- using a function handle of the one or more function handles to obtain one or more attributes regarding the adapter function identified by the function handle, the function handle usable by one or more instructions to access the adapter function corresponding to the function handle, and wherein the function handle includes an enable indicator to indicate whether the function handle associated with the adapter function is enabled, a function number to be used to access a data structure to obtain at least one attribute of the one or more attributes, and an instance number to indicate a particular instance of the function handle.
Dependencies are inferred from the claim text.