PCI Hybrid Function for SR-IOV Compatibility

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Conventional SR-IOV systems face limitations in seamlessly operating in both SR-IOV and non-SR-IOV environments, as they require specific ecosystem support and struggle to manage resources effectively across virtual machines, leading to inefficiencies and compatibility issues.

Innovation Solution

A method and system for PCI hybrid functions that utilize a physical function (PF) and hybrid functions (HFs) to transparently operate in both SR-IOV and non-SR-IOV environments by configuring resources to expose or hide configuration spaces and headers accordingly, allowing the SR-IOV capable PCI device to manage resources and arbitration functions independently.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Adaptability or versatility

If SR-IOV is implemented to share I/O devices for multiple users, then resource sharing capability is improved, but ecosystem complexity increases due to requiring support in BIOS, OS and hypervisor

Engineering Contradiction:
Improveresource sharing capabilityVSAvoidecosystem complexity
Core Design Contradiction:
Adaptability or versatilityVSDevice complexity

Solution Approach 1:

The patent introduces hybrid functions (HFs) as an intermediary layer between physical functions and virtual machines. HFs contain both VF configuration space and PF configuration space, enabling them to act as mediators that can operate in either SR-IOV mode or legacy mode, thus bridging the gap between different ecosystem requirements without needing full SR-IOV support throughout the entire stack.

Inventive Principle:
Principle #24Intermediary (Mediator)

Solution Approach 2:

The hybrid function is designed with multi-functionality, containing both VF configuration space (for SR-IOV operation) and PF configuration space (for legacy operation). This universal design allows the same hardware function to adapt to different ecosystem environments, whether SR-IOV is supported or not, eliminating the need for separate hardware configurations.

Inventive Principle:
Principle #6Universality (Multi-functionality)

2Reliability

If SR-IOV is used to provide isolation between users, then security and isolation are improved, but compatibility with non-SR-IOV environments deteriorates

Engineering Contradiction:
Improveisolation capabilityVSAvoidenvironmental compatibility
Core Design Contradiction:
ReliabilityVSAdaptability or versatility

Solution Approach 1:

The hybrid function dynamically adapts its operational mode based on the environment. It can switch between exposing VF configuration space (for isolation in SR-IOV environments) and exposing PF configuration space (for compatibility in legacy environments). This dynamic behavior allows the system to maintain isolation capability when needed while ensuring compatibility when SR-IOV support is absent.

Inventive Principle:
Principle #15Dynamics

Solution Approach 2:

The patent changes the visibility parameters of configuration spaces based on operational context. The hybrid function can hide or expose specific configuration spaces (VF or PF) depending on whether SR-IOV is detected and supported, thereby adjusting its parameters to match the environmental requirements and maintain both isolation and compatibility.

Inventive Principle:
Principle #35Parameter changes

3Adaptability or versatility

If multiple VF configuration spaces are mapped to virtual machines, then resource allocation flexibility is improved, but configuration complexity increases

Engineering Contradiction:
Improveresource allocation flexibilityVSAvoidconfiguration complexity
Core Design Contradiction:
Adaptability or versatilityVSDevice complexity

Solution Approach 1:

The patent extracts the complexity of SR-IOV configuration by isolating it within the hybrid function's internal structure. The VF configuration space is contained within the HF, allowing resource allocation flexibility to be maintained while the external system sees a simplified interface. The complex mapping and isolation logic is extracted and encapsulated within the HF, reducing the burden on the host system.

Inventive Principle:
Principle #2Taking out (Extraction)

Data Source

PatentUS8271707B2Method and system for PCI hybrid function
Publication Date: 2012.09.18 AVAGO TECHNOLOGIES INTERNATIONAL SALES PTE LTD
  • US8271707B2 patent drawing
  • US8271707B2 patent drawing
  • US8271707B2 patent drawing

AI summary

A single root I/O virtualization (SR-IOV) capable peripheral component interconnect (PCI) device may be operable to configure resources to transparently operate in a non-SR-IOV environment utilizing a physical function (PF) and one or more hybrid functions (HFs). In instances when the SR-IOV capable PCI device is operating in a SR-IOV environment, the SR-IOV capable PCI device may expose a VF configuration space in the hybrid function to an associated PCI driver for configuring the hybrid function as a virtual function. In instances when the SR-IOV capable PCI device is operating in a non-SR-IOV environment, the SR-IOV capable PCI device may hide a SR-IOV extended header in the physical function from the associated PCI driver and expose a PF configuration space in the hybrid function to the associated PCI driver for configuring the hybrid function as a physical function.