* [dts] [PATCH V1] update rss-hash-key after command port start all
@ 2019-08-13 10:05 xiao,qimai
0 siblings, 0 replies; only message in thread
From: xiao,qimai @ 2019-08-13 10:05 UTC (permalink / raw)
To: dts; +Cc: xiao,qimai
Signed-off-by: xiao,qimai <qimaix.xiao@intel.com>
---
tests/TestSuite_runtime_vf_queue_number_kernel.py | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/tests/TestSuite_runtime_vf_queue_number_kernel.py b/tests/TestSuite_runtime_vf_queue_number_kernel.py
index 6b64cfd..9416f13 100644
--- a/tests/TestSuite_runtime_vf_queue_number_kernel.py
+++ b/tests/TestSuite_runtime_vf_queue_number_kernel.py
@@ -240,9 +240,6 @@ 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)
out = self.vm0_testpmd.execute_cmd("port start all")
@@ -257,6 +254,9 @@ class TestRuntimeVfQueueNumberKernel(TestCase):
else:
times = 0
+ #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("clear port stats all")
out = self.vm0_testpmd.execute_cmd("start")
self.logger.info(out)
--
1.8.3.1
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2019-08-13 10:00 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-08-13 10:05 [dts] [PATCH V1] update rss-hash-key after command port start all xiao,qimai
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).