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 C455FA053D; Wed, 5 Aug 2020 19:46:33 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 841562C23; Wed, 5 Aug 2020 19:46:31 +0200 (CEST) Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by dpdk.org (Postfix) with ESMTP id 26C1D2BB5 for ; Wed, 5 Aug 2020 19:46:28 +0200 (CEST) IronPort-SDR: PhVdIFgy9hCsSiGyDlERmg26XFcbXt3JByOHnTy+mexLULCoPO1SnzzzESwG0gYpw/ipBTZXTX r5hG6RL0xfVw== X-IronPort-AV: E=McAfee;i="6000,8403,9704"; a="170690522" X-IronPort-AV: E=Sophos;i="5.75,438,1589266800"; d="scan'208";a="170690522" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga004.jf.intel.com ([10.7.209.38]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 05 Aug 2020 10:46:27 -0700 IronPort-SDR: 3SE0llXLVJvTHiMV3wlTmL5z3NUa+wb67NuB///laz5nxOhri8hlq1qt7SvaJ6QgeThWmFUptA 7dN7VF/y/bwQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.75,438,1589266800"; d="scan'208";a="437246172" Received: from fmsmsx603.amr.corp.intel.com ([10.18.126.83]) by orsmga004.jf.intel.com with ESMTP; 05 Aug 2020 10:46:27 -0700 Received: from fmsmsx603.amr.corp.intel.com (10.18.126.83) 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; Wed, 5 Aug 2020 10:46:26 -0700 Received: from FMSEDG001.ED.cps.intel.com (10.1.192.133) by fmsmsx603.amr.corp.intel.com (10.18.126.83) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256) id 15.1.1713.5 via Frontend Transport; Wed, 5 Aug 2020 10:46:26 -0700 Received: from NAM02-BL2-obe.outbound.protection.outlook.com (104.47.38.50) by edgegateway.intel.com (192.55.55.68) with Microsoft SMTP Server (TLS) id 14.3.439.0; Wed, 5 Aug 2020 10:46:26 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=bIuEf5IC397rDLFwYjVE1oMW0CzyFUZJAwq79eEaL7KOuIcQgoMKPXN24JrqjI0CnKZEX77Jn0/g2A0L14xzqG1vmtscDXwqX3Rq8A5VnbNHjsZiMCOzfcHDXf/hwwLwnSDos6ht+5QYDNGgBJGvOnKjZ4XAu8O8alATJl+h0Y+SHDWRlF55CCdRDRvvfY71mSH8Q4ZIUQjAeLBgWFB1D8u3wHYuh6JBd91Y4EZQU3HLmMtgaV933dw2dQ48Z5qIN7G3QEnWxNCIlYK177NFiHAYWkyXFUXzbvk1dcbIKK8pum8u1gXSrecqK7UvSCbBfFbJPTr813UIEdi3G2Lt8Q== 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=E2njxyJLmH00rxJLJW0J9xfHkFQGiNJdb1EQao13C+c=; b=GfdC7P35H+W0vMF79vZ/r7WP03vs3OJ1VyHf3HA3MSa9TFug/EF38C//fh8Z+19HAoSjeAI1H4SaW17NyHjrI0ZC+1pjSNvjfIPuQBRsLBFqVhFUbtqlpfo4c2ZhKa/dBtdie1j7bi/DRXg0VQVEgecU/naR5hKrI54MXOVTejnMTESGY//55hwW534XFqpWwRwixVCOQeXwdzW+UEXzFB8TlHwH1B/FQeTu/mOCxvJLSLpwikLeN9IhoQPmbJRbcbn3wXhrtWxtG4AuILdHPS+Jag2bPeI+9F3oeLyRyBif+IxOaU97y8YKVWQW1PyBgmWGJDmmrsnE8VL1LV/Wwg== 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=E2njxyJLmH00rxJLJW0J9xfHkFQGiNJdb1EQao13C+c=; b=fH3bNgMkuV1pZAY8ucL4Fdp18/KWKH3/3rHYieDOvTyKs7wlAdbxrmTJvPqLeuLrsmEUT5D8PtOzfCksUfa8bIW6QAFdOyq9eB59eXJseLqXg4mensOuzjOzdVGwH4f0zHLUraJjo5eqvt13rMJAabIZSmr2oWKuIQkOxvSgc8c= Received: from SN6PR11MB2880.namprd11.prod.outlook.com (2603:10b6:805:58::15) by SA0PR11MB4751.namprd11.prod.outlook.com (2603:10b6:806:73::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3261.18; Wed, 5 Aug 2020 17:46:22 +0000 Received: from SN6PR11MB2880.namprd11.prod.outlook.com ([fe80::ec8b:8f35:800d:13f4]) by SN6PR11MB2880.namprd11.prod.outlook.com ([fe80::ec8b:8f35:800d:13f4%3]) with mapi id 15.20.3261.017; Wed, 5 Aug 2020 17:46:21 +0000 From: "Trahe, Fiona" To: Thomas Monjalon , "Yigit, Ferruh" CC: "dev@dpdk.org" , "david.marchand@redhat.com" , "arybchenko@solarflare.com" , "Richardson, Bruce" , "stephen@networkplumber.org" , "ajit.khaparde@broadcom.com" , "jerinj@marvell.com" , "maxime.coquelin@redhat.com" , "akhil.goyal@nxp.com" , "bluca@debian.org" , "ktraynor@redhat.com" , "honnappa.nagarahalli@arm.com" Thread-Topic: [dpdk-dev] [PATCH] doc: announce removal of interactive setup script Thread-Index: AQHWa0Rb5hr/zi8uvUmTG68lhmz8hqkps+oAgAAWIoA= Date: Wed, 5 Aug 2020 17:46:21 +0000 Message-ID: References: <20200804102643.3345674-1-thomas@monjalon.net> <4a9e1a7e-a637-e601-487f-793fc68bb095@intel.com> <8050069.tTueApQPhr@thomas> In-Reply-To: <8050069.tTueApQPhr@thomas> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-product: dlpe-windows dlp-reaction: no-action dlp-version: 11.5.1.3 authentication-results: monjalon.net; dkim=none (message not signed) header.d=none;monjalon.net; dmarc=none action=none header.from=intel.com; x-originating-ip: [64.43.157.167] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 484e7f3b-2298-42a1-6a36-08d83967774c x-ms-traffictypediagnostic: SA0PR11MB4751: 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:6790; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: 4l0lZlY6IdoENRfJCDwX0KtIysXDetHYR8So6MiXLLTMUag3u0R0DE5tUOK46mgksz8qTsX3+3mouhx/nVFO1EenCo3ToHKQymSt01/kmdGaaiT2HgQ/lGCFRevwOfN//cdwm9avIyrMmFEx2w2NFYpWR1toqUKE0vopmOMbp1St5aiORQ4dVq85e2ZP/a4QWrYJkNLX7VLAEzs2JZ0k8jVgtN5AMARJX146eYUDx5cfgx5kc2oIawsj45AZ4s3QzWkrt0i9LE/TO7iv78S8Z4bGV4lPJylzFq4VnxUQbwaYdrWWD/b7qE17f32C9axU9afQ98Dl+FKAThctr6/Esw== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:SN6PR11MB2880.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFTY:; SFS:(4636009)(366004)(136003)(346002)(376002)(396003)(39860400002)(110136005)(54906003)(5660300002)(86362001)(478600001)(7696005)(71200400001)(83380400001)(52536014)(33656002)(26005)(66556008)(55016002)(4326008)(66446008)(64756008)(66476007)(6636002)(6506007)(316002)(66946007)(9686003)(53546011)(7416002)(8936002)(76116006)(186003)(2906002); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata: it0jg9+Ksfc1swv8lFOHnfgV5Hn70+gfK+Tr5W7dVAtbGKhhcQb7306rn8Jk4QEvTEsF03AMcnGI4a6A5cI7CLZspaZ9te5Vr/Rc+iqYCoLnBntu50x3B9bAUjhLk1nvAbE9YqUsR9qtVrRZv7bsHb4A1kHi0esZgOCTOC0x8kCoU37iLFv8RjGdLH5ZeAs982+Gl3x9WY4AvR3pvJuzjFpw4b+Nc5P9C5lZE1WL4abMxAf6V8FLBNaWxCMvU8eqoWADMxwn6KFNyWbKJDqw819xgpWMo6+zRmtgdF5L/6jTHkxle04WWQuXgoSYgVhjwGAGhX9CAmYj7OQDTh5ZyUgmAWm1Uuml9GALottqgIxWFbS+n7zoG3IgomV8gzIlC+eMxwbGgOHLhBPIQT9rtrjrz6HxfqaOaU+CTjX7XPq1kvbkwLr7ncl0Jtua56IuKSrCK588TXYQhe3o/9DrXiLZ5Zpl7wuj4M0UIqqTIUYxqon9Wo2N1xSyksIlpRXlfHm3ZGte1bVQaXrs350UCHYrenyMnQfrWKVSx1qwPjkIS2gKPoyKjn0uDySSbjZ5MRYEJrzq5AFGVb/qlTie9K8iNEvYjDMvRGR3Rd+quo84x9/wUBmYKc4DlrzOzwp+gwNjd7WkZztMRwTPPmgr9w== 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: SN6PR11MB2880.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 484e7f3b-2298-42a1-6a36-08d83967774c X-MS-Exchange-CrossTenant-originalarrivaltime: 05 Aug 2020 17:46:21.7327 (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: iEWTTM7lBsi1gspKzlAFl2m7GECf+rsZg0ObLpvmCI9KpjFO7rQLhbVSg80P3XsPkyG9pa3F/tVQqnfwM5w5iQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SA0PR11MB4751 X-OriginatorOrg: intel.com Subject: Re: [dpdk-dev] [PATCH] doc: announce removal of interactive setup script 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" +1 for keeping at least the huge-page setup part - I use this all the time= . > -----Original Message----- > From: dev On Behalf Of Thomas Monjalon > Sent: Wednesday, August 5, 2020 5:27 PM > To: Yigit, Ferruh > Cc: dev@dpdk.org; david.marchand@redhat.com; arybchenko@solarflare.com; R= ichardson, Bruce > ; stephen@networkplumber.org; ajit.khaparde@b= roadcom.com; > jerinj@marvell.com; maxime.coquelin@redhat.com; akhil.goyal@nxp.com; bluc= a@debian.org; > ktraynor@redhat.com; honnappa.nagarahalli@arm.com > Subject: Re: [dpdk-dev] [PATCH] doc: announce removal of interactive setu= p script >=20 > 05/08/2020 18:19, Ferruh Yigit: > > On 8/4/2020 11:26 AM, Thomas Monjalon wrote: > > > Environment configuration is the responsibility of distributions > > > or upper-level frameworks. > > > DPDK focus on documenting the requirements and some recommendations. > > > > > > Maintaining a good adaptative deployment setup is a project by itself= . > > > Anyway this script was interactive, useful only for experimenters. > > > > > > Signed-off-by: Thomas Monjalon > > > --- > > > doc/guides/rel_notes/deprecation.rst | 4 ++++ > > > 1 file changed, 4 insertions(+) > > > > > > diff --git a/doc/guides/rel_notes/deprecation.rst b/doc/guides/rel_no= tes/deprecation.rst > > > index ea4cfa7a48..7ce9fc3e4f 100644 > > > --- a/doc/guides/rel_notes/deprecation.rst > > > +++ b/doc/guides/rel_notes/deprecation.rst > > > @@ -151,3 +151,7 @@ Deprecation Notices > > > Python 2 support will be completely removed in 20.11. > > > In 20.08, explicit deprecation warnings will be displayed when run= ning > > > scripts with Python 2. > > > + > > > +* dpdk-setup.sh: This old script relies on deprecated stuff, and esp= ecially > > > + ``make``. Given environments are too much variables for such a sim= ple script, > > > + it will be removed in DPDK 20.11. > > > > > > > Personally I use script as a shortcut to allocate hugemaps, and find th= at bit > > useful. > > > > Agree that the environment configuration or deployment script is someth= ing else, > > and not sure if this script ever claimed to be one, it is more a user h= elper > > script I think. > > > > What do you think remove the build part, which depends to Make build sy= stem as > > mentioned above, and keep the rest as a helper script (and perhaps rena= me to > > highlight the intention), so basically keep only below part: > > > > ---------------------------------------------------------- > > Step 2: Setup linux environment > > ---------------------------------------------------------- > > [45] Insert IGB UIO module > > [46] Insert VFIO module >=20 > It does not cover other kernel modules. >=20 > > [47] Insert KNI module > > [48] Setup hugepage mappings for non-NUMA systems > > [49] Setup hugepage mappings for NUMA systems >=20 > It does not use the standard hugepage directory. >=20 > > [50] Display current Ethernet/Baseband/Crypto device settings > > [51] Bind Ethernet/Baseband/Crypto device to IGB UIO module > > [52] Bind Ethernet/Baseband/Crypto device to VFIO module >=20 > These are just calling another script in usertools. >=20 > > [53] Setup VFIO permissions > > > > ---------------------------------------------------------- > > Step 4: Other tools > > ---------------------------------------------------------- > > [56] List hugepage info from /proc/meminfo > > > > ---------------------------------------------------------- > > Step 5: Uninstall and system cleanup > > ---------------------------------------------------------- > > [57] Unbind devices from IGB UIO or VFIO driver > > [58] Remove IGB UIO module > > [59] Remove VFIO module > > [60] Remove KNI module > > [61] Remove hugepage mappings >=20 > This script has bad quality and is very partial. > Are we sure we want to keep above parts? > What about adding separate scripts for VFIO permissions > or hugepage mapping and info? >=20