[dts] [PATCH V1] tests/TestSuite_cvl_dcf_date_path:discard the -w parameter

Xie wei weix.xie at intel.com
Mon Dec 21 07:23:18 CET 2020


discard the -w parameter

Signed-off-by: Xie wei <weix.xie at intel.com>
---
 tests/TestSuite_cvl_dcf_date_path.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/TestSuite_cvl_dcf_date_path.py b/tests/TestSuite_cvl_dcf_date_path.py
index 5d40d6a3..04ac5de6 100644
--- a/tests/TestSuite_cvl_dcf_date_path.py
+++ b/tests/TestSuite_cvl_dcf_date_path.py
@@ -60,7 +60,7 @@ class DcfDatePathTest(TestCase):
         self.pkt = Packet()
 
     def set_up(self):
-        self.pmd_output.start_testpmd(cores="1S/4C/1T", param='--txq=2 --rxq=2 --txd=384 --rxd=384', eal_param="-w %s,cap=dcf --file-prefix=vf" % self.used_vf_pci)
+        self.pmd_output.start_testpmd(cores="1S/4C/1T", param='--txq=2 --rxq=2 --txd=384 --rxd=384', prefix="vf", ports=[self.used_vf_pci], port_options={self.used_vf_pci:"cap=dcf"})
 
     def send_packets(self, packets, tx_port, count=1):
         self.pkt.update_pkt(packets)
-- 
2.17.1



More information about the dts mailing list