diff options
Diffstat (limited to 'resources')
-rw-r--r-- | resources/libraries/python/DpdkUtil.py | 8 | ||||
-rw-r--r-- | resources/libraries/python/QemuUtils.py | 2 | ||||
-rw-r--r-- | resources/libraries/robot/performance/performance_configuration.robot | 4 |
3 files changed, 7 insertions, 7 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 diff --git a/resources/libraries/robot/performance/performance_configuration.robot b/resources/libraries/robot/performance/performance_configuration.robot index 66bda0c231..72fc74ab54 100644 --- a/resources/libraries/robot/performance/performance_configuration.robot +++ b/resources/libraries/robot/performance/performance_configuration.robot @@ -2295,7 +2295,7 @@ | | ${vm}= | Run keyword | ${vm_name}.Qemu Start | | Run keyword | ${vm_name}.Qemu Set Affinity | @{qemu_cpus} | | Run keyword If | ${use_tuned_cfs} | ${vm_name}.Qemu Set Scheduler Policy -| | ${max_pkt_len}= | Set Variable If | ${jumbo} | 9000 | ${EMPTY} +| | ${max_pkt_len}= | Set Variable If | ${jumbo} | 9200 | ${EMPTY} | | ${testpmd_cpus}= | Evaluate | ${thr_count_int} + ${1} | | ${testpmd_cpus}= | Cpu list per node str | ${nodes['${dut}']} | ${0} | | ... | cpu_cnt=${testpmd_cpus} @@ -2442,7 +2442,7 @@ | | ${vm}= | Run keyword | ${vm_name}.Qemu Start | | Run keyword | ${vm_name}.Qemu Set Affinity | @{qemu_cpus} | | Run keyword If | ${use_tuned_cfs} | ${vm_name}.Qemu Set Scheduler Policy -| | ${max_pkt_len}= | Set Variable If | ${jumbo} | 9000 | ${EMPTY} +| | ${max_pkt_len}= | Set Variable If | ${jumbo} | 9200 | ${EMPTY} | | ${testpmd_cpus}= | Evaluate | ${thr_count_int} + ${1} | | ${testpmd_cpus}= | Cpu list per node str | ${nodes['${dut}']} | ${0} | | ... | cpu_cnt=${testpmd_cpus} |