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 AE424A0521; Tue, 3 Nov 2020 18:40:14 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id D8D281DBD; Tue, 3 Nov 2020 18:40:12 +0100 (CET) Received: from mga06.intel.com (mga06.intel.com [134.134.136.31]) by dpdk.org (Postfix) with ESMTP id 6D86E100C for ; Tue, 3 Nov 2020 18:40:11 +0100 (CET) IronPort-SDR: biEZQYNfaVsOTSUqzldeHW0p8tnrrW3WCQGLP1vLH01llMpsqQqWpdJUG//cFLu/T7YIKYuhbj kpVbW6zIlaXg== X-IronPort-AV: E=McAfee;i="6000,8403,9794"; a="230722924" X-IronPort-AV: E=Sophos;i="5.77,448,1596524400"; d="scan'208";a="230722924" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga005.jf.intel.com ([10.7.209.41]) by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 03 Nov 2020 09:40:09 -0800 IronPort-SDR: jqgXF2ED/Zw6LfNX6J69VDcJTnOdu7LCV8RdfbkYGYAvRiOe8xm5HyehYeg3+LkMbHfPz3qoel TDG89ncGaWQg== X-IronPort-AV: E=Sophos;i="5.77,448,1596524400"; d="scan'208";a="538573011" Received: from fyigit-mobl1.ger.corp.intel.com (HELO [10.213.218.178]) ([10.213.218.178]) by orsmga005-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 03 Nov 2020 09:40:07 -0800 To: Xiaoyu Min , dekelp@nvidia.com, Ori Kam , Wenzhuo Lu , Beilei Xing , Bernard Iremonger Cc: dev@dpdk.org, Xiaoyu Min References: <20201103132022.14132-1-jackmin@mellanox.com> From: Ferruh Yigit Message-ID: <212d9683-55d0-cb2d-16ab-f624e84d0f24@intel.com> Date: Tue, 3 Nov 2020 17:40:03 +0000 MIME-Version: 1.0 In-Reply-To: <20201103132022.14132-1-jackmin@mellanox.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Subject: Re: [dpdk-dev] [PATCH] app/testpmd: set raw cmd use rte hdr struct 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/3/2020 1:20 PM, Xiaoyu Min wrote: > From: Xiaoyu Min > > The rte_flow_item_eth and rte_flow_item_vlan items are refined [1]. > The structs do not exactly represent the packet bits captured on the wire > anymore so set raw_encap/decap commands should only copy real header > instead of the whole struct. > > Replace the rte_flow_item_* with the existing corresponding rte_*_hdr. > > [1]: > commit 09315fc83861 ("ethdev: add VLAN attributes to ethernet and VLAN > items") > > Signed-off-by: Xiaoyu Min Reviewed-by: Ferruh Yigit Applied to dpdk-next-net/main, thanks.