[dts] [PATCH V1] tests/vf_daemon change send pkt count
zhao,meijuan
meijuanx.zhao at intel.com
Wed Feb 28 09:03:23 CET 2018
need change send pkt count to make full of queues,you can refer to dpdk bd8f10f
Signed-off-by: zhao,meijuan <meijuanx.zhao at intel.com>
---
tests/TestSuite_vf_daemon.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/tests/TestSuite_vf_daemon.py b/tests/TestSuite_vf_daemon.py
index 840f218..87734de 100644
--- a/tests/TestSuite_vf_daemon.py
+++ b/tests/TestSuite_vf_daemon.py
@@ -458,9 +458,9 @@ class Testvf_daemon(TestCase):
self.dut_testpmd.execute_cmd('set all queues drop 0 off')
self.vf0_mac = self.vm0_testpmd.get_port_mac(0)
self.vf1_mac = self.vm1_testpmd.get_port_mac(0)
- out = self.send_and_pmdout(self.vf1_mac, 0, 64, 200)
+ out = self.send_and_pmdout(self.vf1_mac, 0, 64, 2000)
out = self.vm1_testpmd.execute_cmd('show port stats 0')
- self.verify("RX-packets: 127" in out,
+ self.verify("RX-packets: 1023" in out,
"Failed to let vf1 full of queues!!!")
out = self.send_and_pmdout(self.vf0_mac, 0, 64, 20)
out = self.vm0_testpmd.execute_cmd('show port stats 0')
--
1.9.3
More information about the dts
mailing list