From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from out3-smtp.messagingengine.com (out3-smtp.messagingengine.com [66.111.4.27]) by dpdk.org (Postfix) with ESMTP id 047A81B10D for ; Tue, 15 Jan 2019 02:35:10 +0100 (CET) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id EECC4239CA; Mon, 14 Jan 2019 20:35:08 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute1.internal (MEProxy); Mon, 14 Jan 2019 20:35:08 -0500 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=mesmtp; bh=aLIaWz6Z7HyPaMWyRDq44qkxiTKtr4d+RWuDwOu/D+c=; b=qe/QWLvUdxEn vnQu+ZVQAq7tvLOEXB3k9MrJT/W1nnPjcs5orhUQgnvq+unkZOnlU9YfFdrUv9VN T4JY+z75XovNCGTxicV/yj7HZmN8nq0WcYVPWsiKGEGXmi7xqLkDfZd73Zvsi22t NdRUpQHPtM5nW3SAmrEKRVQuJmb/ivo= 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=aLIaWz6Z7HyPaMWyRDq44qkxiTKtr4d+RWuDwOu/D +c=; b=eVI81bdVTg/rxWGR7fdVf+sgPt7dJYmJIT4Xk5yTMupAmN3dqWQIC4gEw DbE34Q64qpjglrGEfmYD7DMwfyDsvhqnZF0suOvlPgne/OkszEASzO+wbSSqJEPC /j2GpFqKCL7T2ghArV8pTMBOP1iKL2IAQAGv+fpclD9XxJ+qqeTHA2UOsHprNcim 80d9EL9Yec7u3mhvtHBlSIbjGU4+WWtSFoyMby5vt3n/WG+SLY64srf5jWW9GYnp UDbQHriD6WZQCv783uKMrIhcnA5jkRoaekAbh0H3APzaO2KXrP4pWaGSj4AgjSJj 8QAX8w78GypJoiiLpvSGkUa0fYB+Q== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedtledrgedvgdefhecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfhuthenuceurghilhhouhhtmecufedt tdenucesvcftvggtihhpihgvnhhtshculddquddttddmnecujfgurhephffvufffkfgjfh gggfgtsehtufertddttddvnecuhfhrohhmpefvhhhomhgrshcuofhonhhjrghlohhnuceo thhhohhmrghssehmohhnjhgrlhhonhdrnhgvtheqnecukfhppeejjedrudefgedrvddtfe drudekgeenucfrrghrrghmpehmrghilhhfrhhomhepthhhohhmrghssehmohhnjhgrlhho nhdrnhgvthenucevlhhushhtvghrufhiiigvpedt 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 19BDD100B8; Mon, 14 Jan 2019 20:35:07 -0500 (EST) From: Thomas Monjalon To: Yongseok Koh Cc: dev@dpdk.org, olivier.matz@6wind.com, shahafs@mellanox.com, arybchenko@solarflare.com, roszenrami@gmail.com, david.marchand@redhat.com Date: Tue, 15 Jan 2019 02:35:06 +0100 Message-ID: <3801715.Y6TRi60XTC@xps> In-Reply-To: <20190114211622.6900-1-yskoh@mellanox.com> References: <20190109085426.39965-1-yskoh@mellanox.com> <20190114211622.6900-1-yskoh@mellanox.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH v5 1/2] mbuf: add function returning buffer address 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: , X-List-Received-Date: Tue, 15 Jan 2019 01:35:10 -0000 14/01/2019 22:16, Yongseok Koh: > This patch introduces two new functions - rte_mbuf_buf_addr() and > rte_mbuf_data_addr_default(). > > rte_mbuf_buf_addr() reutrns the buffer address of given mbuf which comes > after mbuf structure and private data. > > rte_mbuf_data_addr_default() returns the default address of mbuf data > taking the headroom into account. > > Signed-off-by: Yongseok Koh > Acked-by: Olivier Matz > Reviewed-by: David Marchand Series applied, thanks