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 036F7A058A; Fri, 17 Apr 2020 11:05:06 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id F04461DEBE; Fri, 17 Apr 2020 11:05:05 +0200 (CEST) Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by dpdk.org (Postfix) with ESMTP id 00CB81D67B for ; Fri, 17 Apr 2020 11:05:03 +0200 (CEST) IronPort-SDR: yzWbO0MhfT3jlhdAW12+0XV9/j3pRFYeV2joWFDhBxh3bOh027x/ceioFsSMZU4CHFc9ubzRp8 4qZHPgTke8uA== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 17 Apr 2020 02:05:03 -0700 IronPort-SDR: 9ruT49VqHl9Sxk5kaWU72lfHpyR3xp0gx+J8deh1/+hWHEgeuVpafaiFgHWu5gzEAf8CgGnfA0 8EObpl1QcheA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.72,394,1580803200"; d="scan'208";a="364275233" Received: from fmsmsx107.amr.corp.intel.com ([10.18.124.205]) by fmsmga001.fm.intel.com with ESMTP; 17 Apr 2020 02:05:03 -0700 Received: from fmsmsx118.amr.corp.intel.com (10.18.116.18) by fmsmsx107.amr.corp.intel.com (10.18.124.205) with Microsoft SMTP Server (TLS) id 14.3.439.0; Fri, 17 Apr 2020 02:05:02 -0700 Received: from shsmsx151.ccr.corp.intel.com (10.239.6.50) by fmsmsx118.amr.corp.intel.com (10.18.116.18) with Microsoft SMTP Server (TLS) id 14.3.439.0; Fri, 17 Apr 2020 02:05:02 -0700 Received: from shsmsx101.ccr.corp.intel.com ([169.254.1.129]) by SHSMSX151.ccr.corp.intel.com ([169.254.3.22]) with mapi id 14.03.0439.000; Fri, 17 Apr 2020 17:04:59 +0800 From: "Tu, Lijuan" To: "Xiao, QimaiX" , "dts@dpdk.org" CC: "Xiao, QimaiX" Thread-Topic: [dts] [PATCH V1]vm2vm_virtio_pmd: fix pdump eal parameter Thread-Index: AQHWDIEtDNOhYRgHZEGSckJgegpJ0qh9FYKA Date: Fri, 17 Apr 2020 09:04:58 +0000 Message-ID: <8CE3E05A3F976642AAB0F4675D0AD20E0BC0BEB3@SHSMSX101.ccr.corp.intel.com> References: <1586224824-295603-1-git-send-email-qimaix.xiao@intel.com> In-Reply-To: <1586224824-295603-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]vm2vm_virtio_pmd: fix pdump eal parameter 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: Tuesday, April 7, 2020 10:00 AM > To: dts@dpdk.org > Cc: Xiao, QimaiX > Subject: [dts] [PATCH V1]vm2vm_virtio_pmd: fix pdump eal parameter >=20 > Signed-off-by: Xiao Qimai > --- > tests/TestSuite_vm2vm_virtio_pmd.py | 10 ++++++++-- > 1 file changed, 8 insertions(+), 2 deletions(-) >=20 > diff --git a/tests/TestSuite_vm2vm_virtio_pmd.py > b/tests/TestSuite_vm2vm_virtio_pmd.py > index 5bc0d01..62929e0 100644 > --- a/tests/TestSuite_vm2vm_virtio_pmd.py > +++ b/tests/TestSuite_vm2vm_virtio_pmd.py > @@ -167,10 +167,16 @@ class TestVM2VMVirtioPMD(TestCase): > bootup pdump in VM > """ > self.pdump_session =3D client_dut.new_session(suite=3D"pdump") > - command_line =3D self.target + "/app/dpdk-pdump " + \ > + if hasattr(client_dut, "vm_name"): > + command_line =3D self.target + "/app/dpdk-pdump " + \ > "-v --file-prefix=3Dvirtio -- " + \ > "--pdump '%s,queue=3D*,rx-dev=3D%s,mbuf-size=3D8000= '" > - self.pdump_session.send_expect(command_line % (dump_port, > self.dump_pcap), 'Port') > + self.pdump_session.send_expect(command_line % (dump_port, > self.dump_pcap), 'Port') > + else: > + command_line =3D self.target + "/app/dpdk-pdump " + \ > + "-v --file-prefix=3Dvirtio_%s -- " + \ > + "--pdump '%s,queue=3D*,rx-dev=3D%s,mbuf-size=3D8000= '" > + self.pdump_session.send_expect(command_line % > (self.dut.prefix_subfix, dump_port, self.dump_pcap), 'Port') >=20 > def start_vms(self, mode=3D0, mergeable=3DTrue): > """ > -- > 1.8.3.1