From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <dev-bounces@dpdk.org>
Received: from mails.dpdk.org (xvm-189-124.dc0.ghst.net [217.70.189.124])
	by inbox.dpdk.org (Postfix) with ESMTP id 0E38BA09FF;
	Wed,  6 Jan 2021 22:28:13 +0100 (CET)
Received: from [217.70.189.124] (localhost [127.0.0.1])
	by mails.dpdk.org (Postfix) with ESMTP id 92344140E49;
	Wed,  6 Jan 2021 22:28:12 +0100 (CET)
Received: from wout3-smtp.messagingengine.com (wout3-smtp.messagingengine.com
 [64.147.123.19])
 by mails.dpdk.org (Postfix) with ESMTP id A7FD540FA7;
 Wed,  6 Jan 2021 22:28:11 +0100 (CET)
Received: from compute2.internal (compute2.nyi.internal [10.202.2.42])
 by mailout.west.internal (Postfix) with ESMTP id 68D5A109B;
 Wed,  6 Jan 2021 16:28:10 -0500 (EST)
Received: from mailfrontend2 ([10.202.2.163])
 by compute2.internal (MEProxy); Wed, 06 Jan 2021 16:28:10 -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=fm3; bh=
 8HX71rWOafEZz2DoSe1kwyk97FvbyqYOfuwllxbSHG0=; b=iqsHv/r0zPjUiWZT
 1FCIZDuIEa5xv/BjGwr8s9CuA3BKTywx+OCXUMDk2gz/shrgF9DvEQE05Jtps4wi
 qG/KwVpOwMFT10+usWMwPzRfCHWpsvL5szYUNmfZjGJNoBHVpjcdySxTvs7eGbuD
 OE1In0+cbwzyKokC2iVESwLwsoEuDxlTHGip88ettQ0Ei0/8CQRhmpQBuFprikdp
 hk8al5AaLwmAm3mQ5/y12mh6yhbcp7BAqTFN87ScP+R/oUIPsbxe6GREOMRS190J
 S1Vx1MgttOSCC71eCs6UYTt/VeyQ3xHN1f2PTnQklmAg/1uVxxZzF7ZCubqfDj86
 wb4U8g==
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=8HX71rWOafEZz2DoSe1kwyk97FvbyqYOfuwllxbSH
 G0=; b=RvSW/ylao5eZBqZFCd0SiLkTn/ERWFlexlYda33BQjkMnRJuy54qhCg4g
 SlHtllGlJ/HEfhCUHDy3tq3F7ebADpCI4ABEihqpzDfUDSczgmohHGl2XQa6IPk+
 z7rzwbh3VDKXrRMgcbOyD6Os7l7l7WWQbvtSzMCifIrs4LoZ1X5V60i74DHMMqQP
 RbVWvUlgTsw6BY0yiU5NF/zKNIVudoinXqTTWWP/3Qx2UHFC9ikKxFt9hvUT/lOn
 3r12OJ5lJ2+wB4inag/QnNwb+CZxDtFrB8RiX1rgYHSqxlK0gRk8SMi8919B8RJu
 dE1xw2fIDEzh0R8fN46SCnMDdZ5LA==
X-ME-Sender: <xms:aSv2X2gK3E5pVwBthrKEcnKuYZQsNYGofxu5RV3vbwxVfE2UXzWyOA>
 <xme:aSv2X3D631Q3enmoXK9BRFMutzp_XAm9wIv6S3AdbGn4pVorsOLSHdukYpJrdeZga
 QSAK84k8e3kUWcv_A>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedujedrvdegtddgheegucetufdoteggodetrfdotf
 fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen
 uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne
 cujfgurhephffvufffkfgjfhgggfgtsehtufertddttddvnecuhfhrohhmpefvhhhomhgr
 shcuofhonhhjrghlohhnuceothhhohhmrghssehmohhnjhgrlhhonhdrnhgvtheqnecugg
 ftrfgrthhtvghrnhepudeggfdvfeduffdtfeeglefghfeukefgfffhueejtdetuedtjeeu
 ieeivdffgeehnecukfhppeejjedrudefgedrvddtfedrudekgeenucevlhhushhtvghruf
 hiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehthhhomhgrshesmhhonhhjrghl
 ohhnrdhnvght
X-ME-Proxy: <xmx:aSv2X-GZ_lQ5fYZNgIzrCjulWTu2Nv2ObBPHY36MveTNTtNY3OcccA>
 <xmx:aSv2X_QW9yw-wX5-dvg7v31YA41hITKmllFxsusJrROfrhojZXd9iQ>
 <xmx:aSv2XzzCByHW7Nq3nDvv8NeyRSuOnejJfrgnI1BGr8rzPJSJknnUXg>
 <xmx:aiv2X1uz_NoMz7CInS9gvOD4kRqlhTBfDAVoddpi5Iw_3dccxLi7hw>
Received: from xps.localnet (184.203.134.77.rev.sfr.net [77.134.203.184])
 by mail.messagingengine.com (Postfix) with ESMTPA id CBFC81080063;
 Wed,  6 Jan 2021 16:28:08 -0500 (EST)
From: Thomas Monjalon <thomas@monjalon.net>
To: Shiri Kuzin <shirik@nvidia.com>
Cc: dev@dpdk.org, matan@nvidia.com, rasland@nvidia.com, viacheslavo@nvidia.com,
 stable@dpdk.org, Suanming Mou <suanmingm@nvidia.com>
Date: Wed, 06 Jan 2021 22:28:07 +0100
Message-ID: <2644650.EefpDao7Zs@thomas>
In-Reply-To: <20201231093328.7277-1-shirik@nvidia.com>
References: <20201231093328.7277-1-shirik@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 VXLAN decap flow created
 without VXLAN item
X-BeenThere: dev@dpdk.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: DPDK patches and discussions <dev.dpdk.org>
List-Unsubscribe: <https://mails.dpdk.org/options/dev>,
 <mailto:dev-request@dpdk.org?subject=unsubscribe>
List-Archive: <http://mails.dpdk.org/archives/dev/>
List-Post: <mailto:dev@dpdk.org>
List-Help: <mailto:dev-request@dpdk.org?subject=help>
List-Subscribe: <https://mails.dpdk.org/listinfo/dev>,
 <mailto:dev-request@dpdk.org?subject=subscribe>
Errors-To: dev-bounces@dpdk.org
Sender: "dev" <dev-bounces@dpdk.org>

31/12/2020 10:33, Shiri Kuzin:
> The vxlan_decap action preforms decapsulation of the VXLAN
> tunnel.
> 
> Currently we can create a flow with vxlan_decap without
> matching on VXLAN header.
> 
> To solve this issue this patch adds validation verifying
> that the VXLAN item was detected when specifying
> vxlan_decap action.
> 
> Fixes: 49d6465af3e1 ("net/mlx5: add VXLAN decap action to Direct Verbs")
> Cc: stable@dpdk.org
> 
> Signed-off-by: Shiri Kuzin <shirik@nvidia.com>
> Reviewed-by: Suanming Mou <suanmingm@nvidia.com>
> ---
> +		return rte_flow_error_set(error, ENOTSUP,
> +				RTE_FLOW_ERROR_TYPE_UNSPECIFIED, NULL,
> +				"vxlan item should be present for vxlan decap");

Changed "vxlan" to "VXLAN".

Applied in next-net-mlx, thanks.