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 E57A3A00E6 for ; Tue, 6 Aug 2019 11:25:26 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id C6BAA1BDE1; Tue, 6 Aug 2019 11:25:26 +0200 (CEST) Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by dpdk.org (Postfix) with ESMTP id 875731B99B for ; Tue, 6 Aug 2019 11:25:24 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by fmsmga102.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 06 Aug 2019 02:25:23 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.64,353,1559545200"; d="scan'208";a="198257594" Received: from fmsmsx103.amr.corp.intel.com ([10.18.124.201]) by fmsmga004.fm.intel.com with ESMTP; 06 Aug 2019 02:25:23 -0700 Received: from fmsmsx120.amr.corp.intel.com (10.18.124.208) by FMSMSX103.amr.corp.intel.com (10.18.124.201) with Microsoft SMTP Server (TLS) id 14.3.439.0; Tue, 6 Aug 2019 02:25:13 -0700 Received: from shsmsx104.ccr.corp.intel.com (10.239.4.70) by fmsmsx120.amr.corp.intel.com (10.18.124.208) with Microsoft SMTP Server (TLS) id 14.3.439.0; Tue, 6 Aug 2019 02:25:12 -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; Tue, 6 Aug 2019 17:25:10 +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.py: set rss-hash-key to a fixed value Thread-Index: AQHVQFD4kYMb/3gxhUCE7ua4CFHla6bt8QIA Date: Tue, 6 Aug 2019 09:25:09 +0000 Message-ID: <8CE3E05A3F976642AAB0F4675D0AD20E0BAFD38F@SHSMSX101.ccr.corp.intel.com> References: <1563774709-28570-1-git-send-email-qimaix.xiao@intel.com> In-Reply-To: <1563774709-28570-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.0.600.7 dlp-reaction: no-action x-ctpclassification: CTP_NT x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiMDJjNTI3NTUtNmZjYS00Yjc2LWExM2MtNzdlZjQxZTU3NDhmIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoiMGYwT09La0kyS0xRWFwvUkVFckE0UXhBQm94MmV4ajJicEJtdXRabzhoUkQxRDZPNFFPUU1GQ1cxdnRoXC8wRGVhIn0= 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.py: set rss-hash-key to a fixed value 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: Monday, July 22, 2019 1:52 PM > To: dts@dpdk.org > Cc: Xiao, QimaiX > Subject: [dts] [PATCH V1] > tests/TestSuite_runtime_vf_queue_number_kernel.py: set rss-hash-key to a > fixed value >=20 > set rss-hash-key to a fixed value instead of default random value on vf >=20 > Signed-off-by: xiao,qimai > --- > tests/TestSuite_runtime_vf_queue_number_kernel.py | 4 ++++ > 1 file changed, 4 insertions(+) >=20 > 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): >=20 > 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