[dts] [PATCH] TestSuite_rss_to_rte_flow.py: Adding seperate packet verification condition for cavium_a063

nareddy at marvell.com nareddy at marvell.com
Tue Apr 23 10:15:13 CEST 2019


From: Praneeth Reddy <nareddy at marvell.com>

For` cavium_a063, packets which are not part of RSS queue rule forwards to random queues.
Excluding 0th queue verification, verifying only packets which are part of RSS queue rule.

Signed-off-by: Praneeth Reddy <nareddy at marvell.com>
---
 tests/TestSuite_rss_to_rte_flow.py | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/tests/TestSuite_rss_to_rte_flow.py b/tests/TestSuite_rss_to_rte_flow.py
index e84f7e5..587888f 100644
--- a/tests/TestSuite_rss_to_rte_flow.py
+++ b/tests/TestSuite_rss_to_rte_flow.py
@@ -374,6 +374,11 @@ class TestRSS_to_Rteflow(TestCase):
             self.send_and_check(self.pkt1, rss_queue)
             self.send_and_check(self.pkt7, rss_queue)
             self.send_and_check(self.pkt8, rss_queue)
+        elif(self.nic in ["cavium_a063"]):
+            rss_queue = ["1", "4", "7"]
+            self.send_and_check(self.pkt2, rss_queue)
+            self.send_and_check(self.pkt3, rss_queue)
+            self.send_and_check(self.pkt6, rss_queue)
         else:
             rss_queue = ["1", "4", "7"]
             self.send_and_check(self.pkt2, rss_queue)
-- 
1.8.3.1



More information about the dts mailing list