SR-IOV

Spelled out "Single-Root I/O Virtualization", this is a mechanism to support efficient and safe access to "slices" of a PCIe device by different clients. The clients are typically different Virtual Machines.

Terminology: PFs and VFs

SR-IOV distinguishes between Physical Function (PF) and Virtual Function (VF). The PF represents an actual PCIe device. It can be subdivided into multiple VFs. Clients (such as VMs) then get access to individual VFs. They can access their "slice" of the adapter (PF) both efficiently (e.g. using DMA) and safely, i.e. without interfering with the other VFs. Safety for DMA is ensured by the IOMMU (I/O Memory Management Unit).

SR-IOV in Networking

Many modern server Gigabit Ethernet and 10GE adapters implement SR-IOV. An interesting implementation detail: Because different VMs can send each other Ethernet frames, these adapters have to implement an internal Ethernet switch.

References

-- SimonLeinen - 2014-12-27

Edit | Attach | Watch | Print version | History: r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r2 - 2014-12-27 - SimonLeinen
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2004-2009 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.