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 93A24A0547; Wed, 21 Apr 2021 17:52:55 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 2221841AC8; Wed, 21 Apr 2021 17:52:55 +0200 (CEST) Received: from NAM02-BL2-obe.outbound.protection.outlook.com (mail-eopbgr750084.outbound.protection.outlook.com [40.107.75.84]) by mails.dpdk.org (Postfix) with ESMTP id 780BB410F9 for ; Wed, 21 Apr 2021 17:52:53 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=VVf4+d+K1s1gbA0Cs7mDfcU+msCuom6mDkFDQvzzib+bGdiPvBSlKfdow62Vv9jWNB285zOPPweiviYLQg15TnhUhuDRUZq+bvBXD7J6roPIyP/2MygqThctMjT/Qjya/5J9gXrO3hGNBrbxL9AlPYM81x3NCfmOMNx/ythSaweNwUXQLSy5CoXNNePDPoRT9nT0HTWAufnbCsA7TL4kedQhq5HzBZhXLTQDPFEgGUlCeWpaLi5HkRb5ejXUwooEBLb//vJKhJHQGaQXgiBadKbnAqU+re1eTp1WcgWNlkafT7GtkEy2TYG1FRtjntIQ0VM3HrAVswTSllt3UpI/RQ== 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=IXkn0p814OTh0nK1FVjJAV3AEUh561ZxjK9Jdvp2JbM=; b=TRvM/tZBs2KMLYs4B56suBTZjhYuXasKd0aevFV71kP3injv3ATjN6wE42XUZrVzdH5Ys6+IwGrImjkAcEkOKTlqvfCAErjiL3HRSmWnahY6kWjk5wIFO9UoKNdGzyr6zNLqhRR86MaI9nqqT+Fa8WGhpco3byZt3OxFCldizSUK2iT6r0n0JGYcsIjQJW5GHC+4gZwK3sNUTeWETNFhDEutMFdhjLMALxYY25sTby4MZNvw47WRHq5bdOzy8NLioopKCEtH/36eMj8oe5dDtpaWc6H5kJiI9PRXdR/G29kyaGVZjIJz4Ycxl2D+XKDREeKbn5Jcj/vb6OXdhDkC1A== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nvidia.com; dmarc=pass action=none header.from=nvidia.com; dkim=pass header.d=nvidia.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Nvidia.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=IXkn0p814OTh0nK1FVjJAV3AEUh561ZxjK9Jdvp2JbM=; b=X7y9GSwubTyvrXx9linC0vOYzFm1c51NpTucYC74DcC4s7EhiOEcb7PTXDOTQwvt6er916GYaf4vIglCxe27gEddcHDsoxrZ8mR73kEl06baSrHVOGQZTovTsNouyTX9T0nRZNTtMuVF+DWOv5zDMfBf050oZw1NsEAFyxU92zkZJQLnw/s94k3bYAEE/dkd4MSmR5l7JhhdxGiIve/pI3Z/GKSTrbl+J2j9AQe/FN8yVkyCsMCALv+BSqWjXnJWnzAtvjsKI48N7E7bc6A8sli8rPx/yL9LlaO9yc++tsVLNpipAERPK8Z5YqY/nySYrQge2R2aqhVjDRO1l9rWlg== Received: from BY5PR12MB4324.namprd12.prod.outlook.com (2603:10b6:a03:209::10) by BY5PR12MB4068.namprd12.prod.outlook.com (2603:10b6:a03:203::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4042.16; Wed, 21 Apr 2021 15:52:52 +0000 Received: from BY5PR12MB4324.namprd12.prod.outlook.com ([fe80::b919:53f4:6757:331c]) by BY5PR12MB4324.namprd12.prod.outlook.com ([fe80::b919:53f4:6757:331c%6]) with mapi id 15.20.4042.024; Wed, 21 Apr 2021 15:52:52 +0000 From: "Xueming(Steven) Li" To: Bruce Richardson CC: "dev@dpdk.org" Thread-Topic: [dpdk-dev] [PATCH 00/14] Build file updates Thread-Index: AQHXMuKslUmIxxtWWkCbKXlEmNkANKq59IAggAHfVACAAyMqEIAAK/UQ Date: Wed, 21 Apr 2021 15:52:51 +0000 Message-ID: References: <20210401115009.1063844-1-bruce.richardson@intel.com> <20210416170458.50188-1-bruce.richardson@intel.com> In-Reply-To: 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=nvidia.com; x-originating-ip: [180.162.54.135] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 6a4b0cd1-764a-4ca4-75eb-08d904dd856e x-ms-traffictypediagnostic: BY5PR12MB4068: x-microsoft-antispam-prvs: x-ms-exchange-transport-forked: True x-ms-oob-tlc-oobclassifiers: OLM:8882; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: PW9tq00zW7xsyKQ91I4G1l1e3sHNOlSWXR0VA0ZF6lWECeo6FlVx/cxCXZY05u934Lg6goxet1lcXLexJr9rn7TqH3cR0U/xTPz4Aq3gZy5rPig+b0kJ/o0OKkPAF3spXGzgiq6DapVliMIQICMTi+C5E374O2bcd46/8J5iXDsEb8d1NddxTVnDRPma9BCFClpqGm9atyxbjToUbo0H2F93NaEgTbLUrMRf0L+sU0l8gzcpnSsVsmH7Ov6THYYOC4dSqW6CeZxMcFRkwv/6aPhqfCrAOweX3VU6cFNBg5MgrTj/03uWpfLmNQH0j4W0lQlC8/GPljbuD66mGSbMqsQAa8Y1K11S4WKFiR8ZDjVN1B2VfUFIqk+tshkQtEEVLxlk49xRZi9C+gadoBm3L8YTJ4ZFjfKFxkUHGuAoaA2UPsXJtM//GATLpAoeOF0s9UncnqNHE8DFE8u8w/ybVWPG21uN1LOXWqx2nYARKrz+Mwq4E0UC3WwsMDvpprhoKMU6LJGmFEwTLjztwCLNkqeYFvlTFJnFXlhDtu6q/zvRQsJxo3bMgrjxQizrBCxdDc2M5FCahUiEv3MCbHnJ55ZtHvVkOqeQDpTemEuo1JY= x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:BY5PR12MB4324.namprd12.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(136003)(366004)(396003)(376002)(346002)(39860400002)(7696005)(122000001)(2940100002)(186003)(64756008)(15650500001)(6916009)(86362001)(4326008)(76116006)(6506007)(52536014)(26005)(71200400001)(478600001)(53546011)(9686003)(55016002)(66556008)(66946007)(66476007)(83380400001)(33656002)(66446008)(8936002)(38100700002)(5660300002)(316002)(8676002)(2906002); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata: =?us-ascii?Q?O5H8fzncd9njFxiJdJ0KRqPe2EOwfsOom/KUmK+LbuJo5HN2mFsNAMVg6nwq?= =?us-ascii?Q?9zbU2toKP4QOGuZIqVtLRxBC9ozOMuTe7/l6yvgAZaWr8Zs3xCiRg753oLSa?= =?us-ascii?Q?FPxBWMU2LFDJOpk1V6YOitH/6GcPAxMIKxuQXbNb8Lv+TfSxH9XaJHDWR5NE?= =?us-ascii?Q?4nQuGgtse6kY4Vtz349s7EDY3iVRpoqJ53xzZAvpdjr1NSYqiXEBJ2dDZhgY?= =?us-ascii?Q?196ZBrlrkMc35fCEP7WzUhIlBHz+oUwvYs+MuU20vQcsOUn4ZzCRMUBIfdgf?= =?us-ascii?Q?p9PSbhNvWhtyOzbbQVB03sRi06X0ayqKVm7HL/2RT1uomNWa97BFiLehhLqH?= =?us-ascii?Q?rS8kpznVS+cKNN92iMX41fEfjfOTuwfADolx7VWbSNydgVy+NUOQtwh6dgZX?= =?us-ascii?Q?AwmYeLCbWnHynkKn5Z2PRN3mXfM40M/Z+Pk+C3TQilONSFYenUWVutKL+/Tt?= =?us-ascii?Q?EFaJWTn3+YZ3rVcxc2ty96oL5HV9q3icpRKWbRFfhySm+aHF2Ak/BmyV5E6A?= =?us-ascii?Q?zxuJnOxFZ2BfLU/MJiIOR8C0vhTXpmywj5zso4/XEwg+5/TIFnq9naoJUMAx?= =?us-ascii?Q?NZNKmtwukOYGc9ddRCudC8YyKWUNHNm4dZbyhxS6Uv6jq+gS6Vhrxt2ejK1L?= =?us-ascii?Q?VUNZhXXev0nBfqEFmLfNZCRT/rtEsjeEbY78VjI0BeF4tYFXCG6NlG4Hwovv?= =?us-ascii?Q?TvSUHyXWiTtS/TxIvGFL48ubaqkpyLEYmaPKOXITIdiDTXrFnfIH7OqhQesv?= =?us-ascii?Q?0G2S02vMbuoQQ9zj+kmmQ4KdBOam+ssAoG+Hyq08fYsu7iffRRWFfLPiu+90?= =?us-ascii?Q?rDBazv5O6loA1VGHIf+WRTKgPeoMYkv1x2Z/c4v7AiMrSbNCewUbf2w4tOit?= =?us-ascii?Q?10ccwpskeslG03nhQX//KshIY9l7TYgfDmUqRnrEYop3qRk5OBdLY/XyJBta?= =?us-ascii?Q?lp0iOPa0BpVTaZgoXVPnr9NQmVY5Luw/TdMqniZaxCgaK2uIQZUJUSJUTPE3?= =?us-ascii?Q?k+hh0J5uZpq8ZLhanDJp0ODV0QwvWUGJnfHfN1kO2QTQGZcspe59o4Bqv31B?= =?us-ascii?Q?HYbkwI8sAxi4PSdRtiJTtOfMe+x3e7apu81JU4qmTl6HVoj7o+JroPffGx8z?= =?us-ascii?Q?GRPpvhXZqLyF6BxaVJzk3CJe/AnwhNGuDpnDlZ+6NQ3jigLMj20C5elXNtdm?= =?us-ascii?Q?GcDL4QJZ8GTtsGimcOw5WYYAoztHNFve780XBHyybekTxZWF35ui43rjoIFD?= =?us-ascii?Q?RtFiPwLc7wbqc84SdQlYAVaBhzmyCxyf556yXbA3LM8FjXzOBCQoO/9chM9P?= =?us-ascii?Q?QAJ15eZynB291WTf4heILMJm?= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: BY5PR12MB4324.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 6a4b0cd1-764a-4ca4-75eb-08d904dd856e X-MS-Exchange-CrossTenant-originalarrivaltime: 21 Apr 2021 15:52:52.0168 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: 3FfbWlIQkDT6US13+9P/S8CD07EEm1VN2Xc8yIRWyBUP2HcuJyeXcoYqoMfQHL2NhX4r7ipT9Prv8Y5oN62qDA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY5PR12MB4068 Subject: Re: [dpdk-dev] [PATCH 00/14] Build file updates 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 Sender: "dev" > -----Original Message----- > From: Xueming(Steven) Li > Sent: Wednesday, April 21, 2021 9:02 PM > To: 'Bruce Richardson' > Cc: dev@dpdk.org > Subject: RE: [dpdk-dev] [PATCH 00/14] Build file updates >=20 >=20 > > -----Original Message----- > > From: Bruce Richardson > > Sent: Monday, April 19, 2021 9:06 PM > > To: Xueming(Steven) Li > > Cc: dev@dpdk.org > > Subject: Re: [dpdk-dev] [PATCH 00/14] Build file updates > > > > On Sun, Apr 18, 2021 at 08:45:25AM +0000, Xueming(Steven) Li wrote: > > > Hi Bruce, > > > > > > > -----Original Message----- > > > > From: dev On Behalf Of Bruce Richardson > > > > Sent: Saturday, April 17, 2021 1:05 AM > > > > To: dev@dpdk.org > > > > Cc: Bruce Richardson > > > > Subject: [dpdk-dev] [PATCH 00/14] Build file updates > > > > > > > > This RFC contains 5 changes/updates to the DPDK build and build fil= es. > > > > > > > > The changes in this set are: > > > > 1. Use "continue" keyword, new in 0.49 to shorten and reduce indent= ation levels > > > > in the foreach loops when building library or driver components. > > > > 2. For libraries, drop support for header-only libraries, which was= added just > > > > for the "compat" lib which had a single header, and is now part = of EAL. This > > > > similarly reduces indentation levels and makes the code easier > > > > to follow 3. Since the larger blocks of meson code in our repo is s= eeing massive > > > > whitespace changes, take the opportunity to switch our indentati= on style for > > > > meson files from that of C-files using tabs, to Meson/Python sty= le using > > > > spaces. [More below on this for discussion] 4. Remove the > > > > "librte_" prefix from all our library directories. While as useful > > > > cleanup, the main driver for this was that it simplifies the mat= ching for #5 > > > > below. > > > > 5. Add a "disable_libs" build option to allow the user to optionall= y not build > > > > certain components. Include in this an explicit list of librarie= s which are > > > > "known safe" to disable in the build. For now this is a short li= st of three > > > > libs, all of which are safe because they are not buildable on Fr= eeBSD. More > > > > work is needed to expand this list in future. > > > > > > Great feature, very useful for PMD developer who only focus on some > > > specific class driver, most drivers and libs are not relevant, > > > disable them will speed up build process significantly, this always h= appen when switch release or rebase code. > > > > > > Currently I collected a long disabled driver list for my minimal > > > build, have to update time to time as dpdk community grows quickly. > > > An enable_list might be more efficient here to allow minimal lib/driv= ers for net, vdpa etc.. plus specific pmd driver for NIC on hand. > > > > > > > Managing such a list should not be too much work if wildcards are used > > appropriately. Here is the disable_drivers option I use which just > > enables the necessary bus drivers, as well as intel NIC and rawdev > > drivers (or rather NIC and rawdev drivers whose names start with "i" > > or "e". It does enable a few extra drivers I don't care about, but not > > many!) > > > > "base*/*,bus/[!pv]*,c*/*,event/*,net/[!ie]*,r*/[!i]*,vdpa/*" >=20 > Thanks, wildcards here is a magic :) Just update, seems white list support already there, below wildcards works: -Denable_drivers=3D */mlx5,net/virtio >=20 > > > > /Bruce