Ryan Stone e9309eac19 Allocate PCI I/O memory spaces for VFs
When creating VFs, we must size each SR-IOV BAR on the PF and
allocate a configuous I/O memory window large enough for every VF.
However, the window only needs to be aligned to a boundary equal
to the size of the window for a single VF.

When a VF attempts to allocate an I/O memory resource, we must
intercept the request in the pci driver and pass it off to the
SR-IOV code, which will allocate the correct window from the
pre-allocated memory space for the PF.

Inform the pci driver about the size and address of the BARs on
the VF when the VF is created.  This is required by pciconf -b and
bhyve.

Differential Revision:	https://reviews.freebsd.org/D78
Reviewed by:		jhb
MFC after: 		1 month
Sponsored by:		Sandvine Inc.
2015-03-01 00:40:26 +00:00
..
2015-01-23 15:14:30 +00:00
2015-01-30 01:13:07 +00:00
2015-02-24 01:00:46 +00:00
2015-01-23 15:14:30 +00:00
2015-01-23 15:14:30 +00:00
2015-02-04 16:19:31 +00:00
2014-08-05 23:35:19 +00:00
2014-08-05 23:58:49 +00:00
2014-05-20 19:55:06 +00:00
2014-09-28 07:40:26 +00:00
2014-10-10 14:17:42 +00:00
2015-01-21 09:01:48 +00:00
2015-02-27 15:14:25 +00:00
2014-10-11 19:36:59 +00:00
2015-02-24 06:20:50 +00:00
2014-12-03 00:47:05 +00:00
2014-11-18 21:58:57 +00:00
2014-09-19 03:55:19 +00:00
2014-05-16 21:19:17 +00:00
2014-11-21 21:34:19 +00:00
2014-11-20 20:09:18 +00:00
2015-02-28 15:21:06 +00:00