From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <stable-bounces@dpdk.org>
Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124])
	by inbox.dpdk.org (Postfix) with ESMTP id 21E44A0A0C
	for <public@inbox.dpdk.org>; Fri,  9 Jul 2021 23:12:14 +0200 (CEST)
Received: from [217.70.189.124] (localhost [127.0.0.1])
	by mails.dpdk.org (Postfix) with ESMTP id 0C85E41732;
	Fri,  9 Jul 2021 23:12:14 +0200 (CEST)
Received: from out3-smtp.messagingengine.com (out3-smtp.messagingengine.com
 [66.111.4.27]) by mails.dpdk.org (Postfix) with ESMTP id 017AB40143;
 Fri,  9 Jul 2021 23:12:10 +0200 (CEST)
Received: from compute4.internal (compute4.nyi.internal [10.202.2.44])
 by mailout.nyi.internal (Postfix) with ESMTP id 4FFD45C008C;
 Fri,  9 Jul 2021 17:12:10 -0400 (EDT)
Received: from mailfrontend2 ([10.202.2.163])
 by compute4.internal (MEProxy); Fri, 09 Jul 2021 17:12:10 -0400
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=fm1; bh=
 1sUQZ8hmW0X44i85bUcMQysqPCm1whH1U3IeGHoTW+w=; b=uMoxsTZt2w4UGePW
 aAdGHWqjWbDL/+39lmeaaUIvFKE8O+XHFcRie1uPfvxoouTX5ygbVNqTQ2dgrYwB
 Y8fBCLqilpd8NWK7VldqtcSWsj0dS8RZZGLjd5Is+j97/xmIVZXFsJtFnY7ajyvj
 8NVBJFG/qy10A5Qkgud/B9c3G6MoM41/ERt4zb1XMEZTe+pUo/zpYSmbrqulz28s
 MrbVIXk7iEO83aHgd/5r1+ruMVfQw1Uo4J5NKrmh3xUs50LSJCeZNeTI2IyCPUPE
 KEAn/qyIqNEWguPsVHxasz1L+TjWGX7pvgUHtDX4u+gzl6U1BV+y8DF+TWpiXcd6
 qP3X+g==
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=fm3; bh=1sUQZ8hmW0X44i85bUcMQysqPCm1whH1U3IeGHoTW
 +w=; b=jgsxsr0nBPN0PDjfabQRgTaUMXCvrxpq6cxO4rY+RICslWUkM4HkYCToW
 7etCwoLmkzkL8aW/T27pOr+h5KrcU1qO+P3VzeG9T8/Wt+YhJg8CUb9gQRJJPI7t
 bDb1J9l46x9eL9j1QDLIkhZ0kZeM6CNd5Sws2Fojd22EyfadkVC8Dny6cgnI4uHi
 iaZ6c3kZh0mOEwUZbGlAKRg4hM0YZR4uXPWW4SnESuUajsJ6JopbOJZ8PsDGzMsZ
 +AaE5RUaUyK4D0K4AGEAAFRfKDWY8emz3DsvF7YmN+gtL+wGnYCD0SNw8I1P+JT6
 FYgr6kN1fmMgP0uyWnBr/If9+LR8Q==
X-ME-Sender: <xms:qbvoYOScz7tpEjjqisD7BXrwK4OTyX64R80fb7d1VlFb9K6QNvJBLg>
 <xme:qbvoYDzBgCAAOdLFzrqq7EISBE6PBLxUknsg_dT_3DHXyJSk3Nq5V3PhAtF2ue_ED
 Vm72x0H2Uuk3Ur4xA>
X-ME-Received: <xmr:qbvoYL2GHqdWDa-d4LRSTky_I5-eBXF5Szqs6M_JzTLo7KLK9DfdurTSu3JXAhGflD0DX3uqaNNAj_-w8i5s-vpgkQ>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvtddrtdeigdduheegucetufdoteggodetrfdotf
 fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen
 uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne
 cujfgurhephffvufffkfgjfhgggfgtsehtufertddttddvnecuhfhrohhmpefvhhhomhgr
 shcuofhonhhjrghlohhnuceothhhohhmrghssehmohhnjhgrlhhonhdrnhgvtheqnecugg
 ftrfgrthhtvghrnhepudeggfdvfeduffdtfeeglefghfeukefgfffhueejtdetuedtjeeu
 ieeivdffgeehnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrh
 homhepthhhohhmrghssehmohhnjhgrlhhonhdrnhgvth
X-ME-Proxy: <xmx:qbvoYKCYLPZfF8nlyQpGzKCi2cZ5JjIzVAbh_refX1Uvmu_qpZ078w>
 <xmx:qbvoYHiA4JG-t-yCoyqXRXEy-PXTYldaKPHKi2vYG7YspyD71NHC_g>
 <xmx:qbvoYGofic_X17WB7Vorvovb5asS-yX0taEfcDpP_tvYZfynu5k3BQ>
 <xmx:qrvoYEtIKjH3VUFVdJVePeZpGsc2d_97NJUXWkceSVrOOcX4MdNgLQ>
Received: by mail.messagingengine.com (Postfix) with ESMTPA; Fri,
 9 Jul 2021 17:12:09 -0400 (EDT)
From: Thomas Monjalon <thomas@monjalon.net>
To: Cristian Dumitrescu <cristian.dumitrescu@intel.com>
Cc: dev@dpdk.org, stable@dpdk.org,
 Venkata Suresh Kumar P <venkata.suresh.kumar.p@intel.com>,
 Churchill Khangar <churchill.khangar@intel.com>
Date: Fri, 09 Jul 2021 23:12:07 +0200
Message-ID: <1784741.ljSJs3xEi8@thomas>
In-Reply-To: <20210705225650.92268-1-cristian.dumitrescu@intel.com>
References: <20210705225109.92180-1-cristian.dumitrescu@intel.com>
 <20210705225650.92268-1-cristian.dumitrescu@intel.com>
MIME-Version: 1.0
Content-Transfer-Encoding: 7Bit
Content-Type: text/plain; charset="us-ascii"
Subject: Re: [dpdk-stable] [dpdk-dev] [PATCH V2] pipeline: fix table entry
 read
X-BeenThere: stable@dpdk.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: patches for DPDK stable branches <stable.dpdk.org>
List-Unsubscribe: <https://mails.dpdk.org/options/stable>,
 <mailto:stable-request@dpdk.org?subject=unsubscribe>
List-Archive: <http://mails.dpdk.org/archives/stable/>
List-Post: <mailto:stable@dpdk.org>
List-Help: <mailto:stable-request@dpdk.org?subject=help>
List-Subscribe: <https://mails.dpdk.org/listinfo/stable>,
 <mailto:stable-request@dpdk.org?subject=subscribe>
Errors-To: stable-bounces@dpdk.org
Sender: "stable" <stable-bounces@dpdk.org>

06/07/2021 00:56, Cristian Dumitrescu:
> The rte_swx_pipeline_table_entry_read() function is used to read from
> a character string a table entry that is to be added to the table,
> deleted from the table or set as the default entry of the table.
> Addition needs both the match and the part of the entry, deletion
> ignores the action part, while the default set ignores the match part,
> hence the need to make both the match and the action part optional.
> The logic for skipping the match or the action part was broken, hence
> the current fix.
> 
> Fixes: b32c0a2c5e4c ("pipeline: add SWX table update high level API")
> Cc: stable@dpdk.org
> 
> Signed-off-by: Cristian Dumitrescu <cristian.dumitrescu@intel.com>
> Signed-off-by: Venkata Suresh Kumar P <venkata.suresh.kumar.p@intel.com>
> Signed-off-by: Churchill Khangar <churchill.khangar@intel.com>

Applied, thanks