test suite reviews and discussions
 help / color / mirror / Atom feed
* [dts][PATCH V1] tests/vf_interrupt_pmd: Optimize scripts to increase the number of packets sent
@ 2022-12-30  6:40 Weiyuan Li
  2023-01-04  1:13 ` lijuan.tu
  0 siblings, 1 reply; 2+ messages in thread
From: Weiyuan Li @ 2022-12-30  6:40 UTC (permalink / raw)
  To: dts; +Cc: Weiyuan Li

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


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

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

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-12-30  6:40 [dts][PATCH V1] tests/vf_interrupt_pmd: Optimize scripts to increase the number of packets sent Weiyuan Li
2023-01-04  1:13 ` 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).