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 EC7E2A04BE; Mon, 7 Sep 2020 07:20:08 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id E2F381BE0C; Mon, 7 Sep 2020 07:20:08 +0200 (CEST) Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by dpdk.org (Postfix) with ESMTP id 5238DDE0 for ; Mon, 7 Sep 2020 07:20:07 +0200 (CEST) IronPort-SDR: s4BUIkd19Z/Lp4W/uoUER65U99XfVVHRiun1rr8WeQIS1mHOIUGTcIVy501a3QVwTmDh6X2Dq5 6X2r46r6mcAw== X-IronPort-AV: E=McAfee;i="6000,8403,9736"; a="157219084" X-IronPort-AV: E=Sophos;i="5.76,400,1592895600"; d="scan'208";a="157219084" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga007.jf.intel.com ([10.7.209.58]) by fmsmga103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 06 Sep 2020 22:20:06 -0700 IronPort-SDR: gOHrUYyn6DFNitWba8ZvaltXPYydSFhus+N3QRJqNTlrebwDR8br7S/H1JqUrbcFpQtRuYhCR+ VzjxJiyebRaA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.76,400,1592895600"; d="scan'208";a="343115450" Received: from orsmsx606.amr.corp.intel.com ([10.22.229.19]) by orsmga007.jf.intel.com with ESMTP; 06 Sep 2020 22:20:06 -0700 Received: from orsmsx605.amr.corp.intel.com (10.22.229.18) by ORSMSX606.amr.corp.intel.com (10.22.229.19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5; Sun, 6 Sep 2020 22:20:05 -0700 Received: from orsmsx105.amr.corp.intel.com (10.22.225.132) by orsmsx605.amr.corp.intel.com (10.22.229.18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256) id 15.1.1713.5 via Frontend Transport; Sun, 6 Sep 2020 22:20:05 -0700 Received: from ORSEDG601.ED.cps.intel.com (10.7.248.6) by ORSMSX105.amr.corp.intel.com (10.22.225.132) with Microsoft SMTP Server (TLS) id 14.3.439.0; Sun, 6 Sep 2020 22:20:05 -0700 Received: from NAM10-DM6-obe.outbound.protection.outlook.com (104.47.58.108) by edgegateway.intel.com (134.134.137.102) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.1713.5; Sun, 6 Sep 2020 22:20:05 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Fr8Q+mWcU24TC4Ch5Ptq6S6ssjQspsmlshnTwZZszzr5Atw50lxRl5jR3o1XJqjk+g1cnwkpeYfdwWdkuo6rYNr5A5z4+oFkuMUWQvzwLMtZTAIzIbleqDJUqOtxswLvlOyKNgljjKelIfp3Iy0+zxDdUUOjEFL1zXnlkYWJQBmVjkDIO6u7qBjAvb5tQiEzlPppt/c3kW82zlL6oKZNRNOEi7VoFuW2v7W+jaE+1IsXcWsljNk9UL6sxWUJ+K1de3C1IkUY/miQxtkz0jWtfPQKPcn9lKpR5j+7I4WopFBeW+kiFR+inO2WmFTzx8pN1NfcHX38+t2yiFIgCaIRBA== 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=CZl3b1nYaSUxd9T0hJtG7oxVrFJ3CZJwOkC6y5S8ohs=; b=cwdrl5WRubYJiakTUEz6qwl9ZbAViyrV4Jek3JBRhxIKRoHSJy/zgjvKz98nYhPKlxt/e/pEbrdxUzzav9qxiLKc5zxbZCyLGpTRkIrgDVPKeO/QZ09qYOedMPqrSJSh8zP3T/FwuiHah5lDWHxg9EJdZ3eASzKNkAsicImyUsUv8h8XuFLq+4S0uOjuAHGRmuhYcgNS9h1frQgQ49idzHeuC41F7RI1+F1fSjSj4tfNrj0Aj4poEi9zB2dSGNtTft4VPIZM6jOIe7GMyplEqkrna2dGg154C6a01vn9xIxrebcrpHpiIXxygH+IHa3i91nIZE647GJEUuzl1P8RCQ== 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=CZl3b1nYaSUxd9T0hJtG7oxVrFJ3CZJwOkC6y5S8ohs=; b=RIKmvMTk/fhhOSAZQEoKmEyQ3vGUP7uFs5p7JfKhrdqfyUFzP4PkQwjaT0P81KgQbLuXaGjsXXT9mL2JHZyfrBqEMczMLG2IiQgPC+tJpOTN+Oz9MwZgEL2Mx/myxfaipgqJSBxZeSCRoyVyx9PMPhuzQrcvmL/jogJxpn9Y1/w= Received: from BN8PR11MB3715.namprd11.prod.outlook.com (2603:10b6:408:85::13) by BN6PR11MB1571.namprd11.prod.outlook.com (2603:10b6:405:d::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3348.19; Mon, 7 Sep 2020 05:20:03 +0000 Received: from BN8PR11MB3715.namprd11.prod.outlook.com ([fe80::45c2:fb36:838e:6d28]) by BN8PR11MB3715.namprd11.prod.outlook.com ([fe80::45c2:fb36:838e:6d28%7]) with mapi id 15.20.3348.019; Mon, 7 Sep 2020 05:20:03 +0000 From: "Ma, LihongX" To: "Zhang, XiX" , "dts@dpdk.org" CC: "Zhang, XiX" Thread-Topic: [dts] [dts 01/38] tests-TestSuite_dpdk_gro_lib.py:support meson build Thread-Index: AQHWgpPVToYbx402WUaN3c1dROviUalcp9Bg Date: Mon, 7 Sep 2020 05:20:03 +0000 Message-ID: References: <1599207525-22123-1-git-send-email-xix.zhang@intel.com> In-Reply-To: <1599207525-22123-1-git-send-email-xix.zhang@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: bab48a3a-6a09-4db2-d1e6-08d852edad22 x-ms-traffictypediagnostic: BN6PR11MB1571: 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:323; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: kYqTKH19cexSbvw0CoYT1WHp6sTktUDUd3zp+F2Xrhs1DCOcgEFav9Y5ErZl6t45p0R0NfYCKH0ZzD8vAYriB0JkK+JmOMyjMCmU0jSO6vH1clTu7Y24BTT0mgIQ3kgxOhQ3BMaQTIqR1P77XPYtlNnxSKWTR1k5kTkM8F06XyM3t9mQCeHYkrzn7jBpLYYJHLB1MxT/TeZ8O4kQjzT4DrHuFo4V3oChQ4y7s7tqwgP6jmv8H8dzjZam6nFIzDS3uWVFyTI6i2pl7Ei6g7vfpYUFZrOoy1t03it1x6MPNszvS5k6oF++XZViTUplVoEqoErWokIh31/s0TC38jFmKw== 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)(396003)(376002)(136003)(346002)(366004)(39860400002)(6506007)(5660300002)(66476007)(66946007)(7696005)(316002)(66556008)(64756008)(66446008)(76116006)(2906002)(86362001)(83380400001)(8936002)(186003)(9686003)(55016002)(71200400001)(53546011)(52536014)(26005)(33656002)(110136005)(4326008)(478600001)(107886003); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata: tF936O5RikY2e3hxNDfEiqBhPh5xg6IQTs5HYuNtorMtAcIfPNSSFFQAspcaSn9kBPaL98VyVfQhEueiXyTqidhgLr3IcCN857ehY7Ulaa31+deLVgq8U4TucXlnmmZUTpSf6NVgHEnEGKcZcdevLA1TLtdJ9nz1nxAYi9y5VtB/pwWREKkmshX8CqpB8mUEKQNDIuELoGH2SpE8yiugz5RcuA8OzyaOlNu/MQOgajpQJasOHU4Pn62kIbSlTqDHtmvlEfDGf82/rsSNbA8oLwqIQpH2kASHDDYpQmNAAVLsu6D2J4SNaqCQRSIz6wfFV8ZvUbcCmHP38mLodpMq1BGCIOWqtPYknqjqrjS7U7AesN/bkAzNA3UMCfUdJVx+JFcfos97rTyZZ9ste3Qz/nOn0BbIMjl+q1LGwPxzGXJNnmI80U+/0sw/0sAoTNoHxzuaZ2CiiV9GOu9imea7u5CK+A4fZ9A/hASXf55S9rlJjK6Q2jfMq4Eoa7nGp+Oif9xRQhpYfj1QKb2qO7+ZSb6nbbHVgboAA+y/m0UG2POq6MQwm9dCbXYbqky2wqibNYAF5bvIhJ6OLpTCmRwN6OBABEISeAIqhyXwmyK51zwiJGCPYe77kPPTXT6qfI/UoUhKTP/BecOTn6rCH3WBnA== 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: bab48a3a-6a09-4db2-d1e6-08d852edad22 X-MS-Exchange-CrossTenant-originalarrivaltime: 07 Sep 2020 05:20:03.7192 (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: wKvZfUAkscOT+ewA1q1odEtl75pmw5RNil5mBFBoXiflJQgCT1FIyxM5R/Mq1k/4B6ZDTh99XymCGM6NE4J3VQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN6PR11MB1571 X-OriginatorOrg: intel.com Subject: Re: [dts] [dts 01/38] tests-TestSuite_dpdk_gro_lib.py:support meson build 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" Ack-by: LihongX Ma Regards, Ma,lihong > -----Original Message----- > From: dts On Behalf Of xizhan4x > Sent: Friday, September 4, 2020 4:18 PM > To: dts@dpdk.org > Cc: Zhang, XiX > Subject: [dts] [dts 01/38] tests-TestSuite_dpdk_gro_lib.py:support meson > build >=20 > Signed-off-by: xizhan4x > --- > tests/TestSuite_dpdk_gro_lib.py | 8 +++++--- > 1 file changed, 5 insertions(+), 3 deletions(-) >=20 > diff --git a/tests/TestSuite_dpdk_gro_lib.py > b/tests/TestSuite_dpdk_gro_lib.py index 49a7407..f2b5b0d 100644 > --- a/tests/TestSuite_dpdk_gro_lib.py > +++ b/tests/TestSuite_dpdk_gro_lib.py > @@ -69,6 +69,8 @@ class TestDPDKGROLib(TestCase): > 'Pls config the direct connection info in > vhost_peer_conf.cfg') > bind_script_path =3D self.dut.get_dpdk_bind_script() > self.dut.send_expect('%s --bind=3D%s %s' % (bind_script_path, > self.def_driver, self.pci), '# ') > + self.path=3Dself.dut.apps_name['test-pmd'] > + self.testpmd_name=3Dself.path.split("/")[-1] >=20 > # get the numa info about the pci info which config in peer cfg > bus =3D int(self.pci[5:7], base=3D16) @@ -101,7 +103,7 @@ class > TestDPDKGROLib(TestCase): > # > # Clean the execution ENV > self.dut.send_expect("rm -rf %s/vhost-net*" % self.base_dir, "#"= ) > - self.dut.send_expect("killall -s INT testpmd", "#") > + self.dut.send_expect("killall -s INT %s" % self.testpmd_name, > + "#") > self.dut.send_expect("killall -s INT qemu-system-x86_64", "#") >=20 > def launch_testpmd_gro_on(self, mode=3D1): > @@ -112,7 +114,7 @@ class TestDPDKGROLib(TestCase): > # mode 3 : vxlan traffic light mode > # mode 4 : tcp traffic flush 4 > eal_param =3D self.dut.create_eal_parameters(cores=3Dself.vhost_= list, > vdevs=3D['net_vhost0,iface=3D%s/vhost-net,queues=3D1' % self.base_dir]) > - self.testcmd_start =3D self.target + "/app/testpmd " + eal_param= + " > -- -i --enable-hw-vlan-strip --tx-offloads=3D0x00 --txd=3D1024 --rxd=3D1= 024" > + self.testcmd_start =3D self.path + eal_param + " -- -i --enable= -hw- > vlan-strip --tx-offloads=3D0x00 --txd=3D1024 --rxd=3D1024" > self.vhost_user =3D self.dut.new_session(suite=3D"user") > self.vhost_user.send_expect(self.testcmd_start, "testpmd> ", 120= ) > self.vhost_user.send_expect("set fwd csum", "testpmd> ", 120) @@= - > 378,7 +380,7 @@ class TestDPDKGROLib(TestCase): > """ > Run after each test case. > """ > - self.dut.send_expect("killall -s INT testpmd", "#") > + self.dut.send_expect("killall -s INT %s" % self.testpmd_name, > + "#") > self.dut.send_expect("killall -s INT qemu-system-x86_64", "#") > self.dut.send_expect("rm -rf %s/vhost-net" % self.base_dir, "#") > time.sleep(2) > -- > 1.8.3.1