From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.7 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 0DCC3C2D0A3 for ; Tue, 3 Nov 2020 17:40:16 +0000 (UTC) Received: from dpdk.org (dpdk.org [92.243.14.124]) by mail.kernel.org (Postfix) with ESMTP id 7C90620773 for ; Tue, 3 Nov 2020 17:40:15 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 7C90620773 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=intel.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=dev-bounces@dpdk.org 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.