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 BCB5AA0577; Tue, 7 Apr 2020 04:06:47 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id B20D02B96; Tue, 7 Apr 2020 04:06:47 +0200 (CEST) Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by dpdk.org (Postfix) with ESMTP id 63203FFA for ; Tue, 7 Apr 2020 04:06:45 +0200 (CEST) IronPort-SDR: BbaTlCD86lNSIJco6L+9sZKriXgD1RyXGNhc8UGhZ6AN0mpt0huMjyPnX6wr/mKlGzM6SD1Jzo iWzR1ibg9XhQ== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga005.jf.intel.com ([10.7.209.41]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 06 Apr 2020 19:06:44 -0700 IronPort-SDR: Mz653DKLq8z3HKsazsv61DPMdH3BgvcPuskIvplLQSC7LIH800z032UGdwZQLXLYKQFFFB1YrK 2ttWIYkCWhjg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.72,353,1580803200"; d="scan'208";a="424577611" Received: from fmsmsx108.amr.corp.intel.com ([10.18.124.206]) by orsmga005.jf.intel.com with ESMTP; 06 Apr 2020 19:06:44 -0700 Received: from shsmsx605.ccr.corp.intel.com (10.109.6.215) by FMSMSX108.amr.corp.intel.com (10.18.124.206) with Microsoft SMTP Server (TLS) id 14.3.439.0; Mon, 6 Apr 2020 19:06:40 -0700 Received: from shsmsx604.ccr.corp.intel.com (10.109.6.214) 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; Tue, 7 Apr 2020 10:06:38 +0800 Received: from shsmsx604.ccr.corp.intel.com ([10.109.6.214]) by SHSMSX604.ccr.corp.intel.com ([10.109.6.214]) with mapi id 15.01.1713.004; Tue, 7 Apr 2020 10:06:38 +0800 From: "Xiao, QimaiX" To: "dts@dpdk.org" Thread-Topic: [dts][PATCH V1]vm2vm_virtio_pmd: fix pdump eal parameter Thread-Index: AQHWDIEe+H7mRnwwnEy4T99oKBWKyKhs6UDA Date: Tue, 7 Apr 2020 02:06:37 +0000 Message-ID: <6654c01b9afc4e0fb206a69deb523b4d@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: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: 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]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" Tested-by: Xiao, QimaiX Regards, Xiao Qimai > -----Original Message----- > From: Xiao, QimaiX > 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