test suite reviews and discussions
 help / color / mirror / Atom feed
* [dts] [PATCH V1] tests/TestSuite_runtime_vf_queue_number_kernel.py: set rss-hash-key to a fixed value
@ 2019-07-22  5:51 xiao,qimai
  2019-07-22  6:08 ` Zhang, YanX A
  2019-08-06  9:25 ` Tu, Lijuan
  0 siblings, 2 replies; 3+ messages in thread
From: xiao,qimai @ 2019-07-22  5:51 UTC (permalink / raw)
  To: dts; +Cc: xiao,qimai

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 6EA6A420D5138E712433B813AE45B3C4BECB2B405F31AD6C331835372D15E2D5E49566EE0ED1962AFA1B7932F3549520FD71C75E')
             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 6EA6A420D5138E712433B813AE45B3C4BECB2B405F31AD6C331835372D15E2D5E49566EE0ED1962AFA1B7932F3549520FD71C75E')
                 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


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [dts] [PATCH V1] tests/TestSuite_runtime_vf_queue_number_kernel.py: set rss-hash-key to a fixed value
  2019-07-22  5:51 [dts] [PATCH V1] tests/TestSuite_runtime_vf_queue_number_kernel.py: set rss-hash-key to a fixed value xiao,qimai
@ 2019-07-22  6:08 ` Zhang, YanX A
  2019-08-06  9:25 ` Tu, Lijuan
  1 sibling, 0 replies; 3+ messages in thread
From: Zhang, YanX A @ 2019-07-22  6:08 UTC (permalink / raw)
  To: Xiao, QimaiX, dts; +Cc: Xiao, QimaiX

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


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [dts] [PATCH V1] tests/TestSuite_runtime_vf_queue_number_kernel.py: set rss-hash-key to a fixed value
  2019-07-22  5:51 [dts] [PATCH V1] tests/TestSuite_runtime_vf_queue_number_kernel.py: set rss-hash-key to a fixed value xiao,qimai
  2019-07-22  6:08 ` Zhang, YanX A
@ 2019-08-06  9:25 ` Tu, Lijuan
  1 sibling, 0 replies; 3+ messages in thread
From: Tu, Lijuan @ 2019-08-06  9:25 UTC (permalink / raw)
  To: Xiao, QimaiX, dts; +Cc: Xiao, QimaiX

Applied, thanks

> -----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
> +6EA6A420D5138E712433B813AE45B3C4BECB2B405F31AD6C331835372D15E
> 2D5E49566E
> +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
> +6EA6A420D5138E712433B813AE45B3C4BECB2B405F31AD6C331835372D15E
> 2D5E49566E
> +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


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2019-08-06  9:25 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-07-22  5:51 [dts] [PATCH V1] tests/TestSuite_runtime_vf_queue_number_kernel.py: set rss-hash-key to a fixed value xiao,qimai
2019-07-22  6:08 ` Zhang, YanX A
2019-08-06  9:25 ` Tu, Lijuan

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