aboutsummaryrefslogtreecommitdiffstats
path: root/conf/04_vnf.conf
diff options
context:
space:
mode:
authorChristian Trautman <ctrautma@redhat.com>2016-10-24 10:32:52 -0400
committerChristian Trautman <ctrautma@redhat.com>2016-10-24 10:32:52 -0400
commitadfdd0db071cf8247434cb456cc676144323719f (patch)
tree95d0e23fe42f6026de27d542423dd8825d84bc94 /conf/04_vnf.conf
parent4f207bf80169d617d9965b19494f4c7d909f0abd (diff)
guest_binding: Add dpdk driver binding options for guests
Adds uio_pci_generic and vfio_no_iommu options for guest driver binding. In case of SR-IOV tests with guests attached and uio_pci_generic is selected the option will be modified to use igb_uio instead as uio_pci_generic is not supported. JIRA: VSPERF-397 Change-Id: I56003addacc8bf0d024cce35d41b00dd0baa8cbc signed-off-by: Christian Trautman <ctrautma@redhat.com>
Diffstat (limited to 'conf/04_vnf.conf')
-rw-r--r--conf/04_vnf.conf9
1 files changed, 9 insertions, 0 deletions
diff --git a/conf/04_vnf.conf b/conf/04_vnf.conf
index e996ecce..d3b4be4d 100644
--- a/conf/04_vnf.conf
+++ b/conf/04_vnf.conf
@@ -101,6 +101,15 @@ GUEST_SHARED_DRIVE_TYPE = ['scsi']
# For 2 VNFs you may use ['testpmd', 'l2fwd']
GUEST_LOOPBACK = ['testpmd']
+# guest driver binding option; support options are:
+# 'igb_uio_from_src' - build igb_uio driver from downloaded source files
+# 'uio_pci_generic' - use uio_pci_generic driver
+# 'vfio_no_iommu' - use unsafe vfio driver without iommu (requires
+# image with supported kernel 4.5 or greater and
+# dpdk 16.04 or greater. VSPerf vloop image does not
+# support this mode.
+GUEST_DPDK_BIND_DRIVER = ['igb_uio_from_src']
+
# username for guest image
GUEST_USERNAME = ['root']