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 96FC0A04B5; Fri, 11 Sep 2020 11:56:32 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 0E4611C0CA; Fri, 11 Sep 2020 11:56:32 +0200 (CEST) Received: from wout2-smtp.messagingengine.com (wout2-smtp.messagingengine.com [64.147.123.25]) by dpdk.org (Postfix) with ESMTP id A76501BFCD for ; Fri, 11 Sep 2020 11:56:30 +0200 (CEST) Received: from compute7.internal (compute7.nyi.internal [10.202.2.47]) by mailout.west.internal (Postfix) with ESMTP id 2EC00B45; Fri, 11 Sep 2020 05:56:29 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute7.internal (MEProxy); Fri, 11 Sep 2020 05:56:29 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding:content-type; s=fm2; bh= B7PW7UpFeLfegGUSXVwAMxpoUIoLr+0J+8qpw56yCdo=; b=QGUtBYgI8iLKpCYP hbKIm3LqulGDKBVj/ppFC1mtLBuugxmOQaXDJ7vKClXBygz7YxpHD6PCJ6D6gYyB +A8koM6XeSOZ6TsdgL1tzllK/XMUBbH/TNu6qb2DCp0yLyMS3rMeqHMwdYZf3Snt MTiqWMVaRd3t6NF6Q74SGiLUcO/H0tZX8mWva9lR8h2yvsxs8+i13iJGAlfB+w74 MyHj8Gnf+hnUd+wAjEDKBivsAHWkLuecrVi4JeBu7QMdLtsLz/7cZN21jHUC/Zll IqaglIUr2S5fOmAen+D5Gb9CswEe4WYDTr6xtdyNPXGrCu6Xg2XMdBaBJePBQclN aSx/3w== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm3; bh=B7PW7UpFeLfegGUSXVwAMxpoUIoLr+0J+8qpw56yC do=; b=Xu9+nTTnfuE/jxGqvYDUwEMrJ6DKdbrFiojiYfEWlw4d/l3GdbnoI5V2Y VOjdkRCZwJDY8PaUD4JOhXWRTNbt+dNgmPnbVo9WduocnqNUgtQt5iqt/4q6rKpy wZ0lPxL1tdxGifgUILmjmghe3VIzY2G40/UejRzODao0M2dhxdv9cUhomKw/UORU 76Ckzc18LxX+CjCFk33/mGvnfg0SdgYS3xsATc4PV0lN7hHv+WWNZ9IwkVFlqMyp tikowHwSqUXE2JZOzjspe2p53gnl53pYLdvBvsCLGevg0rLBdRa7wnRsnXxrCbh6 KULDaIViq/LlD281bMuxAErO95HUw== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduiedrudehledgvdefucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvufffkfgjfhgggfgtsehtufertddttddvnecuhfhrohhmpefvhhhomhgr shcuofhonhhjrghlohhnuceothhhohhmrghssehmohhnjhgrlhhonhdrnhgvtheqnecugg ftrfgrthhtvghrnhepudeggfdvfeduffdtfeeglefghfeukefgfffhueejtdetuedtjeeu ieeivdffgeehnecukfhppeejjedrudefgedrvddtfedrudekgeenucevlhhushhtvghruf hiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehthhhomhgrshesmhhonhhjrghl ohhnrdhnvght X-ME-Proxy: Received: from xps.localnet (184.203.134.77.rev.sfr.net [77.134.203.184]) by mail.messagingengine.com (Postfix) with ESMTPA id 1C50C3064683; Fri, 11 Sep 2020 05:56:28 -0400 (EDT) From: Thomas Monjalon To: Bruce Richardson Cc: dev@dpdk.org Date: Fri, 11 Sep 2020 11:56:27 +0200 Message-ID: <6488430.QP8m3t7Ni4@thomas> In-Reply-To: <20200910143609.986696-1-bruce.richardson@intel.com> References: <20200709152047.167730-1-bruce.richardson@intel.com> <20200910143609.986696-1-bruce.richardson@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH v3 0/7] Enhance rawdev APIs 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" Bruce Richardson wrote: > This patchset proposes some internal and externally-visible changes to the > rawdev API, the ABI change of which were previously announced. > > The changes are in two main areas: > * For any APIs which take a void * parameter for driver-specific structs, > > add an additional parameter to provide the struct length. This allows > some runtime type-checking, as well as possible ABI-compatibility support > in the future as structure change generally involve a change in the size > of the structure. > > * Ensure all APIs which can return error values have int type, rather than > > void. Since functions like info_get and queue_default_get can now do some > typechecking, they need to be modified to allow them to return error > codes on failure. > > V3: > - fix doxygen error > - add release note update for changes to public APIs > > V2: > - add additional patch to make start/stop functions optional > - remove deprecation notice once changes applied Applied, thanks