[dts] [PATCH V1] tests/ieee1588: set tx-offloads!=0 when start testpmd

Lijuan Tu lijuan.tu at intel.com
Thu Nov 15 21:01:45 CET 2018


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 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):
>           """



More information about the dts mailing list