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 94741A046B for ; Mon, 22 Jul 2019 08:08:11 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 8ACEA1B945; Mon, 22 Jul 2019 08:08:11 +0200 (CEST) Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by dpdk.org (Postfix) with ESMTP id 4895E1B464 for ; Mon, 22 Jul 2019 08:08: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 orsmga101.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 21 Jul 2019 23:08:08 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.64,294,1559545200"; d="scan'208";a="170770242" Received: from fmsmsx108.amr.corp.intel.com ([10.18.124.206]) by fmsmga007.fm.intel.com with ESMTP; 21 Jul 2019 23:08:08 -0700 Received: from shsmsx103.ccr.corp.intel.com (10.239.4.69) by FMSMSX108.amr.corp.intel.com (10.18.124.206) with Microsoft SMTP Server (TLS) id 14.3.439.0; Sun, 21 Jul 2019 23:08:08 -0700 Received: from shsmsx105.ccr.corp.intel.com ([169.254.11.232]) by SHSMSX103.ccr.corp.intel.com ([169.254.4.109]) with mapi id 14.03.0439.000; Mon, 22 Jul 2019 14:08: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.py: set rss-hash-key to a fixed value Thread-Index: AQHVQFD4325vcM0pg0yGHteI+RfWb6bWJv/A Date: Mon, 22 Jul 2019 06:08:06 +0000 Message-ID: <2C49E4B25FAD1D419F7564D633EF72E1F3B4CD@SHSMSX105.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: 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.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" Tested-by: Zhang, YanX A -----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 set rss-hash-key to a fixed value instead of default random value on vf Signed-off-by: xiao,qimai --- tests/TestSuite_runtime_vf_queue_number_kernel.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/TestSuite_runtime_vf_queue_number_kernel.py b/tests/Test= Suite_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=20 +6EA6A420D5138E712433B813AE45B3C4BECB2B405F31AD6C331835372D15E2D5E49566E +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=20 +6EA6A420D5138E712433B813AE45B3C4BECB2B405F31AD6C331835372D15E2D5E49566E +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