From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id BA9C1A00C2; Wed, 17 Mar 2021 07:40:12 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 99F7D242AFC; Wed, 17 Mar 2021 07:40:12 +0100 (CET) Received: from shelob.oktetlabs.ru (shelob.oktetlabs.ru [91.220.146.113]) by mails.dpdk.org (Postfix) with ESMTP id CB65540A4B for ; Wed, 17 Mar 2021 07:40:11 +0100 (CET) Received: from [192.168.38.17] (aros.oktetlabs.ru [192.168.38.17]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by shelob.oktetlabs.ru (Postfix) with ESMTPSA id 5EB687F52B; Wed, 17 Mar 2021 09:40:11 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 shelob.oktetlabs.ru 5EB687F52B DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=oktetlabs.ru; s=default; t=1615963211; bh=yaZhF84Fd+AAwXEbaayRtRN6dmAHYb/HNmKVrpjhC20=; h=Subject:To:Cc:References:From:Date:In-Reply-To; b=amjRxGjpKyzpCigv8/jErLFRGmIK4+Dh2hdOLYszKsE9kzw/PM1fF4fjUdykkIfFy /+umvprtVmWDdsuQ3ibFXSuDWvxA2AL3PXKNJyESwHTf3nIKawDGaDPZ3G5chJ1/c+ EIHbl1wRrcBsCbdJmDPc9mp4poJqMt4YWBbSXEJ0= To: Ferruh Yigit , Ivan Malov , dev@dpdk.org Cc: Andy Moreton , Ori Kam , Thomas Monjalon References: <20210312093143.28186-1-ivan.malov@oktetlabs.ru> <20210312110745.31721-1-ivan.malov@oktetlabs.ru> <0e5845a3-a06a-b335-959b-77cddee206ee@intel.com> From: Andrew Rybchenko Organization: OKTET Labs Message-ID: <8b23c0d4-a5c8-8a18-c856-1719730181cc@oktetlabs.ru> Date: Wed, 17 Mar 2021 09:40:11 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.7.1 MIME-Version: 1.0 In-Reply-To: <0e5845a3-a06a-b335-959b-77cddee206ee@intel.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Subject: Re: [dpdk-dev] [PATCH v2 01/10] ethdev: reuse header definition in flow pattern item ETH X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 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 3/16/21 8:38 PM, Ferruh Yigit wrote: > On 3/12/2021 11:07 AM, Ivan Malov wrote: >> One ought to reuse existing header structs in flow items. >> This particular item contains non-header fields, so it's >> important to keep the header fields in a separate struct. >> > > Hi Ivan, Andrew, Thanks for following this up and updates. > > For record, existing deprecation note is: > https://git.dpdk.org/dpdk/tree/doc/guides/rel_notes/deprecation.rst?h=v21.02#n99 > > > Ori, Andrew, > > Is there any struct left not updated after this patch? As I understand the following flow items corresponding to network protocols, but still define own fields. Sometimes corresponding network protocols do not have definitions in DPDK, but it is not an excuse and definitions should be simply added: rte_flow_item_e_tag rte_flow_item_nvgre rte_flow_item_mpls rte_flow_item_gre rte_flow_item_gtp rte_flow_item_geneve rte_flow_item_vxlan_gpe rte_flow_item_arp_eth_ipv4 rte_flow_item_icmp6 rte_flow_item_icmp6_nd_ns rte_flow_item_icmp6_nd_na rte_flow_item_icmp6_nd_opt rte_flow_item_icmp6_nd_opt_sla_eth rte_flow_item_icmp6_nd_opt_tla_eth rte_flow_item_gtp_psc rte_flow_item_pppoe rte_flow_item_pppoe_proto_id rte_flow_item_l2tpv3oip rte_flow_item_nsh rte_flow_item_igmp rte_flow_item_ah rte_flow_item_pfcp rte_flow_item_geneve_opt The list is composed very quickly so may be I oversight something, but it definitely answers the question - yes, more flow items remain. > >> Signed-off-by: Ivan Malov >> Reviewed-by: Andrew Rybchenko >> Reviewed-by: Andy Moreton > > <...>