Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 7 May 2014 11:50:03 -0400
From:      John Baldwin <jhb@freebsd.org>
To:        freebsd-arch@freebsd.org
Cc:        Ryan Stone <rysto32@gmail.com>
Subject:   Re: RFC: PCI SR-IOV Driver interface
Message-ID:  <201405071150.03854.jhb@freebsd.org>
In-Reply-To: <CAFMmRNyDpLuxqJVC%2Bwdm856E0Abx4XrOZyR9iB7g2dvDeX4BMQ@mail.gmail.com>
References:  <CAFMmRNyDpLuxqJVC%2Bwdm856E0Abx4XrOZyR9iB7g2dvDeX4BMQ@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201405071150.03854.jhb>