test suite reviews and discussions
 help / color / mirror / Atom feed
From: "Zhang, YanX A" <yanx.a.zhang@intel.com>
To: "Xiao, QimaiX" <qimaix.xiao@intel.com>, "dts@dpdk.org" <dts@dpdk.org>
Cc: "Xiao, QimaiX" <qimaix.xiao@intel.com>
Subject: Re: [dts] [PATCH V1] tests/TestSuite_runtime_vf_queue_number_kernel.py:	set rss-hash-key to a fixed value
Date: Mon, 22 Jul 2019 06:08:06 +0000	[thread overview]
Message-ID: <2C49E4B25FAD1D419F7564D633EF72E1F3B4CD@SHSMSX105.ccr.corp.intel.com> (raw)
In-Reply-To: <1563774709-28570-1-git-send-email-qimaix.xiao@intel.com>

Tested-by:  Zhang, YanX A <yanx.a.zhang@intel.com>

-----Original Message-----
From: dts [mailto:dts-bounces@dpdk.org] On Behalf Of xiao,qimai
Sent: Monday, July 22, 2019 1:52 PM
To: dts@dpdk.org
Cc: Xiao, QimaiX <qimaix.xiao@intel.com>
Subject: [dts] [PATCH V1] tests/TestSuite_runtime_vf_queue_number_kernel.py: set rss-hash-key to a fixed value

set rss-hash-key to a fixed value instead of default random value on vf

Signed-off-by: xiao,qimai <qimaix.xiao@intel.com>
---
 tests/TestSuite_runtime_vf_queue_number_kernel.py | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/tests/TestSuite_runtime_vf_queue_number_kernel.py b/tests/TestSuite_runtime_vf_queue_number_kernel.py
index 4232253..18b72b3 100644
--- a/tests/TestSuite_runtime_vf_queue_number_kernel.py
+++ b/tests/TestSuite_runtime_vf_queue_number_kernel.py
@@ -189,6 +189,8 @@ class TestRuntimeVfQueueNumberKernel(TestCase):
 
             self.vm0_testpmd.execute_cmd('set verbose 1')
             self.vm0_testpmd.execute_cmd('set promisc all off')
+	    #set rss-hash-key to a fixed value instead of default random value on vf
+	    self.vm0_testpmd.execute_cmd('port config 0 rss-hash-key ipv4 
+6EA6A420D5138E712433B813AE45B3C4BECB2B405F31AD6C331835372D15E2D5E49566E
+E0ED1962AFA1B7932F3549520FD71C75E')
             time.sleep(1)
             self.vm0_testpmd.execute_cmd('set fwd mac')
             self.vm0_testpmd.execute_cmd("clear port stats all") @@ -238,6 +240,8 @@ class TestRuntimeVfQueueNumberKernel(TestCase):
                 self.vm0_testpmd.execute_cmd('set fwd mac')
                 self.vm0_testpmd.execute_cmd("set verbose 1")
                 self.vm0_testpmd.execute_cmd('set promisc all off')
+		#set rss-hash-key to a fixed value instead of default random value on vf
+		self.vm0_testpmd.execute_cmd('port config 0 rss-hash-key ipv4 
+6EA6A420D5138E712433B813AE45B3C4BECB2B405F31AD6C331835372D15E2D5E49566E
+E0ED1962AFA1B7932F3549520FD71C75E')
                 time.sleep(1)
                 self.vm0_testpmd.execute_cmd("port config all rxq %s" % nr_queue)
                 self.vm0_testpmd.execute_cmd("port config all txq %s" % nr_queue)
--
1.8.3.1


  reply	other threads:[~2019-07-22  6:08 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-07-22  5:51 xiao,qimai
2019-07-22  6:08 ` Zhang, YanX A [this message]
2019-08-06  9:25 ` 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=2C49E4B25FAD1D419F7564D633EF72E1F3B4CD@SHSMSX105.ccr.corp.intel.com \
    --to=yanx.a.zhang@intel.com \
    --cc=dts@dpdk.org \
    --cc=qimaix.xiao@intel.com \
    /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).