From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (xvm-189-124.dc0.ghst.net [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id AC56DA0A01 for ; 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 A51FA140E5A; Wed, 6 Jan 2021 22:28:13 +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: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedujedrvdegtddgheegucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvufffkfgjfhgggfgtsehtufertddttddvnecuhfhrohhmpefvhhhomhgr shcuofhonhhjrghlohhnuceothhhohhmrghssehmohhnjhgrlhhonhdrnhgvtheqnecugg ftrfgrthhtvghrnhepudeggfdvfeduffdtfeeglefghfeukefgfffhueejtdetuedtjeeu ieeivdffgeehnecukfhppeejjedrudefgedrvddtfedrudekgeenucevlhhushhtvghruf hiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehthhhomhgrshesmhhonhhjrghl ohhnrdhnvght 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 CBFC81080063; Wed, 6 Jan 2021 16:28:08 -0500 (EST) From: Thomas Monjalon To: Shiri Kuzin Cc: dev@dpdk.org, matan@nvidia.com, rasland@nvidia.com, viacheslavo@nvidia.com, stable@dpdk.org, Suanming Mou 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-stable] [dpdk-dev] [PATCH] net/mlx5: fix VXLAN decap flow created without VXLAN item X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-bounces@dpdk.org Sender: "stable" 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 > Reviewed-by: Suanming Mou > --- > + 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.