Patent ID: 7870301
Filing Date: 2011-01-11
Classification: G06F

Abstract:
1. A method of modifying resources in a logically partitioned data processing system by a physical adapter maintained within the logically partitioned data processing system comprising a plurality of logical partitions each executing their own system image, wherein the physical adapter is a hardware input/output (I/O) adapter comprising hardware configuration resources and hardware memory resources, the method comprising the computer implemented steps of: invoking a request to modify resources associated with a virtual adapter allocated on the physical adapter, wherein the resources comprise a subset of physical adapter resources, wherein the step of invoking is performed by a user management interface that interfaces with a logical partitioning manager that manages the plurality of logical partitions of the logically partitioned data processing system; conveying the request to the physical adapter, wherein the step of conveying includes requesting, by the logical partitioning manager interfacing with the physical adapter, the physical adapter to modify the resources associated with the virtual adapter through a memory management interface of the physical adapter, wherein a set of addresses that the virtual adapter can use in direct memory access (DMA) operations with the given logical partition are specified in the hardware configuration resources; responsive to receipt of the request by the physical adapter, modifying at least one of the hardware configuration resources and the hardware memory resources associated with the virtual adapter on the physical adapter, wherein the resources reside within the physical adapter and are modified by the physical adapter to reconfigure the virtual adapter for an operation with a given logical partition of the plurality of logical partitions to enable the logical partition to communicate with an external I/O device connected to the physical adapter, wherein the hardware configuration resources and the hardware memory resources contain information describing the subset of physical adapter resources allocated to the virtual adapter; and responsive to the logical partitioning manager requesting the physical adapter to modify the resources associated with the virtual adapter, determining whether existing resources of the physical adapter are sufficient to satisfy the request to modify the resources associated with the virtual adapter, wherein identifiers identify the existing resources of the physical adapter, and wherein the existing resources of the physical adapter for which the existing resource sufficiency determination is made with respect to the request comprise processing queues, adapter memory, host memory management resources, I/O device ports and host bus ports.