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 4802B41BAB; Thu, 2 Feb 2023 10:54:01 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 2EE09406A2; Thu, 2 Feb 2023 10:54:01 +0100 (CET) Received: from shelob.oktetlabs.ru (shelob.oktetlabs.ru [91.220.146.113]) by mails.dpdk.org (Postfix) with ESMTP id 2E88F40689 for ; Thu, 2 Feb 2023 10:54:00 +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 (4096 bits)) (No client certificate requested) by shelob.oktetlabs.ru (Postfix) with ESMTPSA id B045C5D; Thu, 2 Feb 2023 12:53:59 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 shelob.oktetlabs.ru B045C5D DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=oktetlabs.ru; s=default; t=1675331639; bh=6lW8mI93xt10QivtCaa8P592xdu5V/jJID0Ke/Y/92o=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=FTNz/R4YuYntwdaukre7asrtNPl+Gjp2Nnz/VVSoN5h9XKS+gNAnKW4rVH7XbNyTF YHwNc9MkocSRxZatnhvasxjvM4UerlTxmuXFv5irnCgcclDjovgQWYPkxcGTHNiljv YvUpiQ2TiIoNsOs34NwKXxglbspJ3pCKhM8qwYzc= Message-ID: <611896dd-26b4-09c9-f7e6-28710c72c103@oktetlabs.ru> Date: Thu, 2 Feb 2023 12:53:59 +0300 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.6.0 Subject: Re: [PATCH v5 4/8] ethdev: use GRE protocol struct for flow matching Content-Language: en-US To: Ferruh Yigit , Thomas Monjalon , Wisam Jaddo , Ori Kam , Aman Singh , Yuying Zhang , Ajit Khaparde , Somnath Kotur , Hemant Agrawal , Sachin Saxena , Matan Azrad , Viacheslav Ovsiienko , Chaoyong He , =?UTF-8?Q?Niklas_S=c3=b6derlund?= , Olivier Matz Cc: David Marchand , dev@dpdk.org References: <20221025214410.715864-1-thomas@monjalon.net> <20230126161904.864517-1-ferruh.yigit@amd.com> <20230126161904.864517-5-ferruh.yigit@amd.com> From: Andrew Rybchenko Organization: OKTET Labs In-Reply-To: <20230126161904.864517-5-ferruh.yigit@amd.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit 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 On 1/26/23 19:19, Ferruh Yigit wrote: > From: Thomas Monjalon > > As announced in the deprecation notice, flow item structures > should re-use the protocol header definitions from the directory lib/net/. > > The protocol struct is added in an unnamed union, keeping old field names. > > The GRE header struct members are used in apps and drivers > instead of the redundant fields in the flow items. > > Signed-off-by: Thomas Monjalon Acked-by: Andrew Rybchenko