test suite reviews and discussions
 help / color / mirror / Atom feed
From: <nareddy@marvell.com>
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
Date: Mon, 16 Dec 2019 12:02:44 +0530	[thread overview]
Message-ID: <1576477964-13578-1-git-send-email-nareddy@marvell.com> (raw)

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


             reply	other threads:[~2019-12-16  6:32 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-12-16  6:32 nareddy [this message]
2019-12-20  7:59 ` Tu, Lijuan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1576477964-13578-1-git-send-email-nareddy@marvell.com \
    --to=nareddy@marvell.com \
    --cc=dts@dpdk.org \
    --cc=pvukkisala@marvell.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).