aboutsummaryrefslogtreecommitdiffstats
path: root/resources/libraries/python
diff options
context:
space:
mode:
Diffstat (limited to 'resources/libraries/python')
-rw-r--r--resources/libraries/python/DpdkUtil.py8
-rw-r--r--resources/libraries/python/QemuUtils.py2
2 files changed, 5 insertions, 5 deletions
diff --git a/resources/libraries/python/DpdkUtil.py b/resources/libraries/python/DpdkUtil.py
index 60ee86763c..41c79a84cf 100644
--- a/resources/libraries/python/DpdkUtil.py
+++ b/resources/libraries/python/DpdkUtil.py
@@ -121,17 +121,17 @@ class DpdkUtil(object):
return pmd_options
@staticmethod
- def dpdk_testpmd_start(node, **args):
+ def dpdk_testpmd_start(node, **kwargs):
"""Start DPDK testpmd app on VM node.
:param node: VM Node to start testpmd on.
- :param args: List of testpmd parameters.
+ :param args: Key-value testpmd parameters.
:type node: dict
:type args: dict
:returns: nothing
"""
- eal_options = DpdkUtil.get_eal_options(**args)
- pmd_options = DpdkUtil.get_pmd_options(**args)
+ eal_options = DpdkUtil.get_eal_options(**kwargs)
+ pmd_options = DpdkUtil.get_pmd_options(**kwargs)
ssh = SSH()
ssh.connect(node)
diff --git a/resources/libraries/python/QemuUtils.py b/resources/libraries/python/QemuUtils.py
index 588002896c..a61a11d37a 100644
--- a/resources/libraries/python/QemuUtils.py
+++ b/resources/libraries/python/QemuUtils.py
@@ -260,7 +260,7 @@ class QemuUtils(object):
'mq=on,csum=off,gso=off,guest_tso4=off,guest_tso6=off,'
'guest_ecn=off,mrg_rxbuf={mbuf}{queue_size}'.
format(vhost_id=self._vhost_id, mac=mac,
- mbuf='on' if jumbo_frames else 'off',
+ mbuf='on,host_mtu=9200' if jumbo_frames else 'off',
queue_size=queue_size))
self._qemu_opt['options'] += device
# Add interface MAC and socket to the node dict