From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id EDC82A0471 for ; Tue, 13 Aug 2019 12:00:49 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id D90461BDFD; Tue, 13 Aug 2019 12:00:49 +0200 (CEST) Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by dpdk.org (Postfix) with ESMTP id 416E71B952 for ; Tue, 13 Aug 2019 12:00:48 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by orsmga105.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 13 Aug 2019 03:00:47 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.64,381,1559545200"; d="scan'208";a="194162248" Received: from unknown (HELO dpdk-wenjielx-dtspatch135.sh.intel.com) ([10.240.176.135]) by fmsmga001.fm.intel.com with ESMTP; 13 Aug 2019 03:00:46 -0700 From: "xiao,qimai" To: dts@dpdk.org Cc: "xiao,qimai" Date: Tue, 13 Aug 2019 18:05:23 +0800 Message-Id: <1565690723-77804-1-git-send-email-qimaix.xiao@intel.com> X-Mailer: git-send-email 1.9.3 Subject: [dts] [PATCH V1] update rss-hash-key after command port start all X-BeenThere: dts@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: test suite reviews and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dts-bounces@dpdk.org Sender: "dts" Signed-off-by: xiao,qimai --- 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