[dts] [PATCH] TestSuite_ieee1588.py: ptype supported offload feature is disabled in cavium_a063 and cavium_a064
Tu, Lijuan
lijuan.tu at intel.com
Fri Dec 20 08:59:34 CET 2019
Applied, thanks
> -----Original Message-----
> From: dts [mailto:dts-bounces at dpdk.org] On Behalf Of
> nareddy at marvell.com
> Sent: Monday, December 16, 2019 2:33 PM
> To: dts at dpdk.org
> Cc: pvukkisala at marvell.com; Praneeth Reddy <nareddy at marvell.com>
> Subject: [dts] [PATCH] TestSuite_ieee1588.py: ptype supported offload
> feature is disabled in cavium_a063 and cavium_a064
>
> From: Praneeth Reddy <nareddy at marvell.com>
>
> ptype supported offload feature is disabled, enabling ptype mask for
> cavium_a063 and cavium_a064 in DTS script
>
> Signed-off-by: Praneeth Reddy <nareddy at marvell.com>
> ---
> tests/TestSuite_ieee1588.py | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/tests/TestSuite_ieee1588.py b/tests/TestSuite_ieee1588.py index
> f3fea42..19f17d1 100644
> --- a/tests/TestSuite_ieee1588.py
> +++ b/tests/TestSuite_ieee1588.py
> @@ -76,6 +76,8 @@ class TestIeee1588(TestCase):
> IEEE1588 Enable test case.
> """
> self.dut.send_expect("set fwd ieee1588", "testpmd> ", 10)
> + if (self.nic in ["cavium_a063", "cavium_a064"]):
> + self.dut.send_expect("set port 0 ptype_mask 0xf", "testpmd>
> + ", 10)
> # Waiting for 'testpmd> ' Fails due to log messages, "Received non PTP
> # packet", in the output
> self.dut.send_expect("start", ">", 10)
> --
> 1.8.3.1
More information about the dts
mailing list