diff options
author | rstone <rstone@FreeBSD.org> | 2015-03-01 00:40:09 +0000 |
---|---|---|
committer | rstone <rstone@FreeBSD.org> | 2015-03-01 00:40:09 +0000 |
commit | e40d09375f3eaf15c6f9b6d563c7371512c76d51 (patch) | |
tree | e3db7ad511be3d1432492d4ecf89ccb0158d8d85 /sys/amd64/conf | |
parent | 2d9b9873cc506d4ab28f585e7596d31b936b9375 (diff) | |
download | FreeBSD-src-e40d09375f3eaf15c6f9b6d563c7371512c76d51.zip FreeBSD-src-e40d09375f3eaf15c6f9b6d563c7371512c76d51.tar.gz |
Implement interface to create SR-IOV Virtual Functions
Implement the interace to create SR-IOV Virtual Functions (VFs).
When a driver registers that they support SR-IOV by calling
pci_setup_iov(), the SR-IOV code creates a new node in /dev/iov
for that device. An ioctl can be invoked on that device to
create VFs and have the driver initialize them.
At this point, allocating memory I/O windows (BARs) is not
supported.
Differential Revision: https://reviews.freebsd.org/D76
Reviewed by: jhb
MFC after: 1 month
Sponsored by: Sandvine Inc.
Diffstat (limited to 'sys/amd64/conf')
-rw-r--r-- | sys/amd64/conf/GENERIC | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/amd64/conf/GENERIC b/sys/amd64/conf/GENERIC index 86891b7..dff36ac 100644 --- a/sys/amd64/conf/GENERIC +++ b/sys/amd64/conf/GENERIC @@ -97,6 +97,7 @@ device cpufreq device acpi options ACPI_DMAR device pci +options PCI_IOV # PCI SR-IOV support # Floppy drives device fdc |