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 C7065A04B5; Thu, 29 Oct 2020 09:10:53 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id BF054BE49; Thu, 29 Oct 2020 09:10:52 +0100 (CET) Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by dpdk.org (Postfix) with ESMTP id E43E7BE48 for ; Thu, 29 Oct 2020 09:10:49 +0100 (CET) IronPort-SDR: yxCttZS5nKcQ2BQqlSOEAHb8trSl9S/gXUSM0mB9M6B6qxUOYL0IMnZOqtle8SiEZjs4PdvWHV VSuZ7BX16qpA== X-IronPort-AV: E=McAfee;i="6000,8403,9788"; a="186174844" X-IronPort-AV: E=Sophos;i="5.77,429,1596524400"; d="scan'208";a="186174844" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 29 Oct 2020 01:10:49 -0700 IronPort-SDR: UurIQBl5CLVao8yIqby15pY7F0q/7EV+V/1DoRNkC/8WMIMYtYVamyvOSAKDbZ+uLJuD/z50Bd jWYV6sW7z2yA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.77,429,1596524400"; d="scan'208";a="525431795" Received: from fmsmsx602.amr.corp.intel.com ([10.18.126.82]) by fmsmga006.fm.intel.com with ESMTP; 29 Oct 2020 01:10:44 -0700 Received: from fmsmsx608.amr.corp.intel.com (10.18.126.88) by fmsmsx602.amr.corp.intel.com (10.18.126.82) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5; Thu, 29 Oct 2020 01:10:44 -0700 Received: from fmsmsx603.amr.corp.intel.com (10.18.126.83) by fmsmsx608.amr.corp.intel.com (10.18.126.88) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5; Thu, 29 Oct 2020 01:10:43 -0700 Received: from fmsedg601.ED.cps.intel.com (10.1.192.135) by fmsmsx603.amr.corp.intel.com (10.18.126.83) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5 via Frontend Transport; Thu, 29 Oct 2020 01:10:43 -0700 Received: from NAM10-BN7-obe.outbound.protection.outlook.com (104.47.70.105) by edgegateway.intel.com (192.55.55.70) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.1713.5; Thu, 29 Oct 2020 01:10:43 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=nNiD4qSTSuaAZFYMWJtHdzIHvc3goej7xdWkR5vvxRf//W5Nx+3wOviL8sE+XGihKz5xYPBS7zXYoUOv1luhO2shhnM2Byvo4oMD0XTi++Bz0RL42+3CJEXYzrGtYAIHf0ZVwp/ugQ9LnfWi++gfHJRKK4Wu+LPxFKXgsAzxNAu0b9Oz3clmOlYFcHAAXeb7PG9oebXFAEjMsS7bANOF/0XZh1xTYSByuLa+ngwVCbHH0G0hi+yqEjr2j9kt0CimjBo3Qggam+wbgj8vJXndCV3eLgvCopK09Azfkphvg/gsETxhoUzshoxZzWJuBCBoAEkAR5RFTFArMi9OrM1s8Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=+Jnnz05gy+4JFidxPlEkQM6/tOmA8diC1B6/PI8HogM=; b=Q3jeZ/fJ+C9j44GK3AVLGiaXpclU+lnwlLxlhWazkuEmoc53HYzDPqE/Fnh8XZqEsbbSNkzw+ZPkxow9FWt8drBWS5j/A8zJR2c8Oxs/Yzj4SVUFMg/4xXzHtPKdx6cfuzpD1J3pCLjbyNKXHYd2GOYhr+zvELrueyPL04BGbwTEAkskk/byenci9Q0reFeBQusqCN+WuyU7I49EcJqhtIkN8GJe9DjKVUAwchZ+x1xyRZocESYzGKjjEnzhHKDImdheywVUsayG6alHH/uX8lzQdfdfOrrwgqx3BDYjw/grdo2/3nyWFfu7hQU3ltsGq7wB3YkYj1Y0wuBaILGO1g== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel.onmicrosoft.com; s=selector2-intel-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=+Jnnz05gy+4JFidxPlEkQM6/tOmA8diC1B6/PI8HogM=; b=HtFpf4BSmsFloY1Jzb5Dq1XFK1KIDxiY0FESj6MKyM9t8yhtTZKeCbh3sdJQkDUJuHg0SbeXAoFA1/9Bwf9M+STbyQMdSJJwVP64r5mflQ+jaKC2JbbSpXoxfrQN8PYpO/haLlwoe/4Pa2Rf0Meo6Bm5Wi0Forl3wB/P3Y6mzk0= Received: from BN8PR11MB3715.namprd11.prod.outlook.com (2603:10b6:408:85::13) by BN6PR11MB1860.namprd11.prod.outlook.com (2603:10b6:404:102::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3477.27; Thu, 29 Oct 2020 08:10:28 +0000 Received: from BN8PR11MB3715.namprd11.prod.outlook.com ([fe80::422:be42:232e:20fa]) by BN8PR11MB3715.namprd11.prod.outlook.com ([fe80::422:be42:232e:20fa%6]) with mapi id 15.20.3477.028; Thu, 29 Oct 2020 08:10:28 +0000 From: "Ma, LihongX" To: "Jiang, YuX" , "dts@dpdk.org" CC: "Jiang, YuX" Thread-Topic: [dts] [PATCH V1 2/2] tests/TestSuite_vm2vm_virtio_user: Adapt RTE_LIBRTE_PMD_PCAP updates Thread-Index: AQHWqREc81c2l/XvekK2vKYe4dKgaqmuQ32g Date: Thu, 29 Oct 2020 08:10:28 +0000 Message-ID: References: <20201023154828.1274699-1-yux.jiang@intel.com> <20201023154828.1274699-3-yux.jiang@intel.com> In-Reply-To: <20201023154828.1274699-3-yux.jiang@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: intel.com; dkim=none (message not signed) header.d=none;intel.com; dmarc=none action=none header.from=intel.com; x-originating-ip: [192.198.147.193] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: a361f9ed-e9bc-4c09-136f-08d87be21929 x-ms-traffictypediagnostic: BN6PR11MB1860: x-ld-processed: 46c98d88-e344-4ed4-8496-4ed7712e255d,ExtAddr x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:32; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: HMygHJftu5yBFs1QvANLTZM1pN9Why4g0p/rkXyg/CjUK0dzSD+GRNz9MTyYHxQrAWjKGRKs8HuKfmBzI1XPDa1glqhGZtkRt5+eVInRjhj1phLMPK3cIzBXAwGGpoZQ0DRpg/YZJSOy5y6OAfLkm/Sauirwo9oRTrDhLSLfnepbZg+dxmNJH9UmC85313R8CLGiVvXsmDv3mywk5O7s0cKlZLceghw76S/Sjdgm01h1OMmu4MK7qTD7kX/rKUy8J4XlJbPumPjjOidYl3KuGGDP4SSeqddfUMoP+xRUhFtQz44/fe+vU03Oewypiv30w8wjXqgI211ZwD0x9e4FUw== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:BN8PR11MB3715.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(376002)(396003)(346002)(136003)(39860400002)(366004)(107886003)(55016002)(83380400001)(26005)(66476007)(186003)(52536014)(5660300002)(4326008)(316002)(7696005)(19627235002)(478600001)(33656002)(6506007)(53546011)(66446008)(66946007)(110136005)(66556008)(2906002)(8936002)(64756008)(86362001)(15650500001)(9686003)(76116006)(71200400001); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata: DI4LH3DCGuMi9F6rRjGLrE7L4qpKBptcs4it2/4RhGBOu+f5WiGhD19UHMC05BUyTZL30LEc7HMJ0aTS0JFTfFyQnPTyyqwdeRqvjBWRfRE1wg8aIzLGkb2Tgm9H9m2lGNM+UEAsAtU92JdVffb5PsdwV9WVodTt8SIfc+XPB+xcHQ/3D3ZwImZumqExOjLq3F6LZl+Nij1abs3ZcYHZnvDXOw4gmGtC1gHuAiLBfd7naSjrDuj0AVcCTy30F+qth2T+mB1yY9WATtf6kte2kke4/4e/jHyZEChYspIEOFxNemny69as1+cciiEP1nnPgxmVg7sdwGNiddN9gZDEy/oV10bNiU8icC2WXYKOzIZcE5/vsLEzV9/OMKMwS0zuj4DS2FunxsWXzsdYHlTGvkJTcP7u1pQ8XTpYRhS4GBVmGlDARo8qdQ2cp8rWvfE9ALuzciR+yr7u1c/Bn48fCNEKAYIRUFUUMx7jv/GLTiOMQy4BjxVdCgLt0HSillaXO32M17xKeoBMdaB0rbzESH/MiSxkr4WGGwVmPJuebmbqwwqHKpxopM4DrKbMo3N+DEbhtWRLkmy9T5bo6WHfff57Bp4/+eEZTwFVBjhHInVEDTZO+sJ2eTmVemiJ7V6NvaC9hcLAQSeKDE+sfjZegw== Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: BN8PR11MB3715.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: a361f9ed-e9bc-4c09-136f-08d87be21929 X-MS-Exchange-CrossTenant-originalarrivaltime: 29 Oct 2020 08:10:28.7453 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: FYJacIME/7pWhcn/QSFSNSafm41C7lF6P4GR2xuT8OIHK5m4k/ielmDXrglocApHX2wSW+iZqsNUUUQn1V6wOQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN6PR11MB1860 X-OriginatorOrg: intel.com Subject: Re: [dts] [PATCH V1 2/2] tests/TestSuite_vm2vm_virtio_user: Adapt RTE_LIBRTE_PMD_PCAP updates 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" > -----Original Message----- > From: dts On Behalf Of JiangYuX > Sent: Friday, October 23, 2020 11:48 PM > To: dts@dpdk.org > Cc: Jiang, YuX > Subject: [dts] [PATCH V1 2/2] tests/TestSuite_vm2vm_virtio_user: Adapt > RTE_LIBRTE_PMD_PCAP updates >=20 > From: JiangYu >=20 > For DPDK commit: b0b672aea, PMD_PCAP has been defined by default, should > not redefine. >=20 > Signed-off-by: JiangYu > --- > tests/TestSuite_vm2vm_virtio_user.py | 10 ++++++---- > 1 file changed, 6 insertions(+), 4 deletions(-) >=20 > diff --git a/tests/TestSuite_vm2vm_virtio_user.py > b/tests/TestSuite_vm2vm_virtio_user.py > index d2dfb97..b35dc60 100644 > --- a/tests/TestSuite_vm2vm_virtio_user.py > +++ b/tests/TestSuite_vm2vm_virtio_user.py > @@ -99,11 +99,13 @@ class TestVM2VMVirtioUser(TestCase): > """ > enable pcap lib in dpdk code and recompile > """ > - client_dut.send_expect("sed -i 's/%s=3Dn$/%s=3Dy/' > config/common_base" % ( > + if self.dut.build_type =3D=3D 'makefile': > + client_dut.send_expect("sed -i 's/%s=3Dn$/%s=3Dy/' > config/common_base" % ( > self.config_value, self.config_value), '# ') > - client_dut.set_build_options({'RTE_LIBRTE_PMD_PCAP': 'y'}) > - client_dut.build_install_dpdk(self.target) > - self.rebuild_flag =3D True > + client_dut.build_install_dpdk(self.target) > + self.rebuild_flag =3D True > + else: > + self.rebuild_flag =3D False >=20 > def disable_pcap_lib_in_dpdk(self, client_dut): > """ > -- > 2.7.4 As now makefile have been remove from dpdk, I think you can delete them dir= ectly. Regards, Ma,lihong