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

Message ID 20221230064014.12872-1-weiyuanx.li@intel.com (mailing list archive)
State Accepted
Headers
Series [V1] tests/vf_interrupt_pmd: Optimize scripts to increase the number of packets sent |

Checks

Context Check Description
ci/Intel-dts-format-test success Testing OK
ci/Intel-dts-pylama-test success Testing OK
ci/Intel-dts-suite-test warning SKIPPED

Commit Message

Weiyuan Li Dec. 30, 2022, 6:40 a.m. UTC
  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(-)
  

Comments

Tu, Lijuan Jan. 4, 2023, 1:13 a.m. UTC | #1
On Fri, 30 Dec 2022 14:40:14 +0800, Weiyuan Li <weiyuanx.li@intel.com> wrote:
> 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>


Applied, thanks
  

Patch

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()