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 B55FDA0521; Tue, 24 Nov 2020 23:40:36 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 47F0EC936; Tue, 24 Nov 2020 23:40:34 +0100 (CET) Received: from out2-smtp.messagingengine.com (out2-smtp.messagingengine.com [66.111.4.26]) by dpdk.org (Postfix) with ESMTP id E0F3FC934 for ; Tue, 24 Nov 2020 23:40:32 +0100 (CET) Received: from compute2.internal (compute2.nyi.internal [10.202.2.42]) by mailout.nyi.internal (Postfix) with ESMTP id 7F7415C022D; Tue, 24 Nov 2020 17:40:31 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute2.internal (MEProxy); Tue, 24 Nov 2020 17:40:31 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; s=fm2; bh=d4eMSXDFehwIcV9EjT6oxKUABu ql8PUhn6WfPUYtpws=; b=w3a4fHnF5/aYzI98UbmqKrkmSdv0M/gXIeYgpuUTds auJLDZUVU4lWV5OQSwZD0G2Od01TF49wJIsPnSC55vfguMJXLbmXB543w1hkS/VR ndsIZKL7RkMGa+Zaj/RcqaBDe79GtrWVAoFMGfwoty6gruMbFvH0CJGpWWSJmXXN 128xqF88O63V5nRV8QIjyVVnLm9IdZxS7uouB1n0K6B0yCJ63UgjNJNIN++JtWhT 6P7sFXLeiPKwaJenoiEfMjTfavIEDiAZlva2W3rWfgbDoJ8EsBjkwSaVGKDs0XPb 6AuqAo1+lSqeW8Rpb4L7xlAWA4ugSBKDMk/KxpzTGu3Q== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:date:from :message-id:mime-version:subject:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=d4eMSXDFehwIcV9Ej T6oxKUABuql8PUhn6WfPUYtpws=; b=ecw88pd2hHj2qwLvt3OcHqvSBnXP3UkC5 7is3XKhpiDsMDf2Zrtpn19W35pQIscNsgZym0OAIv01Kf8Ppmk29jXD8opq8Ce/f Xa8GPDAeP2cQuhH4RhoF05rj0fUKCLbPQo9OZV8GYBREMZ2qrb7XZWBqxYfPD+yz 8UCQB0mqLW9tGS+NbPbaUDy1TgP140ENLbnbmGu7F7iXFziPAaTory+qDH3ELGc2 hISIT61u+1nQE0LBM43bnZlYDhLvl7AYn5Rm1hhrl+rrbdjJ+pa1FMddsoaAknfN mES0WB4WDH+2LV2SN1wB9MVcj7FcC8zUEj2r5ovXiQBqCEg6FKZWg== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedujedrudeglecutefuodetggdotefrodftvfcurf hrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecuuegr ihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenucfjug hrpefhvffufffkofgggfestdekredtredttdenucfhrhhomhepvfhhohhmrghsucfoohhn jhgrlhhonhcuoehthhhomhgrshesmhhonhhjrghlohhnrdhnvghtqeenucggtffrrghtth gvrhhnpedvledvudehvdduudevuedvveehgeduleegiefgjeehudehtddtgeduffejiefh gfenucfkphepjeejrddufeegrddvtdefrddukeegnecuvehluhhsthgvrhfuihiivgeptd enucfrrghrrghmpehmrghilhhfrhhomhepthhhohhmrghssehmohhnjhgrlhhonhdrnhgv th X-ME-Proxy: Received: from xps.monjalon.net (184.203.134.77.rev.sfr.net [77.134.203.184]) by mail.messagingengine.com (Postfix) with ESMTPA id 68BDD3280059; Tue, 24 Nov 2020 17:40:30 -0500 (EST) From: Thomas Monjalon To: dev@dpdk.org Cc: Matan Azrad , Shahaf Shuler , Viacheslav Ovsiienko , Andrey Vesnovaty Date: Tue, 24 Nov 2020 23:40:21 +0100 Message-Id: <20201124224022.2550640-1-thomas@monjalon.net> X-Mailer: git-send-email 2.28.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dpdk-dev] [PATCH 1/1] net/mlx5: fix flow shared action destroy error code 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" In the function rte_flow_shared_action_destroy(), the errno ETOOMANYREFS has been replaced with EBUSY in the commit dc328d1c555a ("ethdev: rename a flow shared action error code"). Another occurrence of ETOOMANYREFS, added later by mistake, is replaced with EBUSY errno. Fixes: fa7ad49e96b5 ("net/mlx5: fix shared RSS action update") Signed-off-by: Thomas Monjalon --- drivers/net/mlx5/mlx5_flow_dv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/mlx5/mlx5_flow_dv.c b/drivers/net/mlx5/mlx5_flow_dv.c index 253f598310..aa21ff9613 100644 --- a/drivers/net/mlx5/mlx5_flow_dv.c +++ b/drivers/net/mlx5/mlx5_flow_dv.c @@ -11541,7 +11541,7 @@ __flow_dv_action_rss_release(struct rte_eth_dev *dev, uint32_t idx, queue = shared_rss->ind_tbl->queues; remaining = mlx5_ind_table_obj_release(dev, shared_rss->ind_tbl, true); if (remaining) - return rte_flow_error_set(error, ETOOMANYREFS, + return rte_flow_error_set(error, EBUSY, RTE_FLOW_ERROR_TYPE_ACTION, NULL, "shared rss indirection table has" -- 2.28.0