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 DD214A051C; Sat, 18 Jan 2020 01:10:12 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 1463A2B83; Sat, 18 Jan 2020 01:10:12 +0100 (CET) Received: from EUR05-AM6-obe.outbound.protection.outlook.com (mail-am6eur05on2084.outbound.protection.outlook.com [40.107.22.84]) by dpdk.org (Postfix) with ESMTP id 239AA2A6C; Sat, 18 Jan 2020 01:10:10 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector2-armh-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=EvzecxwePx5kB5qn3SDP/lppKWnUGyLOhGgybSmbeWA=; b=Ti6/UePT0O8vGaVKpyLoK5aXxnP+FujkThPsRBOdEOlMGqd7oriTwsX9Did/cGdBi/0JD1PUk75bbXQk0L6VR5hRcqJK4uG3qUiFUr74j3Y+cxIezc+MnkMQBatq/v7bDjx6zYAw56tycOqN7sMjzuRpFnEkyCVq0b6fgLhSAPI= Received: from HE1PR08CA0074.eurprd08.prod.outlook.com (2603:10a6:7:2a::45) by AM4PR08MB2818.eurprd08.prod.outlook.com (2603:10a6:205:5::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2623.12; Sat, 18 Jan 2020 00:10:09 +0000 Received: from VE1EUR03FT037.eop-EUR03.prod.protection.outlook.com (2a01:111:f400:7e09::202) by HE1PR08CA0074.outlook.office365.com (2603:10a6:7:2a::45) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2644.18 via Frontend Transport; Sat, 18 Jan 2020 00:10:09 +0000 Authentication-Results: spf=pass (sender IP is 63.35.35.123) smtp.mailfrom=arm.com; dpdk.org; dkim=pass (signature was verified) header.d=armh.onmicrosoft.com;dpdk.org; dmarc=bestguesspass action=none header.from=arm.com; Received-SPF: Pass (protection.outlook.com: domain of arm.com designates 63.35.35.123 as permitted sender) receiver=protection.outlook.com; client-ip=63.35.35.123; helo=64aa7808-outbound-1.mta.getcheckrecipient.com; Received: from 64aa7808-outbound-1.mta.getcheckrecipient.com (63.35.35.123) by VE1EUR03FT037.mail.protection.outlook.com (10.152.19.70) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2602.11 via Frontend Transport; Sat, 18 Jan 2020 00:10:09 +0000 Received: ("Tessian outbound e09e55c05044:v40"); Sat, 18 Jan 2020 00:10:09 +0000 X-CR-MTA-TID: 64aa7808 Received: from 2161884e847c.1 by 64aa7808-outbound-1.mta.getcheckrecipient.com id A71EDEB3-EFE8-47CD-8E03-BBAFF15DF148.1; Sat, 18 Jan 2020 00:10:03 +0000 Received: from EUR04-VI1-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id 2161884e847c.1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Sat, 18 Jan 2020 00:10:03 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=jAmxNujS4F0jghn4ioQpBNflTieiAku118ROBxCSAvYeIU7Kt5R9Q0dhGuufTn9p3LwVUTPQ7mTe2PSJ05VNYBDGCEZVSKZ0jSKD6z4dLQVQEVVWaHEjSRcvbupo2W2x+q5YsQKWhOTbkt/kj1Lt5i2UPqQ+SjZkb45qAlfhpyrG+rMx3IB19GIC8A1zIpey1xiZhBzxvS2cE78RV6f3XXelWFiBINOqXUiOdMH5K9PSZ6Bmnhw9qNAJI5M9Z/0u70tFj6aE86Kv0k2E8l1Fov3twepl9G1NdQNZn21D+BMxmoiU2X87e3AWzvT1aZ5yx1w3YE3svu46fIIQqDVeRQ== 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=EvzecxwePx5kB5qn3SDP/lppKWnUGyLOhGgybSmbeWA=; b=fgkuL37I+PGDKPCNRAwR1Siuo55XdDKCnUIwA9ohtYP9JkbmL5QCUB5eTH4/wGoFpklQ2d0/dYbKH5MJoYFmt/uD5T+NtjpSS8UHIJljRwaEevnprZ2NrIXARH2SQB1x55/3DEv4vrRwjKEhvu1Ikx6WjyIWTEb2s8iHK3q6v87XY+m+r9S23dNCFh/jdH2yeOy/Sthf4Zlza7u8DyijBV1rV61kwmMPHaE4o5R3CikatPpa4fOMBZvAlK6mgzeej5Q0b3PRjfgh/0fi1peg+d4NJEOM4iwyV/l6k1LhlpDZMYNSOoguxtQbxN/iptjFFj8v40XrVJjs4AjF9NrEXg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=arm.com; dmarc=pass action=none header.from=arm.com; dkim=pass header.d=arm.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector2-armh-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=EvzecxwePx5kB5qn3SDP/lppKWnUGyLOhGgybSmbeWA=; b=Ti6/UePT0O8vGaVKpyLoK5aXxnP+FujkThPsRBOdEOlMGqd7oriTwsX9Did/cGdBi/0JD1PUk75bbXQk0L6VR5hRcqJK4uG3qUiFUr74j3Y+cxIezc+MnkMQBatq/v7bDjx6zYAw56tycOqN7sMjzuRpFnEkyCVq0b6fgLhSAPI= Received: from VE1PR08MB5149.eurprd08.prod.outlook.com (20.179.30.27) by VE1PR08MB4990.eurprd08.prod.outlook.com (10.255.158.216) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2644.19; Sat, 18 Jan 2020 00:10:01 +0000 Received: from VE1PR08MB5149.eurprd08.prod.outlook.com ([fe80::29eb:a1be:8f8f:fae2]) by VE1PR08MB5149.eurprd08.prod.outlook.com ([fe80::29eb:a1be:8f8f:fae2%7]) with mapi id 15.20.2644.023; Sat, 18 Jan 2020 00:10:01 +0000 From: Honnappa Nagarahalli To: "Richardson, Bruce" , "Yigit, Ferruh" , "web@dpdk.org" , dev CC: "thomas@monjalon.net" , David Marchand , Honnappa Nagarahalli , nd , nd Thread-Topic: [dpdk-web] [PATCH] add build system update as nice to have Thread-Index: AQHVzTi8kevjvUw/qEq5u3wtbsPVpqfu2bmAgACxAoA= Date: Sat, 18 Jan 2020 00:10:01 +0000 Message-ID: References: <20200117131913.72621-1-ferruh.yigit@intel.com> <59AF69C657FD0841A61C55336867B5B097556730@IRSMSX103.ger.corp.intel.com> In-Reply-To: <59AF69C657FD0841A61C55336867B5B097556730@IRSMSX103.ger.corp.intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ts-tracking-id: 87aaa5a9-5837-4ae3-9c4a-8ead463e149d.0 x-checkrecipientchecked: true Authentication-Results-Original: spf=none (sender IP is ) smtp.mailfrom=Honnappa.Nagarahalli@arm.com; x-originating-ip: [217.140.111.135] x-ms-publictraffictype: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: 78bd7f05-9548-4058-b1ad-08d79baac7b5 X-MS-TrafficTypeDiagnostic: VE1PR08MB4990:|VE1PR08MB4990:|AM4PR08MB2818: x-ld-processed: f34e5979-57d9-4aaa-ad4d-b122a662184d,ExtAddr x-ms-exchange-transport-forked: True X-Microsoft-Antispam-PRVS: x-checkrecipientrouted: true nodisclaimer: True x-ms-oob-tlc-oobclassifiers: OLM:10000;OLM:10000; x-forefront-prvs: 0286D7B531 X-Forefront-Antispam-Report-Untrusted: SFV:NSPM; SFS:(10009020)(4636009)(366004)(376002)(39860400002)(136003)(396003)(346002)(199004)(189003)(2906002)(4326008)(478600001)(76116006)(66446008)(66556008)(66946007)(316002)(66476007)(86362001)(110136005)(64756008)(54906003)(9686003)(5660300002)(7696005)(55016002)(71200400001)(33656002)(186003)(52536014)(6506007)(26005)(8676002)(8936002)(53546011)(81156014)(81166006)(15650500001); DIR:OUT; SFP:1101; SCL:1; SRVR:VE1PR08MB4990; H:VE1PR08MB5149.eurprd08.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; received-spf: None (protection.outlook.com: arm.com does not designate permitted sender hosts) X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam-Untrusted: BCL:0; X-Microsoft-Antispam-Message-Info-Original: TOgc0aFzNdD4W1H1jcBN0Z7cjmFYElVgGIrDtGFaGKWFx/Qi9lrb+AVBvfVU21STf0oDl7cIBONLXGtBsRdmpYC7gPRcwPh4gEorA/aYkgDaicVHj6JvGNwuMYQVsi4jYu2Q2vqn73I5WepmhmmCB8l21OQqcVU7mH8sCBAxlxtMwpIhk9QcXi4KpENExsq3jIosdLQuOWbFQgJrQ4Y07th+Rn1BH83w2ft9yJjkXw4JQRUhbmJQk7JoxQkpYbVcZ2pSJirjtHdYO4v9wrvnGAi/rQAfaRU3ZtLZhE9KbuNSEIdrwvk0cHrzxjifBEnjFgqYs5f8xeztoC0iaJEnkNG0FEDeJco1qz4OC+nR2YALHardgZ2EpkNleZoF8vvN6BYbvWVR0zOo0frhc2V0KrRpugZgJTRMspcFBLaA3DzbE/74LHYFhtCX38QIZs4E Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-Transport-CrossTenantHeadersStamped: VE1PR08MB4990 Original-Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Honnappa.Nagarahalli@arm.com; X-EOPAttributedMessage: 0 X-MS-Exchange-Transport-CrossTenantHeadersStripped: VE1EUR03FT037.eop-EUR03.prod.protection.outlook.com X-Forefront-Antispam-Report: CIP:63.35.35.123; IPV:CAL; SCL:-1; CTRY:IE; EFV:NLI; SFV:NSPM; SFS:(10009020)(4636009)(136003)(396003)(346002)(376002)(39860400002)(189003)(199004)(15650500001)(336012)(81156014)(356004)(4326008)(81166006)(36906005)(70586007)(316002)(450100002)(53546011)(6506007)(54906003)(86362001)(7696005)(26005)(8676002)(9686003)(33656002)(70206006)(8936002)(186003)(55016002)(478600001)(2906002)(5660300002)(110136005)(52536014)(26826003); DIR:OUT; SFP:1101; SCL:1; SRVR:AM4PR08MB2818; H:64aa7808-outbound-1.mta.getcheckrecipient.com; FPR:; SPF:Pass; LANG:en; PTR:ec2-63-35-35-123.eu-west-1.compute.amazonaws.com; MX:1; A:1; X-MS-Office365-Filtering-Correlation-Id-Prvs: dace01af-885b-43d0-9511-08d79baac2e8 X-Forefront-PRVS: 0286D7B531 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: gSyB+sFOdQV1U7dgNY0B6gz4mIlOhaH/qHDgpnIXxC59C8a94R2TH9qw8UcabJHZeVB3d9pqukNXHWwySctiBjGjBGSg4Vsr3ZgnZ1MNpEdXYQ0CuJl3PVTJ6KbUvgfgMRzBlT2wg8/5FfFYzJuDp/dET8giejY9AP2yNKwqAwcYulhXjhj8jUpqUrwhcLPzJmczjELc7UsmO4xz2gu9/WXOswKQDb56BeRi7KPNUK6R1Rd5tOKSBWghUpWpRftW7Cq1/kD7SfJ8L3eQxm8LhHZmxtcJL+bZ/+vf0oT1+Cj6E/xr4PCYWiJdvaL8LxqJC6ykKxqHkbwzAlFq46CjOmzYyTOanwhr2pP0gMV1rPBGgdWonwzFAljaybW1Vtz9ZbPX3PRWov/d+kHj7qIDAaI1++MRQ9wLLjP3RyDFZFuhc1bniIUG4C21cXoGZxXY X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 18 Jan 2020 00:10:09.1942 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 78bd7f05-9548-4058-b1ad-08d79baac7b5 X-MS-Exchange-CrossTenant-Id: f34e5979-57d9-4aaa-ad4d-b122a662184d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=f34e5979-57d9-4aaa-ad4d-b122a662184d; Ip=[63.35.35.123]; Helo=[64aa7808-outbound-1.mta.getcheckrecipient.com] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM4PR08MB2818 Subject: Re: [dpdk-dev] [dpdk-web] [PATCH] add build system update as nice to have 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" I think this is a good feature to have. >=20 > 2 thoughts on this, and adding dev list to discussion. >=20 > 1) This would only apply to make builds, I think. Any internal headers sh= ould > not be passed to the "headers =3D " line in meson which tracks headers fo= r > installation only (all headers are found at build time in their original = source > locations, not by being copied to a central location, so internal-only he= aders > need no action). > 2) Not having some of these headers precludes the development of other > out-of-tree drivers without the full DPDK source tree. This is probably n= ot a > major concern, but is there a use-case where we want to allow people to > rebuild their own private drivers just using an installed DPDK instance? = Based > on that, I see three categories - regular public headers, headers for dri= ver > APIs (maybe for a dev package), and purely internal headers. I cannot think of any advantage of developing out of tree drivers with an i= nstalled DPDK instance. Do we need to do ABI for driver API headers? I hope not. >=20 > Regards, > /Bruce >=20 > > -----Original Message----- > > From: web On Behalf Of Ferruh Yigit > > Sent: Friday, January 17, 2020 1:19 PM > > To: web@dpdk.org > > Cc: Thomas Monjalon ; David Marchand > > > > Subject: [dpdk-web] [PATCH] add build system update as nice to have > > > > Some headers in DPDK needs to be shared between various libraries, > > these are treated as public header by build system and put into same > > folder, other libraries can consume the header from this folder. > > But this cause a side affect that internal headers exposed to the > > application. > > > > A simple sample of this is 'rte_cryptodev_pmd.h', it is provided by > > 'cryptodev' library and used by crypto PMDs, but this headers > > shouldn't be used by applications. > > > > A solution can be using two different interim folders, one for public > > headers and other for DPDK wide headers. DPDK components can look both > > folders but only ones in the public header folder will be installed to > > system folders. > > > > Cc: David Marchand > > > > Signed-off-by: Ferruh Yigit > > --- > > content/roadmap/_index.md | 1 + > > 1 file changed, 1 insertion(+) > > > > diff --git a/content/roadmap/_index.md b/content/roadmap/_index.md > > index 6cb2e68..ea920bb 100644 > > --- a/content/roadmap/_index.md > > +++ b/content/roadmap/_index.md > > @@ -49,6 +49,7 @@ This list is obviously neither complete nor guarantee= d. > > - default configuration from files > > - generic white/blacklisting > > - libedit integration > > +- don't expose DPDK wide header to public, like rte_cryptodev_pmd.h > > > > ### Cycle model {#cycle} > > ---- > > -- > > 2.24.1