[dts][PATCH V1] tests/vf_interrupt_pmd: Optimize scripts to increase the number of packets sent

Weiyuan Li weiyuanx.li at intel.com
Fri Dec 30 07:40:14 CET 2022


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 at 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



More information about the dts mailing list