[dts] [PATCH V1] tests/ieee1588: fix ieee1588 failed

han,yingya yingyax.han at intel.com
Wed Mar 28 08:49:05 CEST 2018


From: "lu,peipei" <peipeix.lu at intel.com>

IEEE1588 PTP V2 SYNC Message filtered by hardware need to set tx offloads.

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..eb7645f 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.pmdout.start_testpmd("Default","--tx-offloads=0x8ffe")
 
     def set_up(self):
         """
-- 
1.9.3



More information about the dts mailing list