【文章內容簡介】
sical Resources1 Function 1 ATC2 Physical Resources2 Function 2 ATC3 Physical Resources3 Internal Routing Physical . Virtual Function 0 ATC1 Physical Resources1 Function 1 ATC2 Physical Resources2 Function 2 ATC3 Physical Resources3 Internal Routing Configuration Resources PCIe Port PCIe Port PCIe Port PCIe Device PF 0 ATC1 Physical Resources VF 0,1 Physical Resources VF 0,2 Physical Resources Internal Routing PCIe Port PCIe SRIOV Capable Device Configuration Resources Physical Virtual PCIe SRIOV Capable Device ? SRIOV ? A technique performs and manages PCIe Virtualization. ? PF – physical Function ? Provide full PCIe functionality, including the SRIOV capabilities ? Discover the page sizes supported by a PF and its associated VF ? VF – virtual Function ? A “l(fā)ightweight” PCIe function that is directly accessible by an SI, including an isolated memory space, a work queue, interrupts and mand processing. ? For data movement ? Can be optionally migrated form one PF to another PF ? Can be serially shared by different SI PF 0 ATC1 Physical Resources VF 0,1 Physical Resources VF 0,2 Physical Resources Internal Routing PCIe Port PCIe SRIOV Capable Device Configuration Resources Directly and Software Shared Figure from Inter PCISIG SRIOV Primer Extended Capabilities SRIOV Extended Capabilities SRIOV Architecture Supporting SRIOV Capability ARI – Alternative Routing ID Interpretation ACS – Access Control Services ATS – Address Translation Service Data Path for Ining Packets Platform with SRIOV ? SRPCIM ? Configure SRIOV Capability ? Management of PFs and VFs ? Processing of error events ? Device controls ? Power management ? Hotplug System Image (SI) Processor Memory Root Complex (RC) Root Port (RP) Root Port (RP) PCIe Device Switch PCIe Device PCIe Device PCIe Device System Image (SI) System Image (SI) System Image (SI) Virtualization Intermediary Translation Agent (TA) Address Translation and Protection Table (ATPT) SRPCIM SRPCIM Components of SRIOV ? TA – Translation Agent ? Translate address within a PCIe transaction into the associated platform physical address. ? Hardware or bination of hardware and software ? A TA may also support to enable a PCIe function to obtain address translations a priori to DMA access to the associated memory. Translation Agent (TA) Address Translation and Protection Table (ATPT) Components of SRIOV ? ATPT – Address Translation and Protection Table ? Contain the set of address translations accessed by a TA to Process PCEe requests ? DMA Read/Write ? Interrupt requests ? DMA Read/Write requests are translated through a bination of the Routing ID and the address contained within a PCIe transaction ? In PCIe, interrupts are treated as memory write