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 64B21A0564; Sat, 7 Mar 2020 05:33:19 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id EA2372BA8; Sat, 7 Mar 2020 05:33:18 +0100 (CET) Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by dpdk.org (Postfix) with ESMTP id BD03AFEB for ; Sat, 7 Mar 2020 05:33:17 +0100 (CET) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by orsmga101.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 06 Mar 2020 20:33:16 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.70,524,1574150400"; d="scan'208";a="275799889" Received: from fmsmsx105.amr.corp.intel.com ([10.18.124.203]) by fmsmga002.fm.intel.com with ESMTP; 06 Mar 2020 20:33:16 -0800 Received: from shsmsx605.ccr.corp.intel.com (10.109.6.215) by FMSMSX105.amr.corp.intel.com (10.18.124.203) with Microsoft SMTP Server (TLS) id 14.3.439.0; Fri, 6 Mar 2020 20:33:16 -0800 Received: from shsmsx606.ccr.corp.intel.com (10.109.6.216) by SHSMSX605.ccr.corp.intel.com (10.109.6.215) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5; Sat, 7 Mar 2020 12:33:14 +0800 Received: from shsmsx606.ccr.corp.intel.com ([10.109.6.216]) by SHSMSX606.ccr.corp.intel.com ([10.109.6.216]) with mapi id 15.01.1713.004; Sat, 7 Mar 2020 12:33:14 +0800 From: "Xiao, QimaiX" To: "dts@dpdk.org" Thread-Topic: [dts][PATCH V1]tests/TestSuite_virtio_event_idx_interrupt: fix eal parameter error Thread-Index: AQHV9DjHMBKjybFD0ECJI2n535UC2qg8ikEQ Date: Sat, 7 Mar 2020 04:33:14 +0000 Message-ID: <4f9b32c28455468590055680b49a944f@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: 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.36] 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" Tested-by: Xiao, QimaiX -----Original Message----- From: Xiao, QimaiX =20 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 *. fix eal parameter error Signed-off-by: Xiao Qimai --- tests/TestSuite_virtio_event_idx_interrupt.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/TestSuite_virtio_event_idx_interrupt.py b/tests/TestSuit= e_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.ba= se_dir, self.queues)] eal_params =3D self.dut.create_eal_parameters(cores=3Dself.core_li= st, 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) --=20 1.8.3.1