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 6D01BA00C5; Tue, 15 Feb 2022 07:10:49 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 375B240E78; Tue, 15 Feb 2022 07:10:49 +0100 (CET) Received: from linux.microsoft.com (linux.microsoft.com [13.77.154.182]) by mails.dpdk.org (Postfix) with ESMTP id B0CBE40DDA for ; Tue, 15 Feb 2022 07:10:47 +0100 (CET) Received: by linux.microsoft.com (Postfix, from userid 1086) id 0B14020B96F6; Mon, 14 Feb 2022 22:10:47 -0800 (PST) DKIM-Filter: OpenDKIM Filter v2.11.0 linux.microsoft.com 0B14020B96F6 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.microsoft.com; s=default; t=1644905447; bh=DsmswFwuVMsbu2E+7Xd+260D10yZg7Io5WS6I6KY+1c=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=jTpY3H4Q3YzElCpM1Y9zViYGeDedXzEjVZy8htNrZIL/zb1JJNGcWKxpbDGSxz98L N3Mb/JH5Ph04+1Z5nFRRlz0bACW78unABYdOOJ1K+y7NG1WlKWeIh1AmzpiJkVPC4/ 2k52t6yErh1h2RGyryuMqNgt0Vcf1kgzBfe01eMc= Date: Mon, 14 Feb 2022 22:10:47 -0800 From: Tyler Retzlaff To: Thomas Monjalon Cc: dev@dpdk.org, ocardona@microsoft.com, roretzla@microsoft.com, david.marchand@redhat.com, ferruh.yigit@intel.com, bruce.richardson@intel.com Subject: Re: out of tree driver builds broken with C++ Message-ID: <20220215061047.GA30066@linuxonhyperv3.guj3yctzbm1etfxqx2vob5hsef.xx.internal.cloudapp.net> References: <20220214091350.GA2793@linuxonhyperv3.guj3yctzbm1etfxqx2vob5hsef.xx.internal.cloudapp.net> <3450334.eFTFzoEnKi@thomas> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3450334.eFTFzoEnKi@thomas> User-Agent: Mutt/1.5.21 (2010-09-15) 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 Mon, Feb 14, 2022 at 10:22:08AM +0100, Thomas Monjalon wrote: > 14/02/2022 10:13, Tyler Retzlaff: > > while the driver api is "internal" we agreed some time ago that drivers > > could be built external to the dpdk tree. by enabling the meson setup > > option -Denable_driver_sdk=true. > > > > it was agreed that the driver api was internal and would attract no > > binary compatibility support which was fine. this change has now > > imposed a further restriction that out of tree drivers have to be > > authored in C only as non-C++ compatible code will invariably leak into > > the internal structures. > > > > you won't allow us to build C++ drivers in the dpdk tree and it seems > > now you are preventing building of C++ drivers outside of the tree too. > > That's the problem of non-written assumptions, they are unknown or forgotten. > Did we agree to support out-of-tree drivers in C++? > > We really need to make things clear and written in documentation. how / where would you prefer this be documented? thanks