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 01882A04B1; Sun, 22 Nov 2020 17:11:17 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 6F7EF6CC6; Sun, 22 Nov 2020 17:11:15 +0100 (CET) Received: from wout3-smtp.messagingengine.com (wout3-smtp.messagingengine.com [64.147.123.19]) by dpdk.org (Postfix) with ESMTP id 7A226FFA for ; Sun, 22 Nov 2020 17:11:12 +0100 (CET) Received: from compute2.internal (compute2.nyi.internal [10.202.2.42]) by mailout.west.internal (Postfix) with ESMTP id 181823A6; Sun, 22 Nov 2020 11:11:10 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute2.internal (MEProxy); Sun, 22 Nov 2020 11:11:10 -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=fm2; bh= gUOsAM6BNPdHS+IEUqDcMDByJ5yoKoO7CFewBFWpak8=; b=SOn1gj+wDTdA/roA q/C1NSdre3/oiLwUy0c8p7IbaUuEwDruDNAHiNgpJM/oaAxqEZ89AXRhQGSgS89e JM8YCa9RcZjwmahgkaL/9GBUueeCzOQS2D/fEDVWab/+ugNkm9U2I351EHnwVZp8 OCxNrBFv70EN/kyc3RyU/XCk2uLQ17AZ1hFzX/fm72jp/ATF/sRMccT968u5DADj uewghn1Q0Ru5AqXD8sFFSFFtsF5nE9i+ODj+nvSkdRIN1E3stZC7ErZJNwnACvlI KPSU7a5RYeeGS91hvZwbJON3dqanGvyiV7CmY8J2KajTDOx00au1tYHTs0uqM4s9 9mgYPQ== 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=gUOsAM6BNPdHS+IEUqDcMDByJ5yoKoO7CFewBFWpa k8=; b=AUhl5+HP+t/x+5ygY1lVwP7LYxZJ3zrzb5mJzXhcfo/RiyzTcQ8XgsgBZ ARlWmVKspAUB9Yc+Wok1x1E0pZgC8F2XUFTM8yCkd2BS/bbauK7rS3e6/WoP+vR7 WAFR0e7iwxj+YblR6KV9RG04cxlqar+zuSGivRRDijYeIqJsPnvU5UVrMkcMHgRg Oy77LWhvqwxBnWRUPPIY5uHQHh+0PwZYka0jd4TEm7atA3rR5ngpdfbXt7mXInuk gHlmas3jYUplXv5xo0xGBpfDPe5BRBZV0U9Y84Zf9eeLAeJAp5GDjkzqRu7hs4oE vw+9KnQkfpyyfdgNbX5uJbkaVBwtQ== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedujedrudeggedgkeekucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefhvffufffkjghfggfgtgesthfure dttddtvdenucfhrhhomhepvfhhohhmrghsucfoohhnjhgrlhhonhcuoehthhhomhgrshes mhhonhhjrghlohhnrdhnvghtqeenucggtffrrghtthgvrhhnpedugefgvdefudfftdefge elgffhueekgfffhfeujedtteeutdejueeiiedvffegheenucfkphepjeejrddufeegrddv tdefrddukeegnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrh homhepthhhohhmrghssehmohhnjhgrlhhonhdrnhgvth 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 2AC5A328005A; Sun, 22 Nov 2020 11:11:08 -0500 (EST) From: Thomas Monjalon To: Xiaoyu Min Cc: dev@dpdk.org, ferruh.yigit@intel.com, andrew.rybchenko@oktetlabs.ru, orika@nvidia.com Date: Sun, 22 Nov 2020 17:11:07 +0100 Message-ID: <3576021.m6Flzg5dx7@thomas> In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH 0/5] fix protocol size calculation 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" 16/11/2020 08:55, Xiaoyu Min: > From: Xiaoyu Min > > The rte_flow_item_eth, rte_flow_item_vlan, and rte_flow_item_ipv6 > are refined. The structs do not exactly represent the real protocol > headers any more. > > This serial patchs try to fix all related parts due to the changes. > > Dekel Peled (1): > net/softnic: update headers size calculation > > Xiaoyu Min (4): > net/mlx5: fix protocol size for raw encap judgement > app/flow-perf: fix protocol size for raw encap > net/bnxt: fix protocol size for VXLAN encap copy Applied except the iavf patch (as discussed in the thread): > net/iavf: fix protocol size for virtchnl copy A follow-up is required for iavf PMD, and in general to make things clearer. A proposal is to have rte_net structs as first field of rte_flow items.