dpdk_vhostuser_mq_fix: Fixes erroneous error message with MQ and dpdk 81/27381/1
authorChristian Trautman <ctrautma@redhat.com>
Mon, 23 Jan 2017 13:13:27 +0000 (08:13 -0500)
committerChristian Trautman <ctrautma@redhat.com>
Mon, 23 Jan 2017 13:13:27 +0000 (08:13 -0500)
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>
vswitches/ovs_dpdk_vhost.py

index a273147..40f4533 100644 (file)
@@ -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)