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