diff mbox series

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

Message ID 20210330152026.4369-1-weix.xie@intel.com (mailing list archive)
State Accepted
Headers show
Series [V2] tests/ddp_mpls: test-pmd add parameter --disable-rss | expand

Commit Message

Xie, WeiX March 30, 2021, 3:20 p.m. UTC
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@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(-)

Comments

Xie, WeiX March 30, 2021, 6:47 a.m. UTC | #1
> -----Original Message-----
> From: Xie, WeiX <weix.xie@intel.com>
> Sent: Tuesday, March 30, 2021 11:20 PM
> To: dts@dpdk.org
> Cc: Xie, WeiX <weix.xie@intel.com>
> Subject: [PATCH V2] tests/ddp_mpls: test-pmd add parameter --disable-rss

Tested-by: Xie Wei <weix.xie@intel.com>
Lijuan Tu March 31, 2021, 6:49 a.m. UTC | #2
> -----Original Message-----
> From: dts <dts-bounces@dpdk.org> On Behalf Of Xie, WeiX
> Sent: 2021年3月30日 14:47
> To: dts@dpdk.org
> Subject: Re: [dts] [PATCH V2] tests/ddp_mpls: test-pmd add parameter --disable-
> rss
> 
> > -----Original Message-----
> > From: Xie, WeiX <weix.xie@intel.com>
> > Sent: Tuesday, March 30, 2021 11:20 PM
> > To: dts@dpdk.org
> > Cc: Xie, WeiX <weix.xie@intel.com>
> > Subject: [PATCH V2] tests/ddp_mpls: test-pmd add parameter --disable-rss
> 
> Tested-by: Xie Wei <weix.xie@intel.com>

Applied, thanks
diff mbox series

Patch

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