[dts] [PATCH V2] tests/ddp_mpls: test-pmd add parameter --disable-rss

xiewei weix.xie at intel.com
Tue Mar 30 17:20:26 CEST 2021


iavf has rss hash rx offload capability by default, but i40evf not have.
So the hash value and rx queue number will be random when receive wrong label MPLS packets.
If want to wrong label packets received by default queue 0, just launch test-pmd with parameter "--disable-rss".

Signed-off-by: xiewei <weix.xie at intel.com>
---
v2: re-launch testpmd is a waste of time, and start testpmd with 'disable-rss` directly.

v1: compatible with iavf and i40evf for vf.

 tests/TestSuite_ddp_mpls.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/TestSuite_ddp_mpls.py b/tests/TestSuite_ddp_mpls.py
index 53fd4a76..7c677c3c 100644
--- a/tests/TestSuite_ddp_mpls.py
+++ b/tests/TestSuite_ddp_mpls.py
@@ -129,7 +129,7 @@ class Testddp_mpls(TestCase):
             "Default","--port-topology=chained --txq=%s --rxq=%s" 
             % (PF_MAX_QUEUE, PF_MAX_QUEUE))
         self.vm0_testpmd.start_testpmd(
-            VM_CORES_MASK,"--port-topology=chained --txq=%s --rxq=%s" 
+            VM_CORES_MASK,"--port-topology=chained --txq=%s --rxq=%s --disable-rss"
             % (VF_MAX_QUEUE, VF_MAX_QUEUE))
         
 
-- 
2.17.1



More information about the dts mailing list