[dts] [PATCH] tests/softnic: change for new DPDK API

Peng, Yuan yuan.peng at intel.com
Tue Sep 22 10:38:31 CEST 2020


Acked by Peng, Yuan <yuan.peng at intel.com>

-----Original Message-----
From: dts <dts-bounces at dpdk.org> On Behalf Of Marcin Danilewicz
Sent: Saturday, September 19, 2020 1:57 AM
To: dts at dpdk.org
Cc: Dharmappa, Savinay <savinay.dharmappa at intel.com>; Danilewicz, MarcinX <marcinx.danilewicz at intel.com>
Subject: [dts] [PATCH] tests/softnic: change for new DPDK API

Modify the test timeout to time needed to apply cli firmwares, for changed DPDK API dynamic config of subport bandwidth.

Signed-off-by: Marcin Danilewicz <marcinx.danilewicz at intel.com>
---
 tests/TestSuite_softnic.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/TestSuite_softnic.py b/tests/TestSuite_softnic.py index 7752546..c9744af 100644
--- a/tests/TestSuite_softnic.py
+++ b/tests/TestSuite_softnic.py
@@ -107,7 +107,7 @@ class TestSoftnic(TestCase):
         # 10G nic pps(M)
         expect_pps = [14, 8, 4, 2, 1, 0.9, 0.8]
 
-        self.dut.send_expect(self.cmd % (self.target, self.eal_param, 'firmware.cli'), "testpmd>", timeout=300)
+        self.dut.send_expect(self.cmd % (self.target, self.eal_param, 
+ 'firmware.cli'), "testpmd>", timeout=800)
         self.dut.send_expect("set fwd macswap", "testpmd>")
         self.dut.send_expect("start", "testpmd>")
         rx_port = self.tester.get_local_port(0)
--
2.7.4

--------------------------------------------------------------
Intel Research and Development Ireland Limited Registered in Ireland Registered Office: Collinstown Industrial Park, Leixlip, County Kildare Registered Number: 308263


This e-mail and any attachments may contain confidential material for the sole use of the intended recipient(s). Any review or distribution by others is strictly prohibited. If you are not the intended recipient, please contact the sender and delete all copies.



More information about the dts mailing list