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 05C0BA052A; Thu, 26 Nov 2020 15:02:14 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id CD967C950; Thu, 26 Nov 2020 15:02:12 +0100 (CET) Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by dpdk.org (Postfix) with ESMTP id 95829C940; Thu, 26 Nov 2020 15:02:09 +0100 (CET) IronPort-SDR: XN2O1aJBDgqQHBSP8PAwtVkluyHQRxCvAn3gh7WemO/VECCA/N6PJNQiKeyG4sP6iUrDZ3bZUW CvVzfbMjOwug== X-IronPort-AV: E=McAfee;i="6000,8403,9816"; a="159334717" X-IronPort-AV: E=Sophos;i="5.78,372,1599548400"; d="scan'208";a="159334717" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 26 Nov 2020 06:02:08 -0800 IronPort-SDR: /Nvm6IGYOoWhpqk3THa/ThlPdpGrUFxBmlqe4qUKDi+KPdvQW2GbouCdDKuDzEymiLpiTkpZSY k/QjMJf+qJOQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.78,372,1599548400"; d="scan'208";a="535744953" Received: from orsmsx601.amr.corp.intel.com ([10.22.229.14]) by fmsmga006.fm.intel.com with ESMTP; 26 Nov 2020 06:02:08 -0800 Received: from orsmsx608.amr.corp.intel.com (10.22.229.21) by ORSMSX601.amr.corp.intel.com (10.22.229.14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5; Thu, 26 Nov 2020 06:02:08 -0800 Received: from orsmsx608.amr.corp.intel.com (10.22.229.21) by ORSMSX608.amr.corp.intel.com (10.22.229.21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5; Thu, 26 Nov 2020 06:02:07 -0800 Received: from orsedg603.ED.cps.intel.com (10.7.248.4) by orsmsx608.amr.corp.intel.com (10.22.229.21) 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, 26 Nov 2020 06:02:07 -0800 Received: from NAM11-DM6-obe.outbound.protection.outlook.com (104.47.57.168) by edgegateway.intel.com (134.134.137.100) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.1713.5; Thu, 26 Nov 2020 06:02:07 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=SDefQQEXO6JaUwqJRQrrjqAOhMuHeqNG0D6iMsEyGi0subNDPvpe4B4OG2FrEL40yOKD5GvFilO5wU6q5XDjdfMRRSCQ+xF5vS132i5oeHoFppqr/+K+qEPyy75AsjdQuG/VrKmNNZIosCwYX/xSHtVklpbdXudNQsBRxEv1O4FAuCLga+Iv7AY2bGDRkbtRCKqde6Fosl8jDRYUfd+uriKvTjMxGRKLCddBR4L4tdKzG/dVg4nDL1GGYqOzb83hV3lZxuKDzIxnTH4FKhZSaLXbos7c3rvyUcGbmpnFFc2h3TFyOVV01hjUDDIRpVtCEGkDkbW+/bnm1O2RLdb3xw== 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=VdhmGLTUs1eXwwvLdBuO7UDp9d1CzQ7HuojP7WYzXGE=; b=BcVrWC+EuLnX6dnCA9Pse97ODVZT9h6rQmOAFYnZmZvB44NkSaMV62r1Qhi4rYb50i7GpsdX62RV7H4AhPPsDfunv2Ieq/sFBopVOzRcLfvWCMZ6kavcjdAV0wsGGGnxZO2ydd9jbPoofV0TSstcA3r+PYSEhJYqut1KGe7AgcLrdtlFzWlTXOSwRpP6jj7Jq5q0KnYo06ltAog1iLnaf+SheheWT/RcYkCoIUMwbyY/t1X/3ebbcmEv8G7EEz19qTGEuiGADOdyG9hqUdtC/fxiTKg/OdR2aJXF6KJmj67nAMnH6uC10WfrwFBwtgsT/isVfh+NevMCFdeI74skMw== 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=VdhmGLTUs1eXwwvLdBuO7UDp9d1CzQ7HuojP7WYzXGE=; b=j60zA9SJDa37RzTNXxV7N5P49i4UWISkjWViPkFVlMgubGarZPv5xnTTz7XSdv6ceZPYtqWdBVATZjvgHYtTSR+KhzJadk3Vybt5zqhS8fE3CfuHwlgEd2al1cNKVxzDcNwcIWQVyHhTX2DxXnSazgvzhOZ/Ozr0PEhQiI5m/l8= Received: from DM5PR1101MB2121.namprd11.prod.outlook.com (2603:10b6:4:50::19) by DM6PR11MB3964.namprd11.prod.outlook.com (2603:10b6:5:19c::28) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3611.22; Thu, 26 Nov 2020 14:02:05 +0000 Received: from DM5PR1101MB2121.namprd11.prod.outlook.com ([fe80::283c:db65:84a4:b621]) by DM5PR1101MB2121.namprd11.prod.outlook.com ([fe80::283c:db65:84a4:b621%10]) with mapi id 15.20.3611.022; Thu, 26 Nov 2020 14:02:05 +0000 From: "Walsh, Conor" To: "Yigit, Ferruh" , Thomas Monjalon CC: "dev@dpdk.org" , "techboard@dpdk.org" , Stephen Hemminger , "Richardson, Bruce" Thread-Topic: [dpdk-dev] [PATCH 3/6] usertools/setup: remove running built applications Thread-Index: AQHWw2Abl9Er8vlRIEeXo6YhPqJ9EKnacY8A Date: Thu, 26 Nov 2020 14:02:04 +0000 Message-ID: References: <20201125191908.1867106-1-ferruh.yigit@intel.com> <20201125191908.1867106-4-ferruh.yigit@intel.com> In-Reply-To: <20201125191908.1867106-4-ferruh.yigit@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-reaction: no-action dlp-version: 11.5.1.3 dlp-product: dlpe-windows 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: [86.40.70.33] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: fd35c7b7-2548-4dcc-b845-08d89213db19 x-ms-traffictypediagnostic: DM6PR11MB3964: 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:5797; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: KVdP8Do70ssO1HKZHuqlXDkXHTg4hAiV3VV2jEYrKMZGKFabB7iJhl1CBLpEdYTlMbxA1DAq2hOgMTm+ZV6mYeKNDWKswl6XO6HVMF0oBCVDL40mnPscRv/Rg4PPnA9INl9w9bHEh0y+XiRmHi+SkZFW92xIQT6q3mY4iwXc53OXG5VUKWAttQdXdpjaxU5WcZjVboUgW+SjaRCMTBPO+ye1E9QsbroUcf8wJjXtdY7Wlxx0OvWH8OJUA2UpSeODMcQaxSPa1IFp+xBj1hj5vWE5hmnxbRCNhRV1eBe4LPg3NZ6rmJNLbL5qtUJVqbvv x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DM5PR1101MB2121.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(136003)(366004)(39860400002)(376002)(346002)(396003)(4326008)(8936002)(7696005)(76116006)(55016002)(478600001)(9686003)(53546011)(6506007)(83380400001)(186003)(110136005)(54906003)(5660300002)(52536014)(26005)(71200400001)(316002)(66476007)(64756008)(66556008)(66446008)(66946007)(2906002)(33656002)(86362001)(107886003); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata: =?us-ascii?Q?4LxAZtF5lMBE6CZD72mtgyqRP1K0fmTy2jW46vcEC4RtPe2W+rBGqMYnzDSZ?= =?us-ascii?Q?p3HsCTKrPW0O15kdXxzc6FuNotLPE6HIpnucC8LV8yzE/8CsKxa7TlV9qEIl?= =?us-ascii?Q?hzS7pqWr8ozHTFYFTnFNhKYVMAsPyRtXq9ePUhbbi/mAW232KdOL/eZM8NJc?= =?us-ascii?Q?4xDgeSPrNSFh/Zs/XXqZIwfNG7gFBecwllEx3NgSE/nfrYulcV+a1sw5QzqT?= =?us-ascii?Q?Ang9osrO/N/5hVjwYqtMSZwxxtTsWCEeEiGaxHV5jMt3FiNmCzcIOfpbZ/Yy?= =?us-ascii?Q?P/mG/35smX8nApeUXP5l365OZCcQWNHxE+DzKlrisUL2GUe8FwfQLEMlITAV?= =?us-ascii?Q?KXeMe7oADQQOVSzzbM4OgxUONL+50BSb03j0n2lEbKYN8372FYnWAVDqJLCW?= =?us-ascii?Q?5iSslqIRabhNtN/fDuSb05n11sYR2bZqhHHgTRl4O5FL783Q2UvjHBeNmyPq?= =?us-ascii?Q?9jVyC7lxv6MiN9f2jdJWCDi/a8MQkwQgu/H1E+fODUGVyeC3XDjTNhXM+xBw?= =?us-ascii?Q?9fpbeVMxSx5PE865R6G/Mwa1FGJz/F+JdicqGJ5lqypMSjTaRx26867v4QLe?= =?us-ascii?Q?WxscLKRn5jWCL3gcQm6iIrijPgSHfjwWo4M4R2FoECq0y2aWMbksiSAXg8Ab?= =?us-ascii?Q?cgSvqxucwjMu24BuWScToq6iV6r1lfTMMTXP1ClPxmlHYmuS8/BYDUBijlcO?= =?us-ascii?Q?aLi2LlNufi2WwlDywe45zT4THFURDT0cWDYoH12u8Cd0R+i0WpBO9luQiqZj?= =?us-ascii?Q?u7uQTJveo015DpeQ79d1hmIwJVSg6GpCNVrIVZSaimhXJjTUBtm1+32Xczrr?= =?us-ascii?Q?XGMJ6/enEPBEn8z5lXnl2vD4rm7Cv9QQhf/YGVNQchRgmKkGloJ4rVKyXUaL?= =?us-ascii?Q?WUA6ARHBKl9dPFr8wMkkwPpmNVscmU7QlP1Fa1zlRBqGsCc67z9cSwBz5YJN?= =?us-ascii?Q?YDA1KJ42+w72UF7ozeffU1pBumXjYbfQo80I4/D6SDY=3D?= 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: DM5PR1101MB2121.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: fd35c7b7-2548-4dcc-b845-08d89213db19 X-MS-Exchange-CrossTenant-originalarrivaltime: 26 Nov 2020 14:02:04.9985 (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: Oq3E9YTHzbYw0RVPXgdSzwBCvtio7zTLqT/4x9KwTseydfblX8Y6X6R0JAAFuUpc2MEZDRHeYWlpdTiWYUU6SQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR11MB3964 X-OriginatorOrg: intel.com Subject: Re: [dpdk-dev] [PATCH 3/6] usertools/setup: remove running built applications X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Hi Ferruh, Patch tested. Thanks, Conor. > -----Original Message----- > From: dev On Behalf Of Ferruh Yigit > Sent: Wednesday 25 November 2020 19:19 > To: Thomas Monjalon > Cc: Yigit, Ferruh ; dev@dpdk.org; > techboard@dpdk.org; Stephen Hemminger > ; Richardson, Bruce > > Subject: [dpdk-dev] [PATCH 3/6] usertools/setup: remove running built > applications >=20 > Running application relies on make based build variable 'RTE_TARGET' to > find the location of the applications, which is not valid anymore. >=20 > Signed-off-by: Ferruh Yigit Tested-by: Conor Walsh > --- > usertools/dpdk-setup.sh | 52 ++--------------------------------------- > 1 file changed, 2 insertions(+), 50 deletions(-) >=20 > diff --git a/usertools/dpdk-setup.sh b/usertools/dpdk-setup.sh > index bcf0c843678f..759f6c096536 100755 > --- a/usertools/dpdk-setup.sh > +++ b/usertools/dpdk-setup.sh > @@ -17,11 +17,6 @@ echo "------------------------------------------------= ----------- > --------------- >=20 > HUGEPGSZ=3D`cat /proc/meminfo | grep Hugepagesize | cut -d : -f 2 | tr = -d ' '` >=20 > -# > -# Application EAL parameters for setting memory options > (amount/channels/ranks). > -# > -EAL_PARAMS=3D'-n 4' > - > # > # Sets QUIT variable so script will finish. > # > @@ -252,34 +247,6 @@ set_numa_pages() > create_mnt_huge > } >=20 > -# > -# Run unit test application. > -# > -run_test_app() > -{ > - echo "" > - echo " Enter hex bitmask of cores to execute test app on" > - echo " Example: to execute app on cores 0 to 7, enter 0xff" > - echo -n "bitmask: " > - read Bitmask > - echo "Launching app" > - sudo ${RTE_TARGET}/app/test -c $Bitmask $EAL_PARAMS > -} > - > -# > -# Run unit testpmd application. > -# > -run_testpmd_app() > -{ > - echo "" > - echo " Enter hex bitmask of cores to execute testpmd app on" > - echo " Example: to execute app on cores 0 to 7, enter 0xff" > - echo -n "bitmask: " > - read Bitmask > - echo "Launching app" > - sudo ${RTE_TARGET}/app/testpmd -c $Bitmask $EAL_PARAMS -- -i > -} > - > # > # Print hugepage information. > # > @@ -381,24 +348,10 @@ step1_func() > FUNC[7]=3D"set_vfio_permissions" > } >=20 > -# > -# Options for running applications. > -# > -step2_func() > -{ > - TITLE=3D"Run test application for linux environment" > - > - TEXT[1]=3D"Run test application (\$RTE_TARGET/app/test)" > - FUNC[1]=3D"run_test_app" > - > - TEXT[2]=3D"Run testpmd application in interactive mode > (\$RTE_TARGET/app/testpmd)" > - FUNC[2]=3D"run_testpmd_app" > -} > - > # > # Other options > # > -step3_func() > +step2_func() > { > TITLE=3D"Other tools" >=20 > @@ -410,7 +363,7 @@ step3_func() > # > # Options for cleaning up the system > # > -step4_func() > +step3_func() > { > TITLE=3D"Uninstall and system cleanup" >=20 > @@ -433,7 +386,6 @@ step4_func() > STEPS[1]=3D"step1_func" > STEPS[2]=3D"step2_func" > STEPS[3]=3D"step3_func" > -STEPS[4]=3D"step4_func" >=20 > QUIT=3D0 >=20 > -- > 2.26.2