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 05A03A04B5; Tue, 27 Oct 2020 23:30:58 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 38B4B2C16; Tue, 27 Oct 2020 23:30:54 +0100 (CET) Received: from new1-smtp.messagingengine.com (new1-smtp.messagingengine.com [66.111.4.221]) by dpdk.org (Postfix) with ESMTP id EA8A42BDB for ; Tue, 27 Oct 2020 23:30:52 +0100 (CET) Received: from compute2.internal (compute2.nyi.internal [10.202.2.42]) by mailnew.nyi.internal (Postfix) with ESMTP id 411255801F3; Tue, 27 Oct 2020 18:30:51 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute2.internal (MEProxy); Tue, 27 Oct 2020 18:30:51 -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= qhcmnqL2+OO7QaGxszKe8Ed2SroZu+MQMvkgHeZc7TI=; b=N7Od/npwCDOr8mVr MEr7Plq+jnXDACADOs5zgry6fqrl8dmpwvQtQ4J2PHdHnmyeLYA84h61fvf24GeT BTaZR9MPPaSDBM8/ojrfb8gfDSUOE+bJIM2YVmBVl7hgZzU/rxQrK0s/+N7Ahr6Y yqYPT393ANcQwTpHLzRHA/6Yne5jLGWIKdHXmJAYvNIjyT7ZLauKO0sQsfg9nvv/ syPxV5OHto0O9zPysP/9+HVyZAt1No85PAZXVAMLmFNk/WCiiVx7gcy5zq0LhUBN 34iLKH29XSEf8AQhNkyPfg7s30TVtNaXwXwfn8ycrHkE4zbpCIdJV/Z8GgjAeoi7 oIjReg== 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=fm1; bh=qhcmnqL2+OO7QaGxszKe8Ed2SroZu+MQMvkgHeZc7 TI=; b=PCe3jMghl367UQvTrW9umqSFN7X0QOTic0h27NaRWiwj29Miyfqj7yth5 ELWXAxxFguQal+lpW8YPVVABJoq/T1fCjmCIIdy0Xc25FVd9tgPIOdxv6SfuUOi/ mBAv3JfElK9pGhTFKVvHmm7OppH9vArUGqEIusYlGcxoiED07AY7wAs1w7nNsadR NNtSwMw7UJ+CWCrt8Fx5A0UQnuplhfI7Fp5Sz8461D7EAUVT+k8GIKBUN1sNus46 4jfhgzR5VEyuaOggamqQkTrgPaeWJcmEQQh7QtUR+2pdeZNnSWSP51FLJFI38InH xX/wptXT1Ka1Loq0s4zZ3DHXzwvGA== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedujedrkeelgdduieduucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvufffkfgjfhgggfgtsehtufertddttddvnecuhfhrohhmpefvhhhomhgr shcuofhonhhjrghlohhnuceothhhohhmrghssehmohhnjhgrlhhonhdrnhgvtheqnecugg ftrfgrthhtvghrnhepvedvledtffevheelvdefieehkedvkeefueffieduudeliedvjeeg geejffffffeknecuffhomhgrihhnpegtohhnfhdrihhnnecukfhppeejjedrudefgedrvd dtfedrudekgeenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhr ohhmpehthhhomhgrshesmhhonhhjrghlohhnrdhnvght 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 4335E306467E; Tue, 27 Oct 2020 18:30:49 -0400 (EDT) From: Thomas Monjalon To: Ed Czeck Cc: dev@dpdk.org, ferruh.yigit@intel.com, david.marchand@redhat.com, bruce.richardson@intel.com, olivier.matz@6wind.com, andrew.rybchenko@oktetlabs.ru, akhil.goyal@nxp.com, Shepard Siegel , John Miller , Thomas Monjalon Date: Tue, 27 Oct 2020 23:30:48 +0100 Message-ID: <6076277.HkzbZ3OFWr@thomas> In-Reply-To: <20201027210115.2529025-8-thomas@monjalon.net> References: <20201026052105.1561859-1-thomas@monjalon.net> <20201027210115.2529025-1-thomas@monjalon.net> <20201027210115.2529025-8-thomas@monjalon.net> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH v3 07/15] net/ark: switch user data to dynamic mbuf field 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" 27/10/2020 22:01, Thomas Monjalon: > The second field of metadata is reserved for user data > which was using a deprecated mbuf field. > It is moved to a dynamic field in order to allow removal of udata64. > > Signed-off-by: Thomas Monjalon > --- > doc/api/doxy-api-index.md | 1 + > doc/api/doxy-api.conf.in | 1 + > drivers/net/ark/ark_ethdev.c | 18 +++++++++++ > drivers/net/ark/ark_ethdev_rx.c | 3 +- > drivers/net/ark/ark_ethdev_tx.c | 3 +- > drivers/net/ark/rte_pmd_ark.h | 56 +++++++++++++++++++++++++++++++++ > 6 files changed, 80 insertions(+), 2 deletions(-) Missing changes (for future v4): --- a/drivers/net/ark/rte_pmd_ark.h +++ b/drivers/net/ark/rte_pmd_ark.h @@ -43,6 +43,7 @@ rte_pmd_ark_mbuf_userdata_get(const struct rte_mbuf *mbuf) * Write user data to mbuf. * * @param mbuf Structure to write into. + * @param data User data. */ __rte_experimental static inline void --- a/drivers/net/ark/version.map +++ b/drivers/net/ark/version.map @@ -1,3 +1,7 @@ DPDK_21 { + global: + + rte_pmd_ark_userdata_dynfield_offset; + local: *; };