From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 9B30943063; Mon, 14 Aug 2023 17:10:55 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 2DD05410DC; Mon, 14 Aug 2023 17:10:55 +0200 (CEST) Received: from mgamail.intel.com (mgamail.intel.com [134.134.136.126]) by mails.dpdk.org (Postfix) with ESMTP id 1CD1840A7F for ; Mon, 14 Aug 2023 17:10:52 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1692025853; x=1723561853; h=date:from:to:subject:message-id:references:in-reply-to: mime-version; bh=lFGuJfNVztqsCsDrTbjlghe6T1cvVBEVqX2+J3DNyjU=; b=ELdsFTxDpJ1SaZ1TQjCXDTRvk8Zq5tFnV2Yd/7mVgexo2/ytcxSDHqtJ rzGNJhL34yRDiJryRk+MZXl/wc9797Y8DRTQcK3ehWLHycdzsgkv/v103 J6Y43A22F1MVTjgiAlt7si/CnC9AI4iLqnit10iM6JYz7Dx9Xu+PoUOAw IhHG6qpJ0P+pc7wFPCX4ZjPF9B+DT7hj9XV8qW0ELGfZhV5f+PH+UDrAl RNDV9szp0KmtqTwkRThShYShHNqfNaaXQ9TSOGaWMPfNBTd/nfmuQs3iB aODJyoszcza3gifKLllV7K+VobxvuhaaYFf/gjqXqy0eo9gK1hrlucTBz Q==; X-IronPort-AV: E=McAfee;i="6600,9927,10802"; a="357020917" X-IronPort-AV: E=Sophos;i="6.01,172,1684825200"; d="scan'208";a="357020917" Received: from orsmga003.jf.intel.com ([10.7.209.27]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 14 Aug 2023 08:10:51 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10802"; a="683340038" X-IronPort-AV: E=Sophos;i="6.01,172,1684825200"; d="scan'208";a="683340038" Received: from fmsmsx601.amr.corp.intel.com ([10.18.126.81]) by orsmga003.jf.intel.com with ESMTP; 14 Aug 2023 08:10:51 -0700 Received: from fmsmsx611.amr.corp.intel.com (10.18.126.91) by fmsmsx601.amr.corp.intel.com (10.18.126.81) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.27; Mon, 14 Aug 2023 08:10:50 -0700 Received: from fmsmsx610.amr.corp.intel.com (10.18.126.90) by fmsmsx611.amr.corp.intel.com (10.18.126.91) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.27; Mon, 14 Aug 2023 08:10:50 -0700 Received: from fmsedg602.ED.cps.intel.com (10.1.192.136) by fmsmsx610.amr.corp.intel.com (10.18.126.90) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.27 via Frontend Transport; Mon, 14 Aug 2023 08:10:50 -0700 Received: from NAM10-MW2-obe.outbound.protection.outlook.com (104.47.55.103) by edgegateway.intel.com (192.55.55.71) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.27; Mon, 14 Aug 2023 08:10:50 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=e93oshxP7cf0I1R0l+66b4EYPjsd0zf4yf0moEUC1IFdV5RxL6+5fN1mutCCkNxFcCCTaDGBYGgGlZh9KuR68Rwo1cJV/wegeip/i+N39sbkLZ/B1nBo1/3dt+VVD5Kf8F6nIAh3/aek4WPqDtc2m8Cy0tkDO4Gls6nM+da7O5b94xADJsKGoyJZyQrnugEdtqf/68psUcYQaF/dqTIeNsvAZyUNvNU0W7OH4/sMRvt7ZcSkaAD/cXFqjOlpTJ2o6FnId85rXcx3Prwq35lFb9P7pLQ72PUJ0ld916V7B1HPl8KSGNZCpWD9XruetXo2nkEtArvxVI1L4CYpA0oNlQ== 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-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=6KhbvKzaBiwa+s9kxJvnjVGSc2oQx2IPDToGb8AH/O4=; b=LWUFAO3UTBghbVmsXN2pEA4j7OgdT5G8KvUlI956axDR7gfe6BxHQqvJB10rRNapVxtD/gmNRMhjmUvVmM1XjUmn1/gjTqaRXGwO1ICVDf5Uago9PRc2/K6/gN2Bu/nBQ+j2yh34ZIwJhtdobn20XkOMAgP6XO+PfNsIpCwqBz8tSuNkA9lSvifLMH4gAm5c05OYpNeGD5NyZe4BFTW8vMVS6Qlk8wI6jLwnsSOquy8qBW/RT+AD214P48l9aKOmU/xe/WnmQ7ropPfa+5NFwmJBaD0/M1UAEMWNv/aTWxxkNnHws1BDtw7w480wJtz8Q/VB10AgFafm46q4uIeJHw== 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 Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=intel.com; Received: from DS0PR11MB7309.namprd11.prod.outlook.com (2603:10b6:8:13e::17) by IA1PR11MB6268.namprd11.prod.outlook.com (2603:10b6:208:3e4::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6678.24; Mon, 14 Aug 2023 15:10:48 +0000 Received: from DS0PR11MB7309.namprd11.prod.outlook.com ([fe80::9802:65f0:c441:780f]) by DS0PR11MB7309.namprd11.prod.outlook.com ([fe80::9802:65f0:c441:780f%7]) with mapi id 15.20.6678.022; Mon, 14 Aug 2023 15:10:48 +0000 Date: Mon, 14 Aug 2023 16:10:41 +0100 From: Bruce Richardson To: Subject: Re: [PATCH v4 0/9] expand list of optional libraries Message-ID: References: <20230622134840.3225975-1-bruce.richardson@intel.com> <20230623150708.2203918-1-bruce.richardson@intel.com> Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: <20230623150708.2203918-1-bruce.richardson@intel.com> X-ClientProxiedBy: DU2P251CA0020.EURP251.PROD.OUTLOOK.COM (2603:10a6:10:230::29) To DS0PR11MB7309.namprd11.prod.outlook.com (2603:10b6:8:13e::17) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DS0PR11MB7309:EE_|IA1PR11MB6268:EE_ X-MS-Office365-Filtering-Correlation-Id: 81703fdc-2c9a-4f8d-90ba-08db9cd8a3f6 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 1GJ6iA3nhJ27Pvu/rMXNuJC8P82NuEGhBw/MrywOCK5bIdeyvy+uDCdkBoWBSdnPY49jBFPJUd677WNUAHDh76Ky5DYa4aO8Zg/BxCwHmhpIA56uRLEdk9OIYGAbwCPnhhHENKFYNagx5lp73YcCer+0jxb6LPIVw9oLqoKUOiemG1JGG2TIFtQZRSMFtgsNB1uQfHsd9jC9SsCapvq+mc0pb15jNn5mkQENBX0fLTEa60wJ4VjByL9zoD5/TvIYygvHHcFNPj0z4vbkLhWLrJ/0ie+wgTCRfcT/4RIX5PXZ8xvz7JHqiUQaoE3XBqlO7h+++8uBp61d98Q7IT1sCJE7GSEqzyCYjz4Te1I3zqrq8d41oott4fBSofL1HX2Ycqq9xw7Ela0B2MCFckymWozRJxwBky4j3OY7VHJJhIjhkASssZdLsY4dFbW2rEitsqKs1HFBhrvzE/+tfCtpN379F72y2GIV5grq3PNRu/f+XFNQd1c3V2L0/x66UxJTzGmK2aWt22afizHsl7OOt2jbtXyuTt95WZCGQbjf2tLVUuIJZ9/6vP7B/fOvVDIq X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DS0PR11MB7309.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230028)(366004)(346002)(376002)(39860400002)(396003)(136003)(451199021)(186006)(1800799006)(44832011)(5660300002)(2906002)(86362001)(83380400001)(66476007)(66556008)(6916009)(66946007)(38100700002)(316002)(41300700001)(26005)(6512007)(6486002)(6506007)(8936002)(6666004)(478600001)(82960400001)(8676002); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?f9G/NcmQHYk4RGmqS8z06dqx9QiUY67WUm+iqPjmlRMdfBGeXQ2qCaFTHPDp?= =?us-ascii?Q?Ex6jja33YdPyXfx7sG6m7XTLnB3siItMUMCALltTzeL1s4GQqTFc4hrTEFqP?= =?us-ascii?Q?wrVho1SRkovhJ3h5vxlw5En4fu7mBt9Yv7FdWhf4t1ywG/oMJjwF5se5r/1e?= =?us-ascii?Q?g2VtmHDLVRPiRlFANtZTl+NeamKXhEc8BsMZqdhLnQ8bKtLRT9kst/YEHibG?= =?us-ascii?Q?ojdmBh6+1SCrGdzqcT9e4qKw6fGnW+7R17hsWFa2yaEDLJfF1CgV3sGy+jj1?= =?us-ascii?Q?0VniY7R+MLdQCWXLOPbl25LDcHsgXoTrbup3AvFb8RLQifyhDPkdcBGZv7ye?= =?us-ascii?Q?FAWKanP2OA/T4XrpKAAQNmbo/gS3zZmXySPcQIzzQx34cBS7IsF0DX3iwr3g?= =?us-ascii?Q?MPUK2WWiAqrLePbwYrTnDu+BkRgRAh97oi0qeFDqFvjgEWAkjoDUxtR/uR8n?= =?us-ascii?Q?nSNaxRGugonJdILKw6RQ5Sq+HONt3QQUuu0k9DezCVFff01/M1OqWhGTQGJS?= =?us-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y5wI7bz1N497m/FVvu91AIoOz0p0Hdzql?= =?us-ascii?Q?LyWPI7jE0BY3TojJ3DD1Gh/NOj4v18CnO9CZ01XdtflFsn/viI6iPAnIeSKf?= =?us-ascii?Q?L7qwGBoK8u+1vRxjOcO0stK0ABGsVVlRNivcF5OZ8GebtNnFBKLx8Qs9JLME?= =?us-ascii?Q?n5dh2aaZ2lcCiCmQA/2fG5p9n7U4OqavSfxhy/RDP42NeHEaVdwkK9yK+G62?= =?us-ascii?Q?5Q=3D=3D?= X-MS-Exchange-CrossTenant-Network-Message-Id: 81703fdc-2c9a-4f8d-90ba-08db9cd8a3f6 X-MS-Exchange-CrossTenant-AuthSource: DS0PR11MB7309.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 14 Aug 2023 15:10:48.3279 (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: CIPLhMXz2ulFuRB/GWkMfsPc4uPI+fUsU3p8c2ycfHL76BCl0uw9tcVdtw9sDpODnGoH6joTlbOvmmutBZKO29pwC3p4Cad8WgQSWwHMwO8= X-MS-Exchange-Transport-CrossTenantHeadersStamped: IA1PR11MB6268 X-OriginatorOrg: intel.com X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org On Fri, Jun 23, 2023 at 04:06:59PM +0100, Bruce Richardson wrote: > DPDK still has many libraries which cannot be disabled as part of a > build. With the ongoing work to make it easier to only build a subset > of the libraries in DPDK, we can also work to expand the list of > libraries which can be enabled/disabled as desired. > > This patch addresses a number of the "low-hanging fruit" libraries, > where only the unit test builds need minor changes to support > making the library optional. The rest of the build system is already > well set up for selective disabling of libraries. > > For better support of enabling components, especially those more > integrated into DPDK unit tests, rework of the test meson.build file > is likely needed. For example, it could probably be better rewritten > to use a dictionary of files and the dependencies of each file, and > the unit test commands each provides. However, such rework is a > significant effort, and outside the scope of this patchset. > > V4: > - fix more issues with disabling eventdev: > * ensure dlb2 driver doesn't directly reference the static lib > * ensure l3fwd can be built using makefiles without eventdev > * remove dependency on eventdev for unit tests like pdump that > don't actually need it. > This patch series I'm closing off, and merging in with my patch series to improve the unit test builds. With the unit test build set applied, most of the patches in this set just become single-line changes to the optional list, so just adding them to the end of the test cleanup set makes sense. /Bruce