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 E20D4A0567; Fri, 13 Mar 2020 07:32:14 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id D84851C01E; Fri, 13 Mar 2020 07:32:14 +0100 (CET) Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by dpdk.org (Postfix) with ESMTP id 869771C011 for ; Fri, 13 Mar 2020 07:32:12 +0100 (CET) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga103.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 12 Mar 2020 23:32:12 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.70,547,1574150400"; d="scan'208";a="322705978" Received: from fmsmsx105.amr.corp.intel.com ([10.18.124.203]) by orsmga001.jf.intel.com with ESMTP; 12 Mar 2020 23:32:11 -0700 Received: from fmsmsx114.amr.corp.intel.com (10.18.116.8) by FMSMSX105.amr.corp.intel.com (10.18.124.203) with Microsoft SMTP Server (TLS) id 14.3.439.0; Thu, 12 Mar 2020 23:32:11 -0700 Received: from shsmsx153.ccr.corp.intel.com (10.239.6.53) by FMSMSX114.amr.corp.intel.com (10.18.116.8) with Microsoft SMTP Server (TLS) id 14.3.439.0; Thu, 12 Mar 2020 23:32:11 -0700 Received: from shsmsx101.ccr.corp.intel.com ([169.254.1.43]) by SHSMSX153.ccr.corp.intel.com ([169.254.12.96]) with mapi id 14.03.0439.000; Fri, 13 Mar 2020 14:32:08 +0800 From: "Tu, Lijuan" To: "Xiao, QimaiX" , "dts@dpdk.org" CC: "Xiao, QimaiX" Thread-Topic: [dts] [PATCH V1]tests/TestSuite_virtio_event_idx_interrupt: fix eal parameter error Thread-Index: AQHV9Dje8fpQX7mWHk2ZMRqqT3fec6hGGbtw Date: Fri, 13 Mar 2020 06:32:08 +0000 Message-ID: <8CE3E05A3F976642AAB0F4675D0AD20E0BBEC77F@SHSMSX101.ccr.corp.intel.com> References: <1583554971-101060-1-git-send-email-qimaix.xiao@intel.com> In-Reply-To: <1583554971-101060-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-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_virtio_event_idx_interrupt: fix eal parameter error 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: Saturday, March 7, 2020 12:23 PM > To: dts@dpdk.org > Cc: Xiao, QimaiX > Subject: [dts] [PATCH V1]tests/TestSuite_virtio_event_idx_interrupt: fix = eal > parameter error >=20 > *. fix eal parameter error >=20 > Signed-off-by: Xiao Qimai > --- > tests/TestSuite_virtio_event_idx_interrupt.py | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) >=20 > diff --git a/tests/TestSuite_virtio_event_idx_interrupt.py > b/tests/TestSuite_virtio_event_idx_interrupt.py > index 1fb0622..08ad676 100644 > --- a/tests/TestSuite_virtio_event_idx_interrupt.py > +++ b/tests/TestSuite_virtio_event_idx_interrupt.py > @@ -93,9 +93,9 @@ class TestVirtioIdxInterrupt(TestCase): > # get the core mask depend on the nb_cores number > self.get_core_mask() > testcmd =3D self.dut.target + "/app/testpmd " > - vdev =3D [r"--vdev 'net_vhost,iface=3D%s/vhost-net,queues=3D%d' = -- -i " % > (self.base_dir, self.queues)] > + vdev =3D ['net_vhost,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, > prefix=3D'vhost', ports=3D[self.pf_pci], vdevs=3Dvdev) > - para =3D " --nb-cores=3D%d --txd=3D1024 --rxd=3D1024 --rxq=3D%d = --txq=3D%d" % > (self.nb_cores, self.queues, self.queues) > + para =3D " -- -i --nb-cores=3D%d --txd=3D1024 --rxd=3D1024 --rxq= =3D%d --txq=3D%d" % > (self.nb_cores, self.queues, self.queues) > command_line =3D testcmd + eal_params + para > self.vhost.send_expect(command_line, "testpmd> ", 30) > self.vhost.send_expect("start", "testpmd> ", 30) > -- > 1.8.3.1