test suite reviews and discussions
 help / color / mirror / Atom feed
* [dts] [PATCH] TestSuite_ieee1588.py: ptype supported offload feature is disabled in cavium_a063 and cavium_a064
@ 2019-12-16  6:32 nareddy
  2019-12-20  7:59 ` Tu, Lijuan
  0 siblings, 1 reply; 2+ messages in thread
From: nareddy @ 2019-12-16  6:32 UTC (permalink / raw)
  To: dts; +Cc: pvukkisala, Praneeth Reddy

From: Praneeth Reddy <nareddy@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@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


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

* Re: [dts] [PATCH] TestSuite_ieee1588.py: ptype supported offload feature is disabled in cavium_a063 and cavium_a064
  2019-12-16  6:32 [dts] [PATCH] TestSuite_ieee1588.py: ptype supported offload feature is disabled in cavium_a063 and cavium_a064 nareddy
@ 2019-12-20  7:59 ` Tu, Lijuan
  0 siblings, 0 replies; 2+ messages in thread
From: Tu, Lijuan @ 2019-12-20  7:59 UTC (permalink / raw)
  To: nareddy, dts; +Cc: pvukkisala

Applied, thanks

> -----Original Message-----
> From: dts [mailto:dts-bounces@dpdk.org] On Behalf Of
> nareddy@marvell.com
> Sent: Monday, December 16, 2019 2:33 PM
> To: dts@dpdk.org
> Cc: pvukkisala@marvell.com; Praneeth Reddy <nareddy@marvell.com>
> Subject: [dts] [PATCH] TestSuite_ieee1588.py: ptype supported offload
> feature is disabled in cavium_a063 and cavium_a064
> 
> From: Praneeth Reddy <nareddy@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@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


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

end of thread, other threads:[~2019-12-20  7:59 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-12-16  6:32 [dts] [PATCH] TestSuite_ieee1588.py: ptype supported offload feature is disabled in cavium_a063 and cavium_a064 nareddy
2019-12-20  7:59 ` Tu, Lijuan

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).