test suite reviews and discussions
 help / color / mirror / Atom feed
From: Weiyuan Li <weiyuanx.li@intel.com>
To: dts@dpdk.org
Cc: Weiyuan Li <weiyuanx.li@intel.com>
Subject: [dts][PATCH V1] tests/vf_interrupt_pmd: Optimize scripts to increase the number of packets sent
Date: Fri, 30 Dec 2022 14:40:14 +0800	[thread overview]
Message-ID: <20221230064014.12872-1-weiyuanx.li@intel.com> (raw)

The number of packets sent is not enough. Some queues cannot receive
packets, which causes verification failure. Therefore, the number of
packets sent is increased.

Signed-off-by: Weiyuan Li <weiyuanx.li@intel.com>
---
 tests/TestSuite_vf_interrupt_pmd.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/tests/TestSuite_vf_interrupt_pmd.py b/tests/TestSuite_vf_interrupt_pmd.py
index 4fdff601..4f78aea0 100644
--- a/tests/TestSuite_vf_interrupt_pmd.py
+++ b/tests/TestSuite_vf_interrupt_pmd.py
@@ -345,7 +345,7 @@ class TestVfInterruptPmd(TestCase):
         )
         self.begin_l3fwd_power_multi_queues(self.dut)
         stroutput = ""
-        for ip in range(2, 10):
+        for ip in range(2, 30):
             self.send_packet_loop(self.vf_mac, self.rx_intf_0, self.dut, ip)
             stroutput = stroutput + self.out2
         for queue in range(self.queues):
@@ -397,7 +397,7 @@ class TestVfInterruptPmd(TestCase):
         )
         self.vm0_dut.send_expect(cmd, "Checking link statusdone", 60)
         stroutput = ""
-        for ip in range(2, 10):
+        for ip in range(2, 30):
             self.send_packet_loop(self.vf0_mac, self.rx_intf_0, self.vm0_dut, ip)
             stroutput = stroutput + self.out2
         self.destroy_vm_env()
-- 
2.27.0


             reply	other threads:[~2022-12-30  6:40 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-12-30  6:40 Weiyuan Li [this message]
2023-01-04  1:13 ` 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=20221230064014.12872-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).