[V1] tests/perf_test_base: add '--parse-ptype' parameter when test l3fwd with EM mode
Checks
Context |
Check |
Description |
ci/Intel-dts-format-test |
success
|
Testing OK
|
ci/Intel-dts-pylama-test |
success
|
Testing OK
|
ci/Intel-dts-suite-test |
warning
|
SKIPPED
|
Commit Message
When test l3fwd with EM mode, need add with `--parse-ptype` in start
dpdk-l3fwd command line or start dpdk-l3fwd will failed.
Signed-off-by: Wei Ling <weix.ling@intel.com>
---
tests/perf_test_base.py | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
Comments
On Thu, 12 Jan 2023 13:55:52 +0800, Wei Ling <weix.ling@intel.com> wrote:
> When test l3fwd with EM mode, need add with `--parse-ptype` in start
> dpdk-l3fwd command line or start dpdk-l3fwd will failed.
>
> Signed-off-by: Wei Ling <weix.ling@intel.com>
Applied, thanks
@@ -823,7 +823,11 @@ class PerfTestBase(object):
command_line += " --rx-queue-size {rxtx} --tx-queue-size {rxtx}".format(
rxtx=self.__rxtx_queue_size
)
- if self.nic in suppored_nics or self.__mode is SUITE_TYPE.VF:
+ if (
+ self.nic in suppored_nics
+ or self.__mode is SUITE_TYPE.VF
+ or mode == MATCH_MODE.EM
+ ):
command_line += " --parse-ptype"
if mode == MATCH_MODE.EM:
# use exact mode