From 01455386f7186721ffd7578d95a84580a5ff7087 Mon Sep 17 00:00:00 2001 From: Martin Klozik Date: Thu, 20 Jul 2017 15:49:16 +0100 Subject: dpdk: Support dpdk vhost-user client mode Support of vhost-user client mode has been added for both OVS and VPP. VSPERF configures vhost-user server mode in vswitches by default for backward compatibility. Support of vhost-user server mode is deprecated in OVS and it can be removed in future releases. Once it will happen, we have to change vsperf default behavior to usage of vhost-user client ports at vswitch side. This patch also fixes processing of boolean configuration parameters passed via --test-params option. In the past it was not possible to set boolean value to False through --test-params option. JIRA: VSPERF-517 Change-Id: I65e341f820edd6c720043a4acc74c5140b05db18 Signed-off-by: Martin Klozik Reviewed-by: Al Morton Reviewed-by: Christian Trautman Reviewed-by: Sridhar Rao Reviewed-by: Trevor Cooper --- docs/testing/user/userguide/testusage.rst | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'docs/testing/user/userguide') diff --git a/docs/testing/user/userguide/testusage.rst b/docs/testing/user/userguide/testusage.rst index b6939e57..4d3528d0 100644 --- a/docs/testing/user/userguide/testusage.rst +++ b/docs/testing/user/userguide/testusage.rst @@ -296,7 +296,7 @@ Executing tests with VMs To run tests using vhost-user as guest access method: -1. Set VHOST_METHOD and VNF of your settings file to: +1. Set VSWITCH and VNF of your settings file to: .. code-block:: python @@ -317,6 +317,10 @@ To run tests using vhost-user as guest access method: $ ./vsperf --conf-file=/10_custom.conf +**NOTE:** By default vSwitch is acting as a server for dpdk vhost-user sockets. +In case, that QEMU should be a server for vhost-user sockets, then parameter +``VSWITCH_VHOSTUSER_SERVER_MODE`` should be set to ``False``. + Executing tests with VMs using Vanilla OVS ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ -- cgit 1.2.3-korg