diff options
author | Tibor Frank <tifrank@cisco.com> | 2018-09-12 09:18:42 +0200 |
---|---|---|
committer | Tibor Frank <tifrank@cisco.com> | 2018-09-26 16:34:27 +0200 |
commit | 090fc8fdab1ad817fdcd2c2d82361b64fdf1a7b7 (patch) | |
tree | 0939b0901c492e029d679e626801e65e08b962f7 /resources/libraries/python | |
parent | 171889747da6da21fd7aab3cac78fff3d50c9bd0 (diff) |
Fix jumbo frames
Change-Id: I8aa557fe75133d20eef9832e314357af71f1d19a
Signed-off-by: Tibor Frank <tifrank@cisco.com>
Diffstat (limited to 'resources/libraries/python')
-rw-r--r-- | resources/libraries/python/DpdkUtil.py | 8 | ||||
-rw-r--r-- | resources/libraries/python/QemuUtils.py | 2 |
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 |