From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <dev-bounces@dpdk.org> Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id CE5EDA04B7; Tue, 13 Oct 2020 19:55:34 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id B412C1DBC8; Tue, 13 Oct 2020 19:55:33 +0200 (CEST) Received: from new1-smtp.messagingengine.com (new1-smtp.messagingengine.com [66.111.4.221]) by dpdk.org (Postfix) with ESMTP id 26E411D941 for <dev@dpdk.org>; Tue, 13 Oct 2020 19:55:32 +0200 (CEST) Received: from compute2.internal (compute2.nyi.internal [10.202.2.42]) by mailnew.nyi.internal (Postfix) with ESMTP id 6DF04580447; Tue, 13 Oct 2020 13:55:30 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute2.internal (MEProxy); Tue, 13 Oct 2020 13:55:30 -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= HkiqdDOL/GNAIeWX1l+TIMqqh/xoPYuoxGZF7Ov6lC0=; b=rxx4qbzoGhpuP0lH KaY98JCJTxddelCac5Ebxg3BpCtPXfjjniD/r5F4Q0ia/9vNFXhUQG3sz5JLytET xD4CLLY6KIcIqP//KGe1Xq4gQx+vRjx3dMQRBvghD06S1TkuaxCAA9lj9EvjZIZB CKHlgH/fT57TsJi8J2z6oGoGN4huSBEVz+//j7YWdmkzEyZvOWli401HX2WBzFTb lvq6i3+dLe9YMJSFohhSNb91mf3BMVtKfDdAh8/8uYueRLEHm3aLkokkecj2M+F8 NKdoTjhT9eN8qP+UZgajbd+REBRAQbZnibLHkiaQg/Mjifc+yXc+v27vEF1rJiL0 c+f1Kg== 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=HkiqdDOL/GNAIeWX1l+TIMqqh/xoPYuoxGZF7Ov6l C0=; b=rXxza0715A3EilVM/RqRlGxQjba2mGEN81eTD623UzIuMZIJ4N4/wm6i5 5FqT2ScrBflEaycrfNDnYMuirWxuOf5MlQvfubKRLa9FthbOlyOeoET8s1jTAFxd cRfAnOwtxkwXzQVeghr/LrNYZn7KHD+UOLgSsbigWRPq//qZLUqSphqOJA/iMybM xWHIeBaAJL5EWPAorHwsGA4wC7l2DdhfQuYaIXQiGM85DPF5ZBt6RpDpANRlSPdr JNmlH/zXIfVr9WKyrztUBPUbTRf1RiEo7Uwy7zMms18ooh2VrgktmatYYCbm+HtC aDQZ8tW2zC3f5KxSfoNaPCox2kmZA== X-ME-Sender: <xms:EOqFXypQTDRe9eLsZ_X3vctdKGAw7ITWZxzfbJUKuKX1eSxQn00zyA> <xme:EOqFXwr6MW-ITC86c4P5Kb7bPuz0vh7hwSn7H_QSi7l18J1mBgm-7V6ENp2uB2iyk kSB38YvK8PW_H5hNw> X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedujedrheelgdduudelucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvufffkfgjfhgggfgtsehtufertddttddvnecuhfhrohhmpefvhhhomhgr shcuofhonhhjrghlohhnuceothhhohhmrghssehmohhnjhgrlhhonhdrnhgvtheqnecugg ftrfgrthhtvghrnhepffdvffejueetleefieeludduuefgteejleevfeekjeefieegheet ffdvkeefgedunecuffhomhgrihhnpeguphgukhdrohhrghenucfkphepjeejrddufeegrd dvtdefrddukeegnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhf rhhomhepthhhohhmrghssehmohhnjhgrlhhonhdrnhgvth X-ME-Proxy: <xmx:EOqFX3PKhGOclv5o6_wKPO1qbTYc72l_EPJAa7oQiLtVN4GgmEOAnA> <xmx:EOqFXx7xVE43tTxat9CFuOCyUtWgn3lt4mwVXYaGx-CzLidF65yBWw> <xmx:EOqFXx5itzL6zW0S6BMat64Dg9GlG8_B2kCECxjey29TsMx9E4xmCQ> <xmx:EuqFX5xiY11UlVwYwuoR1k1Hllm2aYMwRa5lQgm2pH4yiSUy4pIdbQ> Received: from xps.localnet (184.203.134.77.rev.sfr.net [77.134.203.184]) by mail.messagingengine.com (Postfix) with ESMTPA id 4D6D8306467D; Tue, 13 Oct 2020 13:55:27 -0400 (EDT) From: Thomas Monjalon <thomas@monjalon.net> To: Michael Pfeiffer <michael.pfeiffer@tu-ilmenau.de>, Olivier Matz <olivier.matz@6wind.com>, Ferruh Yigit <ferruh.yigit@intel.com> Cc: Wenzhuo Lu <wenzhuo.lu@intel.com>, Beilei Xing <beilei.xing@intel.com>, Bernard Iremonger <bernard.iremonger@intel.com>, Ziyang Xuan <xuanziyang2@huawei.com>, Xiaoyun Wang <cloud.wangxiaoyun@huawei.com>, Guoyang Zhou <zhouguoyang@huawei.com>, Keith Wiles <keith.wiles@intel.com>, Yong Wang <yongwang@vmware.com>, Maxime Coquelin <maxime.coquelin@redhat.com>, Chenbo Xia <chenbo.xia@intel.com>, Zhihong Wang <zhihong.wang@intel.com>, dev@dpdk.org Date: Tue, 13 Oct 2020 19:55:25 +0200 Message-ID: <8219707.uq3zTIkvgX@thomas> In-Reply-To: <fc6964d3-d28f-042e-1f81-c13c4aaded12@intel.com> References: <20201012145546.329150-1-michael.pfeiffer@tu-ilmenau.de> <fc6964d3-d28f-042e-1f81-c13c4aaded12@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH] net: add rte_ipv4_hdr_len() X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions <dev.dpdk.org> List-Unsubscribe: <https://mails.dpdk.org/options/dev>, <mailto:dev-request@dpdk.org?subject=unsubscribe> List-Archive: <http://mails.dpdk.org/archives/dev/> List-Post: <mailto:dev@dpdk.org> List-Help: <mailto:dev-request@dpdk.org?subject=help> List-Subscribe: <https://mails.dpdk.org/listinfo/dev>, <mailto:dev-request@dpdk.org?subject=subscribe> Errors-To: dev-bounces@dpdk.org Sender: "dev" <dev-bounces@dpdk.org> 13/10/2020 19:40, Ferruh Yigit: > On 10/12/2020 3:55 PM, Michael Pfeiffer wrote: > > Add a function to calculate the length of an IPv4 header as suggested > > on the mailing list [1]. Call where appropriate. > > > > [1] https://mails.dpdk.org/archives/dev/2020-October/184471.html > > > > Suggested-by: Thomas Monjalon <thomas@monjalon.net> > > Signed-off-by: Michael Pfeiffer <michael.pfeiffer@tu-ilmenau.de> > > Reviewed-by: Ferruh Yigit <ferruh.yigit@intel.com> > > Applied to dpdk-next-net/main, thanks. > Updated patch title to "net: add function to calculate IPv4 header length" > > > Since you are already on it, a similar function to get the version also can be > useful, if you have time for it. Ah ah, we keep asking more to Michael :) Hope you enjoy the ride Michael, otherwise feel free to say no.