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 1C8F4A0032; Thu, 17 Feb 2022 09:33:59 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id F18F14068B; Thu, 17 Feb 2022 09:33:58 +0100 (CET) Received: from wout1-smtp.messagingengine.com (wout1-smtp.messagingengine.com [64.147.123.24]) by mails.dpdk.org (Postfix) with ESMTP id 0CEB540150 for ; Thu, 17 Feb 2022 09:33:58 +0100 (CET) Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.west.internal (Postfix) with ESMTP id 9219E3201D9C; Thu, 17 Feb 2022 03:33:56 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute4.internal (MEProxy); Thu, 17 Feb 2022 03:33:57 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= cc:cc:content-transfer-encoding:content-type:date:date:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to; s=fm3; bh=ind+pISvlFodlK SwVQP9BSLhspdCZR0rPBcZvtAaj+0=; b=ffH0Ap5YJ0Pv8x5cjfg+WoNhNNmYDG FNdYzOJ2zIIy4rBI2cTYX7yonCFC3suVPy7gAFEew3nltOutu0sjEhRumU8QGX6D 18TnTA5OBayA8NRF5ZRw/eV6J/cZoYZz/HT1WSTGIe+0usJmaVQ8Twrc4zhulvRL QiClgBRJI2eGfKVuDACQgdcbTcR0cCay37disLdSyCn8kiOd+vsW67wxEpdc77RL xf8NcAxmEq+8g6EXzLYPctW4tQkZuAwdY+3ivpO9/rtKTxfMmtg61bTSu2xls48d nOHK0qTiUo8LdJYf7Dgdfde8kaRf03J6+0OgxkC+hlpd+J9zIaj3qR0Q== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:date:date:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:sender:subject :subject:to:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm2; bh=ind+pISvlFodlKSwVQP9BSLhspdCZR0rPBcZvtAaj +0=; b=EJoMRapqmYk3p6UYeHRrStxNDqYKtgcGYgPIC+uE7/Mrnnox3WHmNMD+E QfPvcBiy8nlSByK5sGjOvLRUOW5RqYygi2VbVCiHkja4lAGqtlwJODNXPG5kT0Jf xbcE31BvHNHZqimjOGmS6zGFtLLX2xAGdJ6ovb39g9U5K+Hpn737nKToYqmaSkbG VwOLdHkXlT8p/5asAAg/vmGgvvdr/1c82/YQnRPWD1q0BbiY2q0w0gj6qbGN4ART CkBw8j/Ao5y+pLXlIGk29nu+ljUJQd6F228/mpFCJh1y8v6pGYMGAjC/bb46XbFO 0LKv6/T2u26XRxBBKAo6DnvzSMCYA== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvvddrjeejgdduudelucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvufffkfgjfhgggfgtsehtufertddttddvnecuhfhrohhmpefvhhhomhgr shcuofhonhhjrghlohhnuceothhhohhmrghssehmohhnjhgrlhhonhdrnhgvtheqnecugg ftrfgrthhtvghrnhepudeggfdvfeduffdtfeeglefghfeukefgfffhueejtdetuedtjeeu ieeivdffgeehnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrh homhepthhhohhmrghssehmohhnjhgrlhhonhdrnhgvth X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Thu, 17 Feb 2022 03:33:55 -0500 (EST) From: Thomas Monjalon To: Matan Azrad , Viacheslav Ovsiienko , Sean Zhang Cc: dev@dpdk.org Subject: Re: [PATCH] net/mlx5: support matching optional fields of GRE Date: Thu, 17 Feb 2022 09:33:52 +0100 Message-ID: <1972215.kUgFBCI4xA@thomas> In-Reply-To: <20220217062707.51619-1-xiazhang@nvidia.com> References: <20220211014530.77711-5-xiazhang@nvidia.com> <20220217062707.51619-1-xiazhang@nvidia.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" 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 17/02/2022 07:27, Sean Zhang: > This patch adds matching on the optional fields (checksum/key/sequence) > of GRE header. The matching on checksum and sequence fields requests > support from rdma-core with the capability of misc5 and tunnel_header 0-3. > > For patterns without checksum and sequence specified, keep using misc for > matching as before, but for patterns with checksum or sequence, validate > capability first and then use misc5 for the matching. > > Signed-off-by: Sean Zhang > Acked-by: Slava Ovsiienko > > --- > v3 - some code style change > v2 - replace default mask with nic mask > --- > doc/guides/nics/mlx5.rst | 10 +++ > drivers/common/mlx5/mlx5_devx_cmds.c | 3 + > drivers/net/mlx5/linux/mlx5_os.c | 2 + > drivers/net/mlx5/mlx5.h | 1 + > drivers/net/mlx5/mlx5_flow.c | 101 +++++++++++++++++++++++++++++ > drivers/net/mlx5/mlx5_flow.h | 6 ++ > drivers/net/mlx5/mlx5_flow_dv.c | 121 +++++++++++++++++++++++++++++++++++ > 7 files changed, 244 insertions(+) Should we add a line in the release notes?