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 29AE0A04B1; Mon, 23 Nov 2020 11:50:00 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id E1A9923D; Mon, 23 Nov 2020 11:49:56 +0100 (CET) Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by dpdk.org (Postfix) with ESMTP id 76A6C160 for ; Mon, 23 Nov 2020 11:49:55 +0100 (CET) IronPort-SDR: 5ff96bQCZQ8IuR4a4Um4qD5SO/FVRDAw5lKIjY+KwOEnyjqTzUW8Wo2esf/Lp0oeRiRoWOWJna eXSgnxV1+2Xg== X-IronPort-AV: E=McAfee;i="6000,8403,9813"; a="169174898" X-IronPort-AV: E=Sophos;i="5.78,363,1599548400"; d="scan'208";a="169174898" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga003.jf.intel.com ([10.7.209.27]) by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 23 Nov 2020 02:49:53 -0800 IronPort-SDR: tYWo8aVrSITuWDl0o++jlUJXGBgdiSHISmlXJx6XkFrdic3kaZTQ85E8p1bmbIhmzEzQjDRiTN QUtKAHBSK8fA== X-IronPort-AV: E=Sophos;i="5.78,363,1599548400"; d="scan'208";a="327157726" Received: from fyigit-mobl1.ger.corp.intel.com (HELO [10.252.20.15]) ([10.252.20.15]) by orsmga003-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 23 Nov 2020 02:49:51 -0800 To: Xiaoyu Min , Jingjing Wu , Beilei Xing Cc: dev@dpdk.org, Xiaoyu Min References: From: Ferruh Yigit Message-ID: <2a92a3ef-458a-2f52-83bd-17306fe514bf@intel.com> Date: Mon, 23 Nov 2020 10:49:47 +0000 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit 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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On 11/16/2020 7:55 AM, Xiaoyu Min wrote: > From: Xiaoyu Min > > 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 Reviewed-by: Ferruh Yigit