From f7366919b9d985b2b3d267750ea16667b636cdac Mon Sep 17 00:00:00 2001 From: Maryam Tahhan Date: Wed, 2 Mar 2016 13:01:41 +0000 Subject: dpdk: enable vfio_pci support Enable vfio_pci support for DPDK in the case where the end user doesn't want to use igb_uio. Changes: * Use generic functions to strip the path and .ko extension from the module to be inserted/removed. * Removed debug line in Modules_Manager. * Removed commented code. * Fixed all pylint issues. JIRA: VSPERF-249 Change-Id: I69c9077735879bcbf7ce5c970c1ec53c219e9f90 Signed-off-by: Maryam Tahhan Reviewed-by: Martin Klozik Reviewed-by: Al Morton Reviewed-by: Christian Trautman --- conf/02_vswitch.conf | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'conf') diff --git a/conf/02_vswitch.conf b/conf/02_vswitch.conf index b9862c92..f0475313 100644 --- a/conf/02_vswitch.conf +++ b/conf/02_vswitch.conf @@ -1,4 +1,4 @@ -# Copyright 2015 Intel Corporation. +# Copyright 2015-2016 Intel Corporation. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -41,6 +41,10 @@ BLACKLIST_NICS = ['0000:09:00.0', '0000:09:00.1', '0000:09:00.2', '0000:09:00.3'] # for DPDK_MODULES the path is in reference to the build directory +# To use vfio set +# DPDK_MODULES = [ +# ('vfio-pci'), +# ] DPDK_MODULES = [ ('kmod', 'igb_uio'), ] @@ -50,6 +54,8 @@ VHOST_MODULE = [ ] # list of modules that will be inserted using 'modprobe' on system init +# To use vfio set +# SYS_MODULES = ['cuse'] SYS_MODULES = ['uio', 'cuse'] # vhost character device file used by dpdkvhostport QemuWrap cases -- cgit 1.2.3-korg