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 CDB0CA04DB;
	Tue, 24 Nov 2020 22:58:39 +0100 (CET)
Received: from [92.243.14.124] (localhost [127.0.0.1])
	by dpdk.org (Postfix) with ESMTP id A9E96C932;
	Tue, 24 Nov 2020 22:58:38 +0100 (CET)
Received: from out1-smtp.messagingengine.com (out1-smtp.messagingengine.com
 [66.111.4.25]) by dpdk.org (Postfix) with ESMTP id 16D04C92E
 for <dev@dpdk.org>; Tue, 24 Nov 2020 22:58:36 +0100 (CET)
Received: from compute2.internal (compute2.nyi.internal [10.202.2.42])
 by mailout.nyi.internal (Postfix) with ESMTP id B97275C019B;
 Tue, 24 Nov 2020 16:58:34 -0500 (EST)
Received: from mailfrontend1 ([10.202.2.162])
 by compute2.internal (MEProxy); Tue, 24 Nov 2020 16:58:34 -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=
 wGXzXJpj1RGo4pggdBhTFBjBOTxg0FnX3ek1CyvVxiA=; b=AQhM69x85dHKF27Q
 5CUQW15X8/Bm7tB/IrZNGbhN2fd3+F1dVXje5DIeJWOIqyCH2sOjdci7DRONtLzn
 C1Ygv07ql+sIqzWRPZvHDDUKzftj9fd0PHzpLarVKSZpP7/bgJvqcWLwmeGkfpkC
 2Hqko3F1y7AlOT4KuolbR1EFobMNc0aZGoy2Cz4jD5xPfsL2/DYpyHJ+MMd8KOXF
 QESIjBam+/uG2XTR5+FuS2o3vKWRShOa9K8iZPIZLryjkDY1NsxpKU94C/H1BSql
 pPJAvPADVKnGxrtLmbCeB68vPFX44SxZEU//f3F1EODO4MlxB+T8hUlNHWbf3B1s
 BwMjig==
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=wGXzXJpj1RGo4pggdBhTFBjBOTxg0FnX3ek1CyvVx
 iA=; b=hpxzh8+6f8QfFjhDrSPgCGPhBmZapBUmOAQGGgLkQipAbhdvwvrqR6BzE
 KNqzdcHFoTxzIZAscvkqdZw2WDdG1JXUi/+hVz2TB+ffuIzIzPnTC+oSU6aCoiIu
 w5JSYKlw6CiHstdQvWhSV99rmxlw/soKmXuit6Nv2Z35t11ao45LrZwTV77k/TzE
 dgT1hukDdbqhcBhOQ2Qj6mjU420Y/GQFOblfthd4AxxyNdZ6OGf3+/DkFDyVbmGi
 zsbJsAMbXXqW9Omb3RLY0gFuNSobYZX3uVqMnG0S4P7RpDaOhdnYcHXzTzruThCR
 pm+inYnD2wmXl9nu4pGkBDBQ3GkSA==
X-ME-Sender: <xms:CoK9X62cD_2aiyB4S4UQEAa_tty0IB4VTNasUb-dEsmP-a7svepVKw>
 <xme:CoK9X9E_24NQAsguReN7LvCyk0LeO2Wl-iRrLcS5wEQKYeQLlGusE2Jb9xfESM7As
 7s88x9wTnr-0KgDWw>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedujedrudegkedgudehjecutefuodetggdotefrod
 ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh
 necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd
 enucfjughrpefhvffufffkjghfggfgtgesthfuredttddtvdenucfhrhhomhepvfhhohhm
 rghsucfoohhnjhgrlhhonhcuoehthhhomhgrshesmhhonhhjrghlohhnrdhnvghtqeenuc
 ggtffrrghtthgvrhhnpedugefgvdefudfftdefgeelgffhueekgfffhfeujedtteeutdej
 ueeiiedvffegheenucfkphepjeejrddufeegrddvtdefrddukeegnecuvehluhhsthgvrh
 fuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepthhhohhmrghssehmohhnjhgr
 lhhonhdrnhgvth
X-ME-Proxy: <xmx:CoK9Xy5KvCnFNfxKE25cRrffjevlotqY4HpPykhK-U4Do2K2110wrg>
 <xmx:CoK9X71VHHuYNTACeRwOD8U54T0RWEAN8_c2Rj4P36-fFXCHQitXFQ>
 <xmx:CoK9X9ETmAxv4IcSyBMDk_mUqXBz321MYuBwBagqs7ChOo7oCHRfYQ>
 <xmx:CoK9XyRq6XyP9Pw8V1K7wDR8BjbV1lyhS8QC3x82Y4KtA-0RxWsZhw>
Received: from xps.localnet (184.203.134.77.rev.sfr.net [77.134.203.184])
 by mail.messagingengine.com (Postfix) with ESMTPA id BA9863280067;
 Tue, 24 Nov 2020 16:58:33 -0500 (EST)
From: Thomas Monjalon <thomas@monjalon.net>
To: Xiaoyu Min <jackmin@mellanox.com>, Ferruh Yigit <ferruh.yigit@intel.com>
Cc: Jingjing Wu <jingjing.wu@intel.com>, Beilei Xing <beilei.xing@intel.com>,
 dev@dpdk.org
Date: Tue, 24 Nov 2020 22:58:31 +0100
Message-ID: <2201489.yj8eIaDFrO@thomas>
In-Reply-To: <2a92a3ef-458a-2f52-83bd-17306fe514bf@intel.com>
References: <cover.1605493464.git.jackmin@nvidia.com>
 <bb7e08aab2a777b6ceef6e39ccec415b26f12267.1605493464.git.jackmin@nvidia.com>
 <2a92a3ef-458a-2f52-83bd-17306fe514bf@intel.com>
MIME-Version: 1.0
Content-Transfer-Encoding: 7Bit
Content-Type: text/plain; charset="us-ascii"
Subject: Re: [dpdk-dev] [PATCH 4/5] net/iavf: fix protocol size for virtchnl
	copy
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>

23/11/2020 11:49, Ferruh Yigit:
> On 11/16/2020 7:55 AM, Xiaoyu Min wrote:
> > From: Xiaoyu Min <jackmin@nvidia.com>
> > 
> > The rte_flow_item_vlan items are refined.
> > The structs do not exactly represent the packet bits captured on the
> > wire anymore so should only copy real header instead of the whole struct.
> > 
> > Replace the rte_flow_item_* with the existing corresponding rte_*_hdr.
> > 
> > Fixes: 09315fc83861 ("ethdev: add VLAN attributes to ethernet and VLAN items")
> > 
> > Signed-off-by: Xiaoyu Min <jackmin@nvidia.com>
> 
> Reviewed-by: Ferruh Yigit <ferruh.yigit@intel.com>

Applied