From adfdd0db071cf8247434cb456cc676144323719f Mon Sep 17 00:00:00 2001 From: Christian Trautman Date: Mon, 24 Oct 2016 10:32:52 -0400 Subject: 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 --- conf/04_vnf.conf | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'conf') 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'] -- cgit 1.2.3-korg