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 20CD7A0613 for ; Wed, 28 Aug 2019 08:00:14 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 059931C1EE; Wed, 28 Aug 2019 08:00:14 +0200 (CEST) Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by dpdk.org (Postfix) with ESMTP id 8900F1C1CC for ; Wed, 28 Aug 2019 08:00:12 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga006.jf.intel.com ([10.7.209.51]) by fmsmga105.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 27 Aug 2019 23:00:11 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.64,440,1559545200"; d="scan'208";a="185517036" Received: from fmsmsx106.amr.corp.intel.com ([10.18.124.204]) by orsmga006.jf.intel.com with ESMTP; 27 Aug 2019 23:00:11 -0700 Received: from fmsmsx163.amr.corp.intel.com (10.18.125.72) by FMSMSX106.amr.corp.intel.com (10.18.124.204) with Microsoft SMTP Server (TLS) id 14.3.439.0; Tue, 27 Aug 2019 23:00:10 -0700 Received: from shsmsx104.ccr.corp.intel.com (10.239.4.70) by fmsmsx163.amr.corp.intel.com (10.18.125.72) with Microsoft SMTP Server (TLS) id 14.3.439.0; Tue, 27 Aug 2019 23:00:10 -0700 Received: from shsmsx101.ccr.corp.intel.com ([169.254.1.80]) by SHSMSX104.ccr.corp.intel.com ([169.254.5.112]) with mapi id 14.03.0439.000; Wed, 28 Aug 2019 14:00:08 +0800 From: "Tu, Lijuan" 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: AQHVUb564bAz3jsio0elo4O/c+6sf6cQKCnQ Date: Wed, 28 Aug 2019 06:00:07 +0000 Message-ID: <8CE3E05A3F976642AAB0F4675D0AD20E0BB06782@SHSMSX101.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: zh-CN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-product: dlpe-windows dlp-version: 11.2.0.6 dlp-reaction: no-action x-ctpclassification: CTP_NT x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiYWIxZGE4ZWMtNjA1MS00NDZlLTk4ZTAtYjAzNTQ0ZjVhZTA2IiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoiMFNvZ09tMEtcL2ZBXC83dm5DRWptSDVOcTVkYTdQSE96Zk9JUWo4ZU43U2xCRmUwZEVlK2ZaRlFuNDZudlJEa3J0In0= 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" Applied, thanks > -----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: > update rss-hash-key after command port start all >=20 > set rss-hash key after execute port start all >=20 > Signed-off-by: xiao,qimai > --- > tests/TestSuite_runtime_vf_queue_number_kernel.py | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) >=20 > 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 > 6EA6A420D5138E712433B813AE45B3C4BECB2B405F31AD6C331835372D15E2 > D5E49566EE0ED1962AFA1B7932F3549520FD71C75E') > - 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= value > on vf > + self.vm0_testpmd.execute_cmd('port config 0 rss-hash-key ipv= 4 > 6EA6A420D5138E712433B813AE45B3C4BECB2B405F31AD6C331835372D15E2 > D5E49566EE0ED1962AFA1B7932F3549520FD71C75E') > + 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