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 B0DF2A0C52; Wed, 13 Oct 2021 19:56:35 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 93FCE4118D; Wed, 13 Oct 2021 19:56:35 +0200 (CEST) Received: from mga06.intel.com (mga06.intel.com [134.134.136.31]) by mails.dpdk.org (Postfix) with ESMTP id DE78741140 for ; Wed, 13 Oct 2021 19:56:33 +0200 (CEST) X-IronPort-AV: E=McAfee;i="6200,9189,10136"; a="288365070" X-IronPort-AV: E=Sophos;i="5.85,371,1624345200"; d="scan'208";a="288365070" Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 13 Oct 2021 10:56:30 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.85,371,1624345200"; d="scan'208";a="626453119" Received: from orsmsx605.amr.corp.intel.com ([10.22.229.18]) by fmsmga001.fm.intel.com with ESMTP; 13 Oct 2021 10:56:25 -0700 Received: from orsmsx612.amr.corp.intel.com (10.22.229.25) by ORSMSX605.amr.corp.intel.com (10.22.229.18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.12; Wed, 13 Oct 2021 10:56:25 -0700 Received: from orsmsx601.amr.corp.intel.com (10.22.229.14) by ORSMSX612.amr.corp.intel.com (10.22.229.25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.12; Wed, 13 Oct 2021 10:56:24 -0700 Received: from ORSEDG601.ED.cps.intel.com (10.7.248.6) 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.2242.12 via Frontend Transport; Wed, 13 Oct 2021 10:56:24 -0700 Received: from NAM10-MW2-obe.outbound.protection.outlook.com (104.47.55.109) by edgegateway.intel.com (134.134.137.102) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2242.12; Wed, 13 Oct 2021 10:56:24 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=nZt3PFACvN5D9Si2M/PBB4c52V2nLvv0cN/il4vAPSwMSUPxq2S7Meeh+pu+V99k8LWfr9BrciQZGTy/uKMI38xVoNp9Ln4CuVUyFtq4PKjZynAkzidw9zRw7InGPhNu0yikYog/0QVS4UESuKQNMfngEodbI2p0F5IVfDWKSha55YEUagt90Tqm6MvMZdGPRWlUnK6kov18oDyh/MdCy1uHO6EbsrMyqLynitkkvvjfuegNc6fyYddoJK87ya7DN2fsStwHG9G1hP8lwSU/OVgVTFBWLUN8gMWTSwVT6EhY9jEDjf0qyi7f6aKNpggyeDayD4k9hSc8JZ75qiO+ng== 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=me4gTVcgWGgA2RFWjgqN+VZl5nnoPAXyQToSIhpFT90=; b=Tzt6bhvtLENhh4DIdv+ZzZLFpxrs3dT8wAoJE7V9VF4UgWbXAOaHTkFNtjp6j/agjGdt7SXPU9YhuXCr0FiuWZlCz7mK5IH45ncUGtFeo4qtjiHl9OycpU1KmQlsQiILQ4Ahnnh6Hm3pZLaeuJJ0okqu4o5AOSy52O71E5SQdSCuc4BFYVHeuv2YKIEfmbimWY1lPEEGfP4xQ41jld6DXlWRdrDns1EE9Ib4sWlv9tpPQGcDFGlotlnCqZNVNj53w9Vu82qmh3BzYHB8BZ+yc40USHRuObHLKn8no5bOaVqWwflEdRtk2HhAh0RnhixMCukMUoOC0sO9pxcHo1KfYw== 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=me4gTVcgWGgA2RFWjgqN+VZl5nnoPAXyQToSIhpFT90=; b=WJF/xtDMuQrlVNp5VSYWByy7Q/vFISsB5TZwCALW9rY5MwIzdfgN/eNnd51vEouN32YJElutaEs3NArlh/5D2jqhc8Oj+ZUwWvDMZ8liDLj7Qi7VdtBfarpNMx6BDK+uoBcmn5+U2oE2QFGuH++hwWX3MtUoWP/nnPoOlQhXt1c= Received: from BYAPR11MB2824.namprd11.prod.outlook.com (2603:10b6:a02:c3::12) by BY5PR11MB4165.namprd11.prod.outlook.com (2603:10b6:a03:18c::26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4608.16; Wed, 13 Oct 2021 17:56:24 +0000 Received: from BYAPR11MB2824.namprd11.prod.outlook.com ([fe80::6cad:5634:90:5abe]) by BYAPR11MB2824.namprd11.prod.outlook.com ([fe80::6cad:5634:90:5abe%7]) with mapi id 15.20.4587.030; Wed, 13 Oct 2021 17:56:24 +0000 From: "Walker, Benjamin" To: Thomas Monjalon , "Harris, James R" CC: "Liu, Changpeng" , "Xia, Chenbo" , David Marchand , "dev@dpdk.org" , Aaron Conole , "Zawadzki, Tomasz" Thread-Topic: [dpdk-dev] [PATCH v2 0/7] Removal of PCI bus ABIs Thread-Index: AQHXrDZksuKvUde0qk+BqmyPIjP3ZKu6sYeAgAGk/QCABpsPAIAAJr2AgAJjqQCAA0NhAIAADruAgAAKMwCABKoygIAAY5cAgADDwQCAAGyngIAAoURwgAAh7QCAAAd2YIAALK0AgAE1bzA= Date: Wed, 13 Oct 2021 17:56:23 +0000 Message-ID: References: <20210910022402.26620-1-chenbo.xia@intel.com> <5522719.EOI0ZVpCj1@thomas> <2268633.u4cMhumtpX@thomas> In-Reply-To: <2268633.u4cMhumtpX@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.6.200.16 authentication-results: monjalon.net; dkim=none (message not signed) header.d=none;monjalon.net; dmarc=none action=none header.from=intel.com; x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: f0e86096-d0d7-41fd-9eda-08d98e72c57e x-ms-traffictypediagnostic: BY5PR11MB4165: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:9508; x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: M0G9g4pUwZnkxADTr39vD28FLobkhueuDvdR4IUUufkIiT4WTJG1lvKmwEPI06ztM4y1LD+gz0f+aPTo5j/09Yen7Ag2iO8U2DHhH2yP0fbDPMTTickMXoCi1m/VsSIS0SuizqKslJ6cX98MrteN6xgwGadYn+CM747SLmpMpTorMFh7uS87LATuRmL3+NdvJWLd9upuup//pGwpqtnIJZz4SUFgB0+U7Ff65PFXSa05sngMY9Bhog2u6kCRQ/Ha0Ajt0KycwXDxFig36T1L/tCl5OEkTIu/7ozkJeqK0WWurxpY8/SmFIz9ZaGloXXON7ce5aaIjjnSXHIQqaDXEepvShzKevmD/sgs+azDNKYZo1vEJPd7FbY7Dlh1Zw99Vdffppahvr5u5XcZSMEpAGH1SPc/Jh3BscbuJiCkcatVfBt+E/df0yIpkeymhvChuvC9Zz+JUU3gf8eB+okO5SgcgDrKlV8wyN7OludEMf7uIyLIz2JOAhh1tVK5U2TYCF5s/GYrllzDGsrxYbcCUx2P9muqXyAjzwIvIF4N4CAHBxI6U0m7uFr+l2/v7DZsqrviHWmsmvu3I3sJ53Rs9JryiajinifnPyf7sX7Vmh1TAvQ6KrsDLXMNJttUjMFRNihAPKh+qvuaaDggy8Tk3joayg9zFL9OuwOf9x9yIVPu/6kodz4kVOgfHkyhW/ou4BuE6GmbHHICPjDP6WV8tw== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:BYAPR11MB2824.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(366004)(33656002)(8676002)(4326008)(6636002)(82960400001)(83380400001)(64756008)(66556008)(71200400001)(5660300002)(66446008)(54906003)(508600001)(110136005)(316002)(2906002)(38100700002)(122000001)(7696005)(9686003)(52536014)(8936002)(26005)(186003)(66946007)(107886003)(76116006)(66476007)(6506007)(38070700005)(86362001)(55016002); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?c6MyZKtNJ4KmFi1V/Y/8D6rnETXSgHksFrIpBUbTDCtpPxFQ6OrPSuZ3dNOe?= =?us-ascii?Q?hrGFkH7bsH3/kcehSf4w416lisioqtrEJSaW09WYraLkX/hi9NffEXMpbIZn?= =?us-ascii?Q?I6CrYyPFdoX8KtUPX09KtN4V8gfqHvVxibuoSbVjsRFfcFFZnWIeTpMWhUqE?= =?us-ascii?Q?Ii98Y/6elfSOU4PVOP/WSM5+hDjXJQNyh3wp6ZxdJOCZ5xTG0AHhfUWwJPtq?= =?us-ascii?Q?0ZSFDhk0Nmq2reJ5mNLLFmrvfz6JigQGVg/YjxKLKOD515ZFeYuTPGfrbgbY?= =?us-ascii?Q?OpzDgHMSEbo0dcGKCVglxXts8GDeEVQ4w2prFKaIFWO78dhc1bkBEUS6XNmI?= =?us-ascii?Q?FzMSrhGmyfVbr0JzqCQW1ginDnQGa+QPFI5R1mGVbS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hl9ArkGBNqVPboUj1l2z5rr5yJYcpnxKOEKyF?= =?us-ascii?Q?Ndspf357aUVgPWnOj5Y+kO/S?= 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: BYAPR11MB2824.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: f0e86096-d0d7-41fd-9eda-08d98e72c57e X-MS-Exchange-CrossTenant-originalarrivaltime: 13 Oct 2021 17:56:23.8162 (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: zN1PkfhwAKDjPlqHlLUriufDhUXPPN3iXSNm1pdspd31N+xx+/DYBKlBdfAsqMeN0bhUOYhmrQ8JEMPy2Ajk6Fk6yYToX0Tf75hHWUhUDbw= X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY5PR11MB4165 X-OriginatorOrg: intel.com Subject: Re: [dpdk-dev] [PATCH v2 0/7] Removal of PCI bus ABIs 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" > From: Thomas Monjalon >=20 > In order to be perfectly clear, all the changes done around this option > enable_driver_sdk share the goal of tidying stuff in DPDK so that ABI bec= omes > better manageable. > I think that nobody want to annoy the SPDK project. > I understand that the changes effectively add troubles, and I am sorry ab= out > that. If SPDK and other projects can manage with this change, good. > If there is a real blocker, we should discuss what are the options. >=20 > Thanks for your understanding I completely understand the desire to make the ABI manageable. If I were in= your shoes, I'd be doing the same exact thing. What I don't currently unde= rstand is the motivation behind this enable_driver_sdk option. My guess is = that it's one of two things. \1 ABI manageability: You say that's the purpose above, and that was my ini= tial assumption. But wouldn't that necessarily mean, over time, no longer c= onsidering the symbols that were defined by the header files as part of the= stable ABI? If you still consider these symbols as part of the ABI in shar= ed library builds, then the enable_driver_sdk option does absolutely nothin= g to improve the ABI situation, so why bother to have it at all? We can't h= ave packaged SPDK relying on symbols in a packaged DPDK that are not part o= f the official ABI. \2 Not supporting out-of-tree drivers: Another option is that you just don'= t want people writing out of tree drivers. You can't just drop it outright = because people already do it, but you'd like to not support it for shared l= ibrary builds at least. So I'd like to really understand which of these two motivated the enable_dr= iver_sdk option . Maybe it's not even one of the two above. If it is #1, th= en I think maybe we can work with DPDK to define a very small set of out-of= -tree driver APIs/ABIs that need to continue to exist in the shared librari= es by default. I do think SPDK needs only a very small number. If it's #2, = then that's the entire SPDK use case and I'd ask you to reconsider the dire= ction. Thanks, Ben