test suite reviews and discussions
 help / color / mirror / Atom feed
From: xiewei <weix.xie@intel.com>
To: dts@dpdk.org
Cc: xiewei <weix.xie@intel.com>
Subject: [dts] [PATCH V2] tests/ddp_mpls: test-pmd add parameter --disable-rss
Date: Tue, 30 Mar 2021 23:20:26 +0800	[thread overview]
Message-ID: <20210330152026.4369-1-weix.xie@intel.com> (raw)

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

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


             reply	other threads:[~2021-03-30  6:43 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-03-30 15:20 xiewei [this message]
2021-03-30  6:47 ` Xie, WeiX
2021-03-31  6:49   ` 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=20210330152026.4369-1-weix.xie@intel.com \
    --to=weix.xie@intel.com \
    --cc=dts@dpdk.org \
    /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).