summaryrefslogtreecommitdiffstats
path: root/vswitches/ovs_dpdk_vhost.py
diff options
context:
space:
mode:
authorChristian Trautman <ctrautma@redhat.com>2017-01-23 08:13:27 -0500
committerChristian Trautman <ctrautma@redhat.com>2017-01-23 08:13:27 -0500
commit119f9b04ab4d4dfbf7c9ac63dc0da59edec22538 (patch)
treee76f0ad356f914f8ca305f425dcf777e34f5f916 /vswitches/ovs_dpdk_vhost.py
parent605742c4e23f8aa199395dea96d5758dc2616093 (diff)
dpdk_vhostuser_mq_fix: Fixes erroneous error message with MQ and dpdk
Removes un-needed code to set multi-queue option on vhostuser ports. JIRA: VSPerf-471 Change-Id: I9f58e53d9a9bb62ef5ed441a7b4b1dea37a2f557 Signed-off-by: Christian Trautman <ctrautma@redhat.com>
Diffstat (limited to 'vswitches/ovs_dpdk_vhost.py')
-rw-r--r--vswitches/ovs_dpdk_vhost.py5
1 files changed, 0 insertions, 5 deletions
diff --git a/vswitches/ovs_dpdk_vhost.py b/vswitches/ovs_dpdk_vhost.py
index a2731478..40f4533b 100644
--- a/vswitches/ovs_dpdk_vhost.py
+++ b/vswitches/ovs_dpdk_vhost.py
@@ -133,11 +133,6 @@ class OvsDpdkVhost(IVSwitchOvs):
vhost_count = self._get_port_count('type=dpdkvhostuser')
port_name = 'dpdkvhostuser' + str(vhost_count)
params = ['--', 'set', 'Interface', port_name, 'type=dpdkvhostuser']
- # multi queue enable
- if int(settings.getValue('VSWITCH_DPDK_MULTI_QUEUES')) and \
- not settings.getValue('OVS_OLD_STYLE_MQ'):
- params += ['options:n_rxq={}'.format(
- settings.getValue('VSWITCH_DPDK_MULTI_QUEUES'))]
of_port = bridge.add_port(port_name, params)
return (port_name, of_port)