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 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 ; 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: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedujedrheelgdduudelucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvufffkfgjfhgggfgtsehtufertddttddvnecuhfhrohhmpefvhhhomhgr shcuofhonhhjrghlohhnuceothhhohhmrghssehmohhnjhgrlhhonhdrnhgvtheqnecugg ftrfgrthhtvghrnhepffdvffejueetleefieeludduuefgteejleevfeekjeefieegheet ffdvkeefgedunecuffhomhgrihhnpeguphgukhdrohhrghenucfkphepjeejrddufeegrd dvtdefrddukeegnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhf rhhomhepthhhohhmrghssehmohhnjhgrlhhonhdrnhgvth 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 4D6D8306467D; Tue, 13 Oct 2020 13:55:27 -0400 (EDT) From: Thomas Monjalon To: Michael Pfeiffer , Olivier Matz , Ferruh Yigit Cc: Wenzhuo Lu , Beilei Xing , Bernard Iremonger , Ziyang Xuan , Xiaoyun Wang , Guoyang Zhou , Keith Wiles , Yong Wang , Maxime Coquelin , Chenbo Xia , Zhihong Wang , dev@dpdk.org Date: Tue, 13 Oct 2020 19:55:25 +0200 Message-ID: <8219707.uq3zTIkvgX@thomas> In-Reply-To: References: <20201012145546.329150-1-michael.pfeiffer@tu-ilmenau.de> 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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 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 > > Signed-off-by: Michael Pfeiffer > > Reviewed-by: Ferruh Yigit > > 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.