[dts] [PATCH V1] tests/ieee1588: set tx-offloads!=0 when start testpmd
Wenjie Li
wenjiex.a.li at intel.com
Tue Nov 13 09:35:19 CET 2018
For IEEE1588, the full-feature tx path needs to be used.
Now txq flags is gone in DPDK.
Start testpmd with "--tx-offloads!=0" to force the tx code path.
Signed-off-by: Wenjie Li <wenjiex.a.li at intel.com>
---
tests/TestSuite_ieee1588.py | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/tests/TestSuite_ieee1588.py b/tests/TestSuite_ieee1588.py
index d9a7b3a..0f3bb98 100644
--- a/tests/TestSuite_ieee1588.py
+++ b/tests/TestSuite_ieee1588.py
@@ -59,7 +59,10 @@ class TestIeee1588(TestCase):
self.dut.build_install_dpdk(self.target)
self.pmdout = PmdOutput(self.dut)
- self.pmdout.start_testpmd("Default")
+ # For IEEE1588, the full-feature tx path needs to be used.
+ # Now txq flags is gone in DPDK.
+ # Start testpmd with "--tx-offloads!=0" to force the tx code path.
+ self.pmdout.start_testpmd("Default", " --tx-offloads=0x1")
def set_up(self):
"""
--
2.17.2
More information about the dts
mailing list