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 1C65BA0A0A for ; Thu, 13 May 2021 14:55:06 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 0F5D2410FE; Thu, 13 May 2021 14:55:06 +0200 (CEST) Received: from out4-smtp.messagingengine.com (out4-smtp.messagingengine.com [66.111.4.28]) by mails.dpdk.org (Postfix) with ESMTP id D9A8C4003F; Thu, 13 May 2021 14:55:03 +0200 (CEST) Received: from compute2.internal (compute2.nyi.internal [10.202.2.42]) by mailout.nyi.internal (Postfix) with ESMTP id 6E6235C0183; Thu, 13 May 2021 08:55:03 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute2.internal (MEProxy); Thu, 13 May 2021 08:55:03 -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= gmpcYp487R51tk7JNWNAXrkNq1Hgpu7CCFqUlDnBoPs=; b=wxnO4q+0tyhDpN7j +B0Er414yxuDI5ANf2wJKWrrFjWo2PJryWO3iloiLAKw09S3Skeb5IvvlgmQXhPv Tq1+V5jdyfXdtG9QcxPQJxvq2Xa1M3JlAisElKPwLIwQX6YN1qtW7K1AStotYWbL PEWDJF4O1fxeh2Arebyu2cQ0j6/KFQ5JKtSZRMVfpUbXcIya3PhM3g1hQOFdPF6p A2vOV5R7OhF/bOqN7rESre0KTDsEIStTuOUyZX7NSfDhWEjzE4Bqk512RxU+RhZv 7OTlDIJCvzU9bclla8iXv9w6uMSjwpCdF+J/Py2viDNeJFsWjvnfOrzK38O9ru8Q 44zGuQ== 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=fm2; bh=gmpcYp487R51tk7JNWNAXrkNq1Hgpu7CCFqUlDnBo Ps=; b=PzVfdfmydggSuWRSNs96seOS2PDKchhKZpkWiqqJj7EzMSr1218vcg0EG fArrtj+JXkrhQfTQ0yiUrc8Y+7IZJq06DYXRJSJC9sHRExoB108SL7ksm+N0nRK1 4U6hCvCDuYTk/ommXAv65eVbl5IZ1EE/3aqeAXU7xcue5SeDAGy7Arr6mPBRND6v PFKcYPReSucD7tmsHC/oQP66BTXGvzxgndThpT3ga5nlScShjVdLUv2ccOCzfB2Z teF3p7eiYM3/Ym7DvsAINSdEIVsSA4oVz3jkpCc7a3YP5AE7m737TTHXyi1fkC/M bk73n+tWo1VUwlS1KOW7wWMJDXfYQ== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledrvdehgedgheelucetufdoteggodetrfdotf 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; Thu, 13 May 2021 08:55:01 -0400 (EDT) From: Thomas Monjalon To: Suanming Mou Cc: Slava Ovsiienko , dev@dpdk.org, Raslan Darawsheh , "stable@dpdk.org" , Matan Azrad Date: Thu, 13 May 2021 14:55:00 +0200 Message-ID: <2301449.QlvoyXboz2@thomas> In-Reply-To: References: <20210513080515.10644-1-suanmingm@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 counter offset detection 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" > > Currently, the counter offset support is discovered by creating the rule with > > invalid offset counter and drop action in root table. If the rule creation fails > > with EINVAL errno, that mean counter offset is not supported in root table. > > > > However, drop action may not be supported in some rdma-core version in > > root table. In this case, the discover code will not work properly. > > > > This commits changes flow attribute to egress. That removes all the extra > > fate actions in the flow to avoid any unsupported fate actions make the > > discover code fail time to time. > > > > Fixes: 994829e695c0 ("net/mlx5: remove single counter container") > > Cc: stable@dpdk.org > > > > Signed-off-by: Suanming Mou > Acked-by: Matan Azrad Applied in next-net-mlx, thanks.