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 491C7A0471 for ; Wed, 14 Aug 2019 07:30:12 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 00B0C1B13C; Wed, 14 Aug 2019 07:30:12 +0200 (CEST) Received: from mga17.intel.com (mga17.intel.com [192.55.52.151]) by dpdk.org (Postfix) with ESMTP id 77FD48F96 for ; Wed, 14 Aug 2019 07:30:10 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga007.fm.intel.com ([10.253.24.52]) by fmsmga107.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 13 Aug 2019 22:30:09 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.64,384,1559545200"; d="scan'208";a="178015187" Received: from fmsmsx103.amr.corp.intel.com ([10.18.124.201]) by fmsmga007.fm.intel.com with ESMTP; 13 Aug 2019 22:30:09 -0700 Received: from fmsmsx111.amr.corp.intel.com (10.18.116.5) by FMSMSX103.amr.corp.intel.com (10.18.124.201) with Microsoft SMTP Server (TLS) id 14.3.439.0; Tue, 13 Aug 2019 22:30:08 -0700 Received: from shsmsx107.ccr.corp.intel.com (10.239.4.96) by fmsmsx111.amr.corp.intel.com (10.18.116.5) with Microsoft SMTP Server (TLS) id 14.3.439.0; Tue, 13 Aug 2019 22:30:08 -0700 Received: from shsmsx105.ccr.corp.intel.com ([169.254.11.15]) by SHSMSX107.ccr.corp.intel.com ([169.254.9.65]) with mapi id 14.03.0439.000; Wed, 14 Aug 2019 13:30:06 +0800 From: "Zhang, YanX A" To: "Xiao, QimaiX" , "dts@dpdk.org" CC: "Xiao, QimaiX" Thread-Topic: [dts] [PATCH V1]tests/TestSuite_runtime_vf_queue_number_kernel: update rss-hash-key after command port start all Thread-Index: AQHVUb56rxW/mPevLUe2fzLGdMXRpab6HyeQ Date: Wed, 14 Aug 2019 05:30:05 +0000 Message-ID: <2C49E4B25FAD1D419F7564D633EF72E1F4096A@SHSMSX105.ccr.corp.intel.com> References: <1565690917-78242-1-git-send-email-qimaix.xiao@intel.com> In-Reply-To: <1565690917-78242-1-git-send-email-qimaix.xiao@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.239.127.40] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dts] [PATCH V1]tests/TestSuite_runtime_vf_queue_number_kernel: 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" Tested-by: Zhang, YanX A -----Original Message----- From: dts [mailto:dts-bounces@dpdk.org] On Behalf Of xiao,qimai Sent: Tuesday, August 13, 2019 6:09 PM To: dts@dpdk.org Cc: Xiao, QimaiX Subject: [dts] [PATCH V1]tests/TestSuite_runtime_vf_queue_number_kernel: up= date rss-hash-key after command port start all set rss-hash key after execute port start all 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/Test= Suite_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 6EA6A420D5= 138E712433B813AE45B3C4BECB2B405F31AD6C331835372D15E2D5E49566EE0ED1962AFA1B7= 932F3549520FD71C75E') - 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 =3D self.vm0_testpmd.execute_cmd("port start all") @@ = -257,6 +254,9 @@ class TestRuntimeVfQueueNumberKernel(TestCase): else: times =3D 0 =20 + #set rss-hash-key to a fixed value instead of default random v= alue on vf + self.vm0_testpmd.execute_cmd('port config 0 rss-hash-key ipv4 = 6EA6A420D5138E712433B813AE45B3C4BECB2B405F31AD6C331835372D15E2D5E49566EE0ED= 1962AFA1B7932F3549520FD71C75E') + time.sleep(1) self.vm0_testpmd.execute_cmd("clear port stats all") out =3D self.vm0_testpmd.execute_cmd("start") self.logger.info(out) -- 1.8.3.1