From: yufengmx <yufengx.mo@intel.com>
To: dts@dpdk.org, lijuan.tu@intel.com, lihongx.ma@intel.com
Cc: yufengmx <yufengx.mo@intel.com>
Subject: [dts] [PATCH V1 1/1] l3fwd: update throughput delta
Date: Wed, 8 Jul 2020 16:04:23 +0800 [thread overview]
Message-ID: <20200708080423.29453-2-yufengx.mo@intel.com> (raw)
In-Reply-To: <20200708080423.29453-1-yufengx.mo@intel.com>
Throughput delta = run value - expected value.
Signed-off-by: yufengmx <yufengx.mo@intel.com>
---
tests/l3fwd_base.py | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/tests/l3fwd_base.py b/tests/l3fwd_base.py
index a6e26b0..1f4d037 100644
--- a/tests/l3fwd_base.py
+++ b/tests/l3fwd_base.py
@@ -827,11 +827,12 @@ class L3fwdBase(object):
expected, pps, round(gap, 2))
self.logger.error(msg)
else:
+ expected = pps
msg = ('{0} {1} expected throughput value is not set, '
'ignore check').format(config, frame_size)
self.logger.warning(msg)
status = 'pass'
- js_results.append([status, [pps, linerate - pps], percentage, config, frame_size])
+ js_results.append([status, [pps, pps - expected], percentage, config, frame_size])
# save data with json format
self.__save_throughput_result(self.__cur_case, js_results)
# display result table
--
2.21.0
prev parent reply other threads:[~2020-07-08 8:05 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-07-08 8:04 [dts] [PATCH V1 0/1] " yufengmx
2020-07-08 8:04 ` yufengmx [this message]
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=20200708080423.29453-2-yufengx.mo@intel.com \
--to=yufengx.mo@intel.com \
--cc=dts@dpdk.org \
--cc=lihongx.ma@intel.com \
--cc=lijuan.tu@intel.com \
/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).