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

Liu, Yong yong.liu at intel.com
Thu Mar 29 04:35:54 CEST 2018


Hi Yingya,
Just for IEEE1588 suite, I think only DEV_RX_OFFLOAD_TIMESTAMP (0x00004000) is needed. 
Enabling too much Tx offloaing flags will cause confusion.

Thanks,
Marvin

> -----Original Message-----
> From: dts [mailto:dts-bounces at dpdk.org] On Behalf Of han,yingya
> Sent: Wednesday, March 28, 2018 2:49 PM
> To: dts at dpdk.org
> Cc: Lu, PeipeiX <peipeix.lu at intel.com>
> Subject: [dts] [PATCH V1] tests/ieee1588: fix ieee1588 failed
> 
> 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