test suite reviews and discussions
 help / color / mirror / Atom feed
From: Wei Ling <weix.ling@intel.com>
To: dts@dpdk.org
Cc: Wei Ling <weix.ling@intel.com>
Subject: [dts][PATCH V1] tests/perf_test_base: add '--parse-ptype' parameter when test l3fwd with EM mode
Date: Thu, 12 Jan 2023 13:55:52 +0800	[thread overview]
Message-ID: <20230112055552.1312174-1-weix.ling@intel.com> (raw)

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(-)

diff --git a/tests/perf_test_base.py b/tests/perf_test_base.py
index 62d416cf..5c87163f 100644
--- a/tests/perf_test_base.py
+++ b/tests/perf_test_base.py
@@ -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
-- 
2.25.1


             reply	other threads:[~2023-01-12  6:05 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-01-12  5:55 Wei Ling [this message]
2023-01-13  2:45 ` lijuan.tu

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20230112055552.1312174-1-weix.ling@intel.com \
    --to=weix.ling@intel.com \
    --cc=dts@dpdk.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).