[dts] [PATCH] TestSuite_ieee1588.py: ptype supported offload feature is disabled in cavium_a063 and cavium_a064

nareddy at marvell.com nareddy at marvell.com
Mon Dec 16 07:32:44 CET 2019


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