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 A09CFA0548; Fri, 9 Jul 2021 23:12:13 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 199E7410FD; Fri, 9 Jul 2021 23:12:13 +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: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvtddrtdeigdduheegucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvufffkfgjfhgggfgtsehtufertddttddvnecuhfhrohhmpefvhhhomhgr shcuofhonhhjrghlohhnuceothhhohhmrghssehmohhnjhgrlhhonhdrnhgvtheqnecugg ftrfgrthhtvghrnhepudeggfdvfeduffdtfeeglefghfeukefgfffhueejtdetuedtjeeu ieeivdffgeehnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrh homhepthhhohhmrghssehmohhnjhgrlhhonhdrnhgvth X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Fri, 9 Jul 2021 17:12:09 -0400 (EDT) From: Thomas Monjalon To: Cristian Dumitrescu Cc: dev@dpdk.org, stable@dpdk.org, Venkata Suresh Kumar P , Churchill Khangar 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-dev] [PATCH V2] pipeline: fix table entry read 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 Sender: "dev" 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 > Signed-off-by: Venkata Suresh Kumar P > Signed-off-by: Churchill Khangar Applied, thanks