test suite reviews and discussions
 help / color / mirror / Atom feed
* [dts] [PATCH V1] tests/ieee1588: set tx-offloads!=0 when start testpmd
@ 2018-11-13  8:35 Wenjie Li
  2018-11-15 20:01 ` Lijuan Tu
  0 siblings, 1 reply; 2+ messages in thread
From: Wenjie Li @ 2018-11-13  8:35 UTC (permalink / raw)
  To: dts; +Cc: Wenjie Li

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@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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [dts] [PATCH V1] tests/ieee1588: set tx-offloads!=0 when start testpmd
  2018-11-13  8:35 [dts] [PATCH V1] tests/ieee1588: set tx-offloads!=0 when start testpmd Wenjie Li
@ 2018-11-15 20:01 ` Lijuan Tu
  0 siblings, 0 replies; 2+ messages in thread
From: Lijuan Tu @ 2018-11-15 20:01 UTC (permalink / raw)
  To: Wenjie Li, dts

Applied with change.


On 2018年11月13日 16:35, Wenjie Li wrote:
> 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@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):
>           """

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2018-11-15 11:33 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-11-13  8:35 [dts] [PATCH V1] tests/ieee1588: set tx-offloads!=0 when start testpmd Wenjie Li
2018-11-15 20:01 ` Lijuan Tu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).