From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 3B7F9A09E0; Fri, 13 Nov 2020 20:13:38 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id DAE4FC87A; Fri, 13 Nov 2020 20:13:35 +0100 (CET) Received: from out5-smtp.messagingengine.com (out5-smtp.messagingengine.com [66.111.4.29]) by dpdk.org (Postfix) with ESMTP id AFA13C876 for ; Fri, 13 Nov 2020 20:13:34 +0100 (CET) Received: from compute2.internal (compute2.nyi.internal [10.202.2.42]) by mailout.nyi.internal (Postfix) with ESMTP id 5CC715C0185; Fri, 13 Nov 2020 14:13:33 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute2.internal (MEProxy); Fri, 13 Nov 2020 14:13:33 -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=fm2; bh= SELzHbMqII0nn6nOCJebecDjGOrGYDqnx2CmkYYtYwc=; b=RRcfpMPfjCjbepOl nxMRNvLETzFcrJOM4/NWA9VdayAp3nEUEgJLnHeJD3+Sb9sYJuJxBRHt/2aWn/dP qBGsWRxgrMc7ty9wwSc1jDOiEcAFPwUV+aCQ7ydo1wGZ6eoVZaSxjeOF8Z5bfWlv eBH8fGmgKa/rywWKSky6Zy0bBxZgOGMmLsppnEgaUojhnWJV0u/sfNpbiOAX7AKx 01z/nDFmYxYASCGNTudyz3MGkolpY7bkvCHU9aB4nJ6rMyd5A0RGma3frDDdzaOM 2RirmchuKQTvZwvHii5l52+ig7D128jqMd8voEjO3WNsLZCstnFmioj4WhxcjKbY 3pt5PQ== 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=SELzHbMqII0nn6nOCJebecDjGOrGYDqnx2CmkYYtY wc=; b=J1c7QaZA4kGdvC7s9UESZDpvv1HYCOWH9Fj7xb5he266ZODGM0SnwzJ8u NwLy7poHOK77E6qm9tvbOqVomNK641v4rsNqYluL8FXQBYnjQHRXrVxm1bYvaebg wu5VpWvx7ypNumWM5CaAzRdsT+n+zGzZQsLrdcGuZbp0ZWZPEqVLOc2gsQdcOWsO OVZfVNgRdQQSUOeQ+9uLswMUB92er+3P281DgYWQO6spWJmXSswJFiqY/9KDb9sV CN2EhIkc9wLUfb7tqbfzZ/jyQrOm72TlrEDHxNQhnUVwRfW4swybbrH54LAk9wDC pDj+5M4rfp0hzHG0+DJrtJx1p3l8A== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedujedruddvhedguddvvdcutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpefhvffufffkjghfggfgtgesthfuredttddtvdenucfhrhhomhepvfhhohhm rghsucfoohhnjhgrlhhonhcuoehthhhomhgrshesmhhonhhjrghlohhnrdhnvghtqeenuc ggtffrrghtthgvrhhnpedugefgvdefudfftdefgeelgffhueekgfffhfeujedtteeutdej ueeiiedvffegheenucfkphepjeejrddufeegrddvtdefrddukeegnecuvehluhhsthgvrh fuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepthhhohhmrghssehmohhnjhgr lhhonhdrnhgvth 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 60D8D3064AAE; Fri, 13 Nov 2020 14:13:32 -0500 (EST) From: Thomas Monjalon To: Suanming Mou Cc: viacheslavo@nvidia.com, matan@nvidia.com, rasland@nvidia.com, dev@dpdk.org, asafp@nvidia.com Date: Fri, 13 Nov 2020 20:13:31 +0100 Message-ID: <29644634.5ndoGRFaNu@thomas> In-Reply-To: <1605171103-312387-1-git-send-email-suanmingm@nvidia.com> References: <1605171103-312387-1-git-send-email-suanmingm@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 counter offset support discover X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 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" 12/11/2020 09:51, Suanming Mou: > Currently, the counter offset support is discovered by creating the > rule with invalid offset counter and jump action in root table. If > the rule creation fails with EINVAL errno, that mean counter offset > is not supported in root table. > > However, jump action may not be supported in some rdma-core version. > In this case, the discover code will not work properly. > > This commits changes the jump action to generic drop action. That > makes the discover code to be more compatible. > > Fixes: 994829e695c0 ("net/mlx5: remove single counter container") > > Signed-off-by: Suanming Mou > Acked-by: Matan Azrad Applied as "net/mlx5: fix detection of counter offset support" in next-net-mlx, thanks.