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 DDCDFA09E0; Fri, 13 Nov 2020 20:07:32 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 7DCF4C868; Fri, 13 Nov 2020 20:07:30 +0100 (CET) Received: from out5-smtp.messagingengine.com (out5-smtp.messagingengine.com [66.111.4.29]) by dpdk.org (Postfix) with ESMTP id 9DF4B4CA6; Fri, 13 Nov 2020 20:07:27 +0100 (CET) Received: from compute2.internal (compute2.nyi.internal [10.202.2.42]) by mailout.nyi.internal (Postfix) with ESMTP id 20E965C0167; Fri, 13 Nov 2020 14:07:24 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute2.internal (MEProxy); Fri, 13 Nov 2020 14:07:24 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding:content-type; s=fm2; bh= hqV1wXoXzVIvInzy3tlEyT4DoQn0pjNZfnO/97IGIcM=; b=qvNxm3S+jNh1a0u4 qaYtwIjTFk3LjlH/xFwosp5sg9lirH3q4m5HZEPahmHuafuXhAJxzFGXyFWwC05C 1iQ9Lck4FpS2Mzv0HXl3eXXYTN8XasOVpQHO/AcowWAXWV1IG6PaF5L0CSiDQvQ1 H8O1oItKtLJQja6eYHChhBXmKXEC2WFMHnmhAvTbBenfMonCVA2XJJmPi50bYfc5 uMtMVvX1WX6ZAVx4HRqcaxPYNSxbe8t3Ps9l6mouNVpWB+ihnUOK5yc+AAnYFihI aeQIEJQFtZoeQx7bBfRUP+3EarmuTBVQheD5uCjLNa46lrx79KvL0nGl6tEBQyQR iX25Wg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm1; bh=hqV1wXoXzVIvInzy3tlEyT4DoQn0pjNZfnO/97IGI cM=; b=TBAfSyU+yZ395BtY5gVicSllqZFzQaEOJNwC3nGO6c7C4dF1wUYHkB+g5 JWNd3A6GrEr30vrrQm9kxOf5yaAhZkDhGu/CxLFDBknvdUttvLpyXvTczBDuCylA uYPP5uvBUUBiL5mDZMaQt7IFi0a9U+N4j4tnLkZedBn3PJlW+Zenk+3gBWYMjFTh uVmVyuuYJIuxq9R3Is/MxVhQle/TneNj1s7ZEwNgwHN76QFXcXSEfsGGFqoT4AqN V7eRXGki8kJrLRhdt+dsmr9zqIwggD7/dmN3pIwRKTjA1Cb26BQKa/85XJBvf+ps zvzLmcgd6Pok+cidqxvvCQKIZ4KxQ== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedujedruddvhedguddvudcutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpefhvffufffkjghfggfgtgesthfuredttddtvdenucfhrhhomhepvfhhohhm rghsucfoohhnjhgrlhhonhcuoehthhhomhgrshesmhhonhhjrghlohhnrdhnvghtqeenuc ggtffrrghtthgvrhhnpedugefgvdefudfftdefgeelgffhueekgfffhfeujedtteeutdej ueeiiedvffegheenucfkphepjeejrddufeegrddvtdefrddukeegnecuvehluhhsthgvrh fuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepthhhohhmrghssehmohhnjhgr lhhonhdrnhgvth X-ME-Proxy: Received: from xps.localnet (184.203.134.77.rev.sfr.net [77.134.203.184]) by mail.messagingengine.com (Postfix) with ESMTPA id 200563280064; Fri, 13 Nov 2020 14:07:23 -0500 (EST) From: Thomas Monjalon To: Xiaoyu Min Cc: Matan Azrad , Shahaf Shuler , Viacheslav Ovsiienko , dev@dpdk.org, stable@dpdk.org Date: Fri, 13 Nov 2020 20:07:22 +0100 Message-ID: <2398561.JFa5gUcMW8@thomas> In-Reply-To: <767ac1c511fcb95715b1498e187789a7ffe7871d.1605009114.git.jackmin@nvidia.com> References: <767ac1c511fcb95715b1498e187789a7ffe7871d.1605009114.git.jackmin@nvidia.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH] net/mlx5: fix validate MPLSoGRE with GRE key 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" 10/11/2020 12:59, Xiaoyu Min: > From: Xiaoyu Min > > Currently PMD only accept flow which item_mpls directly follow item_gre, > means to match the GRE header without GRE optional field key in MPLSoGRE > encapsulation. > > However, for the MPLSoGRE, the GRE header could have the optional field > (i.e, key) according to the RFC. So PMD need to accept this. > > Add MLX5_FLOW_LAYER_GRE_KEY into allowed prev_layer to fix > > Fixes: a7a0365565a4 ("net/mlx5: match GRE key and present bits") > Cc: stable@dpdk.org > > Signed-off-by: Xiaoyu Min > Acked-by: Matan Azrad Applied in next-net-mlx, thanks.