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 A03D0A058B; Wed, 25 Mar 2020 09:22:12 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 84C111B949; Wed, 25 Mar 2020 09:22:12 +0100 (CET) Received: from mga17.intel.com (mga17.intel.com [192.55.52.151]) by dpdk.org (Postfix) with ESMTP id 8E6272C15 for ; Wed, 25 Mar 2020 09:22:11 +0100 (CET) IronPort-SDR: lbK8DMPqevAFhx5hXbYLo4TeWcXbkP+5vlmcw65IZx5Iav99nHkKqsA4eS9t6u4LR40m3Xm+L6 ru67cU5TNQkg== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 25 Mar 2020 01:22:02 -0700 IronPort-SDR: /YuCZlBN7Xrhtb5m/YI0nBXjtEOXO3gYmh6QTAzPoEjoiVDWCsy0sPEGGc3FVa+cD7rzyTgZq4 w2b/ENxVW9dQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.72,303,1580803200"; d="scan'208";a="446547258" Received: from fmsmsx108.amr.corp.intel.com ([10.18.124.206]) by fmsmga005.fm.intel.com with ESMTP; 25 Mar 2020 01:22:02 -0700 Received: from shsmsx603.ccr.corp.intel.com (10.109.6.143) by FMSMSX108.amr.corp.intel.com (10.18.124.206) with Microsoft SMTP Server (TLS) id 14.3.439.0; Wed, 25 Mar 2020 01:22:02 -0700 Received: from shsmsx603.ccr.corp.intel.com (10.109.6.143) by SHSMSX603.ccr.corp.intel.com (10.109.6.143) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5; Wed, 25 Mar 2020 16:22:00 +0800 Received: from shsmsx603.ccr.corp.intel.com ([10.109.6.143]) by SHSMSX603.ccr.corp.intel.com ([10.109.6.143]) with mapi id 15.01.1713.004; Wed, 25 Mar 2020 16:22:00 +0800 From: "Wang, Yinan" To: "Xiao, QimaiX" , "dts@dpdk.org" CC: "Xiao, QimaiX" Thread-Topic: [dts] [PATCH V1 08/11]vhost_virtio_pmd_interrupt: update script according to testplan's update Thread-Index: AQHWAn3pw+hIq27DiE6A61TbyGWaJqhY9+cg Date: Wed, 25 Mar 2020 08:22:00 +0000 Message-ID: <38736e23456f45f78eee6cca0315649e@intel.com> References: <1585123857-130281-1-git-send-email-qimaix.xiao@intel.com> <1585123857-130281-8-git-send-email-qimaix.xiao@intel.com> In-Reply-To: <1585123857-130281-8-git-send-email-qimaix.xiao@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-reaction: no-action dlp-version: 11.2.0.6 dlp-product: dlpe-windows x-originating-ip: [10.239.127.36] Content-Type: text/plain; charset="iso-2022-jp" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dts] [PATCH V1 08/11]vhost_virtio_pmd_interrupt: update script according to testplan's update 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" Acked-by: Wang, Yinan > -----Original Message----- > From: dts On Behalf Of Xiao Qimai > Sent: 2020=1B$BG/=1B(B3=1B$B7n=1B(B25=1B$BF|=1B(B 16:11 > To: dts@dpdk.org > Cc: Xiao, QimaiX > Subject: [dts] [PATCH V1 08/11]vhost_virtio_pmd_interrupt: update script > according to testplan's update >=20 > Signed-off-by: Xiao Qimai > --- > tests/TestSuite_vhost_virtio_pmd_interrupt.py | 19 ++++++++++++++++--- > 1 file changed, 16 insertions(+), 3 deletions(-) >=20 > diff --git a/tests/TestSuite_vhost_virtio_pmd_interrupt.py > b/tests/TestSuite_vhost_virtio_pmd_interrupt.py > index 5e6437e..ca69932 100644 > --- a/tests/TestSuite_vhost_virtio_pmd_interrupt.py > +++ b/tests/TestSuite_vhost_virtio_pmd_interrupt.py > @@ -117,7 +117,7 @@ class TestVhostVirtioPmdInterrupt(TestCase): > # get the core list depend on current nb_cores number > self.get_core_list() > testcmd =3D self.dut.target + "/app/testpmd " > - vdev =3D [r"'net_vhost0,iface=3D%s/vhost-net,queues=3D%d'" % > (self.base_dir, self.queues)] > + vdev =3D ['net_vhost0,iface=3D%s/vhost-net,queues=3D%d' % > + (self.base_dir, self.queues)] > eal_params =3D self.dut.create_eal_parameters(cores=3Dself.core_= list, > ports=3D[self.pci_info], vdevs=3Dvdev) > para =3D " -- -i --nb-cores=3D%d --rxq=3D%d --txq=3D%d --rss-ip"= % > (self.nb_cores, self.queues, self.queues) > command_line_client =3D testcmd + eal_params + para @@ -166,7 > +166,7 @@ class TestVhostVirtioPmdInterrupt(TestCase): > if list(self.vm.params[i].keys())[0] =3D=3D 'cpu': > self.vm.params[i]['cpu'][0]['number'] =3D self.queues >=20 > - def start_vms(self, mode=3D0): > + def start_vms(self, mode=3D0, packed=3DFalse): > """ > start qemus > """ > @@ -177,7 +177,7 @@ class TestVhostVirtioPmdInterrupt(TestCase): > vm_params['opt_path'] =3D '%s/vhost-net' % self.base_dir > vm_params['opt_mac'] =3D "00:11:22:33:44:55" > vm_params['opt_queue'] =3D self.queues > - opt_param =3D "mrg_rxbuf=3Don,csum=3Don,mq=3Don,vectors=3D%d" % > (2*self.queues+2) > + opt_param =3D "mrg_rxbuf=3Don,csum=3Don,mq=3Don,vectors=3D%d" % > + (2*self.queues+2) if not packed else > + "mrg_rxbuf=3Don,csum=3Don,mq=3Don,vectors=3D%d,packed=3Don" % (2*self.q= ueues+2) > if mode =3D=3D 0: > vm_params['opt_settings'] =3D "disable-modern=3Dtrue," + > opt_param > elif mode =3D=3D 1: > @@ -311,6 +311,19 @@ class TestVhostVirtioPmdInterrupt(TestCase): > self.launch_l3fwd_power_in_vm() > self.send_and_verify() >=20 > + def test_perf_packed_ring_virtio_interrupt_with_16queues(self): > + """ > + wake up virtio_user 0.95 core with l3fwd-power sample > + """ > + self.queues =3D 16 > + self.nb_cores =3D 16 > + self.start_testpmd_on_vhost() > + self.start_vms(mode=3D0, packed=3DTrue) > + self.prepare_vm_env() > + self.launch_l3fwd_power_in_vm() > + self.send_and_verify() > + > + > def tear_down(self): > """ > Run after each test case. > -- > 1.8.3.1