summaryrefslogtreecommitdiffstats
path: root/sys/amd64/conf
diff options
context:
space:
mode:
authorrstone <rstone@FreeBSD.org>2015-03-01 00:40:09 +0000
committerrstone <rstone@FreeBSD.org>2015-03-01 00:40:09 +0000
commite40d09375f3eaf15c6f9b6d563c7371512c76d51 (patch)
treee3db7ad511be3d1432492d4ecf89ccb0158d8d85 /sys/amd64/conf
parent2d9b9873cc506d4ab28f585e7596d31b936b9375 (diff)
downloadFreeBSD-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/GENERIC1
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
OpenPOWER on IntegriCloud