diff options
author | Lukasz Pawlik <lukaszx.pawlik@intel.com> | 2019-10-07 07:48:53 +0100 |
---|---|---|
committer | Emma Finn <emma.finn@intel.com> | 2019-10-29 11:04:50 +0000 |
commit | 579caa865deca76619ee1611e427ac222aa66321 (patch) | |
tree | 23f0dc2069685244e52ce728fd6214d2adc8f0a0 /vnfs/qemu | |
parent | f8f22a8301ff5c188f6a5647a52c57290da5ffa6 (diff) |
integration: fix ovsdpdk_mq_pvp_rxqs_testpmd
Parameters passed to testpmd are changed in DPDK 18.11. Setting
stat-qmap does not work from command line it can be set only from
testpmd application before port forwarding is started. Decrease frame
rate on traffic generator to receive traffic on two queues.
Change-Id: I82b8e478226d59b091154d325afed07327908250
Signed-off-by: Lukasz Pawlik <lukaszx.pawlik@intel.com>
Diffstat (limited to 'vnfs/qemu')
-rw-r--r-- | vnfs/qemu/qemu.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/vnfs/qemu/qemu.py b/vnfs/qemu/qemu.py index a2c8d4be..fb87ed27 100644 --- a/vnfs/qemu/qemu.py +++ b/vnfs/qemu/qemu.py @@ -398,6 +398,8 @@ class IVnfQemu(IVnf): self.execute_and_wait('./testpmd {}'.format(testpmd_params), 60, "Done") self.execute_and_wait('set fwd ' + self._testpmd_fwd_mode, 20, 'testpmd>') + for entry in S.getValue('GUEST_QUEUE_STATS_MAPPING'): + self.execute_and_wait('set stat_qmap ' + entry, 2, 'testpmd>') self.execute_and_wait('start', 20, 'testpmd>') def _configure_l2fwd(self): |