test suite reviews and discussions
 help / color / mirror / Atom feed
* [dts][PATCH V1] tests/perf_test_base: add '--parse-ptype' parameter when test l3fwd with EM mode
@ 2023-01-12  5:55 Wei Ling
  2023-01-13  2:45 ` lijuan.tu
  0 siblings, 1 reply; 2+ messages in thread
From: Wei Ling @ 2023-01-12  5:55 UTC (permalink / raw)
  To: dts; +Cc: Wei Ling

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


^ permalink raw reply	[flat|nested] 2+ messages in thread

* [dts][PATCH V1] tests/perf_test_base: add '--parse-ptype' parameter when test l3fwd with EM mode
  2023-01-12  5:55 [dts][PATCH V1] tests/perf_test_base: add '--parse-ptype' parameter when test l3fwd with EM mode Wei Ling
@ 2023-01-13  2:45 ` lijuan.tu
  0 siblings, 0 replies; 2+ messages in thread
From: lijuan.tu @ 2023-01-13  2:45 UTC (permalink / raw)
  To: dts, Wei Ling; +Cc: Wei Ling

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-01-13  2:45 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-01-12  5:55 [dts][PATCH V1] tests/perf_test_base: add '--parse-ptype' parameter when test l3fwd with EM mode Wei Ling
2023-01-13  2:45 ` lijuan.tu

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