From: Weiyuan Li <weiyuanx.li@intel.com>
To: dts@dpdk.org
Cc: Weiyuan Li <weiyuanx.li@intel.com>
Subject: [dts][PATCH V1] tests/vf_offload: the optimization script sorts the result check list
Date: Wed, 19 Oct 2022 10:36:25 +0800 [thread overview]
Message-ID: <20221019023625.52696-1-weiyuanx.li@intel.com> (raw)
On some test platforms, the list of results after tso fragment capture is unordered, and sorting needs to be added.
Signed-off-by: Weiyuan Li <weiyuanx.li@intel.com>
---
tests/TestSuite_vf_offload.py | 2 ++
1 file changed, 2 insertions(+)
diff --git a/tests/TestSuite_vf_offload.py b/tests/TestSuite_vf_offload.py
index c70b24f4..75c75f05 100644
--- a/tests/TestSuite_vf_offload.py
+++ b/tests/TestSuite_vf_offload.py
@@ -584,6 +584,7 @@ class TestVfOffload(TestCase):
rx_stats = self.number_of_packets(rx_interface)
tx_stats = self.number_of_packets(tx_interface)
tx_outlist = self.number_of_bytes(rx_interface)
+ tx_outlist.sort(reverse=True)
self.logger.info(tx_outlist)
if loading_size <= 800:
self.verify(
@@ -618,6 +619,7 @@ class TestVfOffload(TestCase):
rx_stats = self.number_of_packets(rx_interface)
tx_stats = self.number_of_packets(tx_interface)
tx_outlist = self.number_of_bytes(rx_interface)
+ tx_outlist.sort(reverse=True)
self.logger.info(tx_outlist)
if loading_size <= 800:
self.verify(
--
2.25.1
next reply other threads:[~2022-10-19 2:32 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-10-19 2:36 Weiyuan Li [this message]
2022-10-27 8:06 ` Chen, LingliX
2022-11-18 8:25 ` 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=20221019023625.52696-1-weiyuanx.li@intel.com \
--to=weiyuanx.li@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).