[dts] [PATCH V2] tests/vf packet rxtx:add rxq txq for host testpmd in ixgbe

Yao, BingX Y bingx.y.yao at intel.com
Thu Feb 21 07:19:56 CET 2019


Tested-by: yaobing <bingx.y.yao at intel.com>

-----Original Message-----
From: dts [mailto:dts-bounces at dpdk.org] On Behalf Of zhao,meijuan
Sent: Thursday, February 21, 2019 2:11 PM
To: dts at dpdk.org
Cc: Zhao, MeijuanX <meijuanx.zhao at intel.com>
Subject: [dts] [PATCH V2] tests/vf packet rxtx:add rxq txq for host testpmd in ixgbe

Signed-off-by: zhao,meijuan <meijuanx.zhao at intel.com>
---
 tests/TestSuite_vf_packet_rxtx.py | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/tests/TestSuite_vf_packet_rxtx.py b/tests/TestSuite_vf_packet_rxtx.py
index c56bdd7..571b11e 100644
--- a/tests/TestSuite_vf_packet_rxtx.py
+++ b/tests/TestSuite_vf_packet_rxtx.py
@@ -191,7 +191,10 @@ class TestVfPacketRxtx(TestCase):
                 eal_param = '-b %(vf0)s -b %(vf1)s -b %(vf2)s' % {'vf0': self.sriov_vfs_port[0].pci,
                                                                   'vf1': self.sriov_vfs_port[1].pci,
                                                                   'vf2': self.sriov_vfs_port[2].pci}
-                self.host_testpmd.start_testpmd("1S/2C/2T", eal_param=eal_param)
+                if (self.nic in ["niantic", "sageville", "sagepond"]):
+                    self.host_testpmd.start_testpmd("1S/9C/1T", "--txq=4 --rxq=4 ", eal_param=eal_param)
+                else:
+                    self.host_testpmd.start_testpmd("1S/2C/2T", eal_param=eal_param)
 
             # set up VM0 ENV
             self.vm0 = VM(self.dut, 'vm0', 'vf_packet_rxtx')
-- 
2.17.2



More information about the dts mailing list