PCI Adapter Transaction Validation via BDF Identification
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Conventional systems face inefficiencies in sharing physical I/O adapters among virtual servers, leading to underutilization and increased costs due to the need for dedicated adapters and performance degradation from invocation mechanisms in LPAR managers.
Innovation Solution
A method allowing a single physical I/O adapter to perform I/O transactions using PCI host bus, device, and function numbers to validate transactions originated from the proper host, enabling efficient sharing and reducing the need for multiple adapters and intermediary hardware.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Productivity
If a single physical I/O adapter is shared among multiple virtual servers, then adapter utilization and cost efficiency are improved, but transaction validation complexity and security risks increase
Solution Approach 1:
The patent segments the validation process into distinct components: extracting BDF information from transaction packets, looking up corresponding system image identifiers in a validation table, and comparing against authorized partitions. This segmentation simplifies the overall validation complexity while enabling multi-adapter sharing.
Solution Approach 2:
The patent introduces an intermediary validation mechanism that acts as a mediator between multiple virtual servers and the shared physical adapter. The validation table serves as an intermediary data structure that maps BDF information to authorized system images, eliminating the need for complex direct validation logic in each transaction handler.
2Reliability
If dedicated physical adapters are assigned to each virtual server, then transaction validation simplicity and security are improved, but hardware costs and resource underutilization increase
Solution Approach 1:
The patent makes the physical adapter universal by enabling it to serve multiple virtual servers simultaneously. The adapter validates transactions from different virtual servers by checking their BDF information against the validation table, allowing one adapter to perform the functions previously requiring multiple dedicated adapters.
Solution Approach 2:
The patent creates virtual copies of adapter identification information (BDF numbers) that allow multiple virtual servers to appear as separate entities to the shared physical adapter. Each virtual server has its own BDF tuple that maps to its authorized system image, enabling differentiation without physical separation.
3Reliability
If LPAR manager invocation mechanisms are used for adapter sharing, then virtual server isolation is improved, but performance degradation occurs
Solution Approach 1:
The patent implements self-service validation where the adapter itself performs the isolation validation using the BDF information and validation table, without requiring external LPAR manager invocation. This self-contained validation mechanism maintains virtual server isolation while eliminating the performance overhead of external management layer involvement.
Data Source
AI summary
A mechanism that allows a single physical I/O adapter, such as a PCI, PCI-X, or PCI-E adapter, to perform I/O transactions using the PCI host bus, device, and function numbers to validate that an I/O transaction originated from the proper host is provided. Additionally, a method for facilitating identification of a transaction source partition is provided. An input/output transaction that is directed to a physical adapter is originated from a system image of a plurality of system images. The host data processing system adds an identifier of the system image to the input/output transaction. The input/output transaction is then conveyed to the physical adapter for processing of the input/output transaction.


