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 2804FA04A4; Mon, 25 May 2020 01:18:19 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id D0FBE1D5C9; Mon, 25 May 2020 01:18:17 +0200 (CEST) Received: from wout4-smtp.messagingengine.com (wout4-smtp.messagingengine.com [64.147.123.20]) by dpdk.org (Postfix) with ESMTP id 2265B1D58B for ; Mon, 25 May 2020 01:18:16 +0200 (CEST) Received: from compute7.internal (compute7.nyi.internal [10.202.2.47]) by mailout.west.internal (Postfix) with ESMTP id 594D0A35; Sun, 24 May 2020 19:18:14 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute7.internal (MEProxy); Sun, 24 May 2020 19:18:15 -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=fm1; bh= 6gwkMqoeG+vhg4RGGFEaObpODftSTScQA3tBGyC/6rs=; b=wEFzOVaKX5NZo22a WIb8ODhwMOSC/Dxb9KK0aThRZhqUEW3OSWQzF4KvHr1wGxiWKBR9OaicOYL1on90 kKxuOSxb75Gf7251zBEcERAVuGo/InPlG7fX4hrgcfiLBcL8IBv8APw8sKDMj5EX NkMnrcQuWMbYYzo/VHvXvBIAFLyM5gcCo4hJ9la2/QnNCy0KgnwR973Z414ZOK1V CIFaEIFKBcXTp76Ob7yz96zk14mYBZawf5QeWTSNjecJwYaLfdTLVMdDbEeBN2Gf 8INkZqF4p5GKg5AgbxC6UKu1oZPyf5yj9/lqpqHpBRnipVrldG/OxE7cLlc7zT0r fg05OQ== 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=fm2; bh=6gwkMqoeG+vhg4RGGFEaObpODftSTScQA3tBGyC/6 rs=; b=WklX70JdaO/T8JehsTIDmZ5ttK3ABNCzedWGo1e+i+zWGb6YMbaFnrquN lm5UWEAVHEFLMJ/Ge2mvl27hfqqIFMa76zNM4RzNyFS2Xe8Ax1tDLyLGzGTF20w6 IRlzQuJ5U8ZGqDDQihrjJQc3tz+BXhZJ/bZ7fQCadk6ZMJHyigIk3KGkJVzYtWA4 /5fNiSbMl0PQSd9139Zw3KN+a2HzvvX7SNhw/oIynbVSjAB/Gs084JpawN1aGXPf jZ1OEMMRqRbFecWTzcEtXbB1XtMf8eN1H9HvTZWqkmQwVumNxTCUPQw0tzfnL+ox t7lVOKYkJUTEZcjjGHkspy16PHYSw== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduhedrudduledgvddtucetufdoteggodetrfdotf 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 8B27B306647F; Sun, 24 May 2020 19:18:11 -0400 (EDT) From: Thomas Monjalon To: Ferruh Yigit Cc: Neil Horman , John McNamara , Marko Kovacevic , dev@dpdk.org, Jerin Jacob Kollanukkaran , David Marchand , Andrew Rybchenko , mdr@ashroe.eu, olivier.matz@6wind.com Date: Mon, 25 May 2020 01:18:10 +0200 Message-ID: <4037653.gGmTCM0MZ2@thomas> In-Reply-To: <20200304095720.859767-1-ferruh.yigit@intel.com> References: <20200225124431.4088444-1-ferruh.yigit@intel.com> <20200304095720.859767-1-ferruh.yigit@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH v3] doc: plan splitting the ethdev ops struct 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" 04/03/2020 10:57, Ferruh Yigit: > For the ABI compatibility it is better to hide internal data structures > from the application as much as possible. But because of some inline > functions 'struct eth_dev_ops' can't be hidden completely. > > Plan is to split the 'struct eth_dev_ops' into two as ones used by > inline functions and ones not used, and hide the second part that not > used by inline functions completely to the application. > > Because of ABI break the work will be done in 20.11 > > Signed-off-by: Ferruh Yigit > --- > +* ethdev: Split the ``struct eth_dev_ops`` struct to hide it as much as possible > + will be done in 20.11. > + Currently the ``struct eth_dev_ops`` struct is accessible by the application > + because some inline functions, like ``rte_eth_tx_descriptor_status()``, > + access the struct directly. > + The struct will be separate in two, the ops used by inline functions will be moved > + next to Rx/Tx burst functions, rest of the ``struct eth_dev_ops`` struct will be > + moved to header file for drivers to hide it from applications. Acked-by: Thomas Monjalon