[dts] [PATCH V1] /tests/ieee1588: fix tx-offloads failed

lu,peipei peipeix.lu at intel.com
Wed Jan 31 07:08:21 CET 2018


add tx offloads value 0x8000

Signed-off-by: lu,peipei <peipeix.lu at intel.com>
---
 tests/TestSuite_ieee1588.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/TestSuite_ieee1588.py b/tests/TestSuite_ieee1588.py
index d9a7b3a..ae1ba66 100644
--- a/tests/TestSuite_ieee1588.py
+++ b/tests/TestSuite_ieee1588.py
@@ -59,7 +59,7 @@ class TestIeee1588(TestCase):
         self.dut.build_install_dpdk(self.target)
 
         self.pmdout = PmdOutput(self.dut)
-        self.pmdout.start_testpmd("Default")
+        self.dut.send_expect("./%s/app/testpmd -c 0x6 -n %d -- -i --tx-offloads=0x8000" % (self.target, self.dut.get_memory_channels()), "testpmd>", 30)        
 
     def set_up(self):
         """
-- 
1.9.3



More information about the dts mailing list