summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDino Simeon Madarang <dino.simeonx.madarang@intel.com>2015-07-15 09:22:07 +0100
committerMaryam Tahhan <maryam.tahhan@intel.com>2015-08-25 09:05:55 +0000
commitfcdbebe21c7ce590bb6e321506dcd722ad9f9863 (patch)
tree0f71099ddcbe7ce276fdfc2ab3bf1d7cf819535e /src
parent65fe266e99de3746372e633794c07ad95c1e383e (diff)
vnfs: Enable PVP using vhost-cuse
Enable PVP testing using vhost-cuse as guest access method Recent changes: * Move NEWS.md changes to NEWS.rst * Update comment to vhost-cuse * Restore config back to checkout state after make * Merge OPNFV 1092 updates * Add PVP-vhost-cuse to NEWS.md * Add comment/example to GUEST_CORE_BINDING * Move hardcoded values to conf/04_vnfs.conf * Set default VNF to QemuDpdkVhostCuse * Compile eventfd_link if VHOST_USER=n * Use MAC and PCI address from conf * Use vhost method in conf to properly set interface type JIRA: VSPERF-59 Change-Id: Ib1159e216f3e25b9971c0935969680582683916b Signed-off-by: Madarang, Dino Simeon <dino.simeonx.madarang@intel.com> Reviewed-by: Maryam Tahhan <maryam.tahhan@intel.com>
Diffstat (limited to 'src')
-rwxr-xr-xsrc/dpdk/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/dpdk/Makefile b/src/dpdk/Makefile
index 8335ed4e..71839e26 100755
--- a/src/dpdk/Makefile
+++ b/src/dpdk/Makefile
@@ -52,6 +52,9 @@ force_make: $(TAG_DONE_FLAG)
$(AT)sed -i -e 's/CONFIG_RTE_LIBRTE_KNI=./CONFIG_RTE_LIBRTE_KNI=n/g' $(CONFIG_FILE)
$(AT)cd $(WORK_DIR); make install T=$(DPDK_TARGET) -j
$(AT)cd `dirname $(CONFIG_FILE)` && git checkout `basename $(CONFIG_FILE)` && cd -
+ifeq ($(VHOST_USER),n)
+ $(AT)cd $(WORK_DIR)/lib/librte_vhost/eventfd_link; make
+endif
@echo "Make done"
install: $(INSTALL_TARGET)