RFC: PCI SR-IOV Driver interface
John Baldwin
jhb at freebsd.org
Wed May 7 18:34:35 UTC 2014
On Tuesday, May 06, 2014 5:40:38 pm Ryan Stone wrote:
> PCI Single Root I/O Virtualization (SR-IOV) is an optional part of the
> PCIe standard that provides hardware acceleration for the
> virtualization of PCIe devices. When SR-IOV is in use, a function in a
> PCI device (known as a Physical Function, or PF) will present multiple
> Virtual PCI Functions (VF) on the PCI bus. These VFs are fully
> independent PCI devices that have access to the resources of the PF.
> For example, on a network interface card, VFs could transmit and
> receive packets independent of the PF.
[ Trimmed ]
I think your design here sounds fine. I would just explode the typedef
and use 'struct nvlist' or whatever it is directly to avoid the header
pollution.
--
John Baldwin
More information about the freebsd-arch
mailing list