[dts] [PATCH V1] tests/floating_veb: reject space in pci id
Xie, WeiX
weix.xie at intel.com
Thu May 21 11:43:48 CEST 2020
Tested-by: Xie,WeiX < weix.xie at intel.com>
Regards,
Xie Wei
-----Original Message-----
From: Xie, WeiX
Sent: Thursday, May 21, 2020 5:32 PM
To: dts at dpdk.org
Cc: Xie, WeiX <weix.xie at intel.com>
Subject: [dts][PATCH V1] tests/floating_veb: reject space in pci id
Signed-off-by: Xie Wei <weix.xie at intel.com>
---
tests/TestSuite_floating_veb.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/tests/TestSuite_floating_veb.py b/tests/TestSuite_floating_veb.py index 350d8fa..bf83cb5 100644
--- a/tests/TestSuite_floating_veb.py
+++ b/tests/TestSuite_floating_veb.py
@@ -357,7 +357,7 @@ class TestFloatingVEBSwitching(TestCase):
"""
self.setup_env(driver=self.drivername, vf_num=4)
# start PF
- self.dut.send_expect("./%s/app/testpmd -c 0xf -n 4 --socket-mem 1024,1024 \"-w %s,enable_floating_veb=1,floating_veb_list=0;2-3\" --file-prefix=test1 -- -i" % (self.target, self.pf_pci), "testpmd>", 120)
+ self.dut.send_expect("./%s/app/testpmd -c 0xf -n 4 --socket-mem
+ 1024,1024 -w \"%s,enable_floating_veb=1,floating_veb_list=0;2-3\"
+ --file-prefix=test1 -- -i" % (self.target, self.pf_pci), "testpmd>",
+ 120)
self.dut.send_expect("port start all", "testpmd>")
time.sleep(2)
# VF1->VF0
@@ -486,7 +486,7 @@ class TestFloatingVEBSwitching(TestCase):
"""
self.setup_env(driver=self.drivername, vf_num=4)
# VF0->PF
- self.dut.send_expect("./%s/app/testpmd -c 0xf -n 4 --socket-mem 1024,1024 \"-w %s,enable_floating_veb=1,floating_veb_list=0;3\" --file-prefix=test1 -- -i" % (self.target, self.pf_pci), "testpmd>", 120)
+ self.dut.send_expect("./%s/app/testpmd -c 0xf -n 4 --socket-mem
+ 1024,1024 -w \"%s,enable_floating_veb=1,floating_veb_list=0;3\"
+ --file-prefix=test1 -- -i" % (self.target, self.pf_pci), "testpmd>",
+ 120)
self.dut.send_expect("set fwd rxonly", "testpmd>")
self.dut.send_expect("set promisc all off", "testpmd>")
self.dut.send_expect("start", "testpmd>")
--
2.17.2
-------------- next part --------------
A non-text attachment was scrubbed...
Name: TestFloatingVEBSwitching.log
Type: application/octet-stream
Size: 37498 bytes
Desc: TestFloatingVEBSwitching.log
URL: <http://mails.dpdk.org/archives/dts/attachments/20200521/0ad8b96b/attachment.obj>
More information about the dts
mailing list