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 C39CF460EE; Tue, 28 Jan 2025 08:54:48 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id B3E2F40E1F; Tue, 28 Jan 2025 08:54:48 +0100 (CET) Received: from NAM12-BN8-obe.outbound.protection.outlook.com (mail-bn8nam12on2042.outbound.protection.outlook.com [40.107.237.42]) by mails.dpdk.org (Postfix) with ESMTP id 749AF40E1C; Tue, 28 Jan 2025 08:54:47 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=L+ZrsU21ICt57y9PHfq1MsiKfdPfsqUsP0RqzW5UBgN2jH5u5GLyj6y8u0OGpm8TlNX3XhwNH2vlZDBfVHALhL440XeuQJB6+lhK7Ag+7hflVjeHg19Lu61zGf6oJHc2P4p/whKaduMo1TB4ySZjpLAWq1ikJy63jA9hqhPMIwsP+9EVlvcsEKPtGof2TjJo7iQ9WYR1jGKvK+hAa1c3qt4IvcCYmDOzpaofsdup3B2Pb0SH6kWbMlR635BAY3mK5X+4abYjYn8lUFyI4B+C4E8G1gQDS24TW/Ig8WnQndQ+zgSheaGt66Fj83wOLRfUTbGmNcv/gs6jCnZb5Fn+2Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=Uzx//K40bZ5DCLLpur2dBt9FlThcbHwv43sEBczQcYs=; b=Na+vjYpLFRI3RyX9lsxpaWwrjNkwkGRF2qlWivPLTq5XYPIstAYX1YWtjQdMjPYkfoV/okj9zvA1qYnA8lf+isTG6U5VnMoSMGxWveN+ilV/Hl8I9pVKCxWhw0iSJlRsl5GG/HW4rwNlh2hhC9pFAjPczGA+5DB83MSWO4E0nrgdlAQMqixb2utLisSn1lc/dKaJrQEATwQ5OBZSxceDKcq7h+lFWHhqcVV6NyvIrP/VwUI/MsYmzxEyUDGTzedxLmhi6ka0hJCTIcEhOPn6AGd1ZYGGpbiBu9xFPQp9BjtOZ06Aq1xr5ANoVc9SAlRFA7RiqfO550hp8ObXRA6BoA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 216.228.117.160) smtp.rcpttodomain=dpdk.org smtp.mailfrom=nvidia.com; dmarc=pass (p=reject sp=reject pct=100) action=none header.from=nvidia.com; dkim=none (message not signed); arc=none (0) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Nvidia.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=Uzx//K40bZ5DCLLpur2dBt9FlThcbHwv43sEBczQcYs=; b=hY3rjZeqxBkO4KJK7sirQkcz+BWyIL97SCTkyf92b2QTr0iOY9sQi2LMOdUCDxEFeEcIKqQlycFGjMU7W+CkvYac6+QwKQmuMFlSz4iWopQO5A+l1msRflBVu+M9dcc22XGaHChh813dnuWwxykxZpEK5yeMKrDHs12xPW8wLjDW7NCAg35Pzi5sXTAjIYovwznLuXqPsYpze2Jy/twllz3lgeMQscyBBD2XXYZ34RXWzBlKn76+12wD4Jlu44nXvUBsklhNLWV+Ug+mCGIEXYy+cm/yTlWtXVnRmxpAo/DGTaqUISQAg0cPaVzNQn+qrf6zR2hXTQB3w9guPKxgTA== Received: from CH5P223CA0015.NAMP223.PROD.OUTLOOK.COM (2603:10b6:610:1f3::15) by IA0PR12MB7506.namprd12.prod.outlook.com (2603:10b6:208:442::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8377.22; Tue, 28 Jan 2025 07:54:44 +0000 Received: from CH1PEPF0000AD7D.namprd04.prod.outlook.com (2603:10b6:610:1f3:cafe::95) by CH5P223CA0015.outlook.office365.com (2603:10b6:610:1f3::15) with Microsoft SMTP Server (version=TLS1_3, cipher=TLS_AES_256_GCM_SHA384) id 15.20.8377.24 via Frontend Transport; Tue, 28 Jan 2025 07:54:44 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 216.228.117.160) smtp.mailfrom=nvidia.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=nvidia.com; Received-SPF: Pass (protection.outlook.com: domain of nvidia.com designates 216.228.117.160 as permitted sender) receiver=protection.outlook.com; client-ip=216.228.117.160; helo=mail.nvidia.com; pr=C Received: from mail.nvidia.com (216.228.117.160) by CH1PEPF0000AD7D.mail.protection.outlook.com (10.167.244.86) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8398.14 via Frontend Transport; Tue, 28 Jan 2025 07:54:44 +0000 Received: from rnnvmail205.nvidia.com (10.129.68.10) by mail.nvidia.com (10.129.200.66) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.4; Mon, 27 Jan 2025 23:54:33 -0800 Received: from rnnvmail204.nvidia.com (10.129.68.6) by rnnvmail205.nvidia.com (10.129.68.10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.4; Mon, 27 Jan 2025 23:54:32 -0800 Received: from nvidia.com (10.127.8.14) by mail.nvidia.com (10.129.68.6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.4 via Frontend Transport; Mon, 27 Jan 2025 23:54:30 -0800 From: Maayan Kashani To: CC: , , , , Bing Zhao , Viacheslav Ovsiienko , Ori Kam , Suanming Mou , Matan Azrad Subject: [PATCH 3/3] net/mlx5: fix flow flush for non-template flows Date: Tue, 28 Jan 2025 09:54:05 +0200 Message-ID: <20250128075406.175330-4-mkashani@nvidia.com> X-Mailer: git-send-email 2.21.0 In-Reply-To: <20250128075406.175330-1-mkashani@nvidia.com> References: <20250128075406.175330-1-mkashani@nvidia.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-NV-OnPremToCloud: AnonymousSubmission X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: CH1PEPF0000AD7D:EE_|IA0PR12MB7506:EE_ X-MS-Office365-Filtering-Correlation-Id: 424991e7-f10e-454e-73ac-08dd3f71077a X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; ARA:13230040|1800799024|376014|36860700013|82310400026; X-Microsoft-Antispam-Message-Info: =?us-ascii?Q?nUsA7Y5GesGJD43LtM2pvzXirZd6KlR1u2gGfIV/Ta5GL9F0wYol11+dFb0M?= =?us-ascii?Q?X0IHVunDGo4lhFe9qI0g7pUWJQDXtTYNa5C7OfwXj762RGBW8Dv0pVxFTRsJ?= =?us-ascii?Q?f68DnrIxie5K/gg7E/bUMFZ/CstxMpTqj7JGTsAdKemKQqSgGNc6HGCgYBiI?= =?us-ascii?Q?GVMggaXBaJ/v9Qf/JSH2KNZrWlQYPktGg8VlDX3VXtHJn8yiYkxv1EFIFPPI?= =?us-ascii?Q?KavBVPDgtr/Oi+ADBwoKWcjMbBAJOY4Fuyaq+wCI31fRTQfmZ6BBpzZjIsRE?= =?us-ascii?Q?EdTSUo/LTnxsfR8HYk2By6ezVvj/CkxJoQnyjLYe4TnIMy4uyAvzK0m/NFxH?= =?us-ascii?Q?Mn/hwHspv+OgtB3smn7HsHpWcbUiIbCBXVRMAWPYRQnbvF+VAho09YhBi2h6?= =?us-ascii?Q?sotyZWyIssNxci/j4zFJATfvzs6MLoxQ0gP3ZWkEA8pVizQm8yAToRDPkRnR?= =?us-ascii?Q?pzFcG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ssaO6dUrJ9L8q1pMe4x?= =?us-ascii?Q?4UZ7Ud+4mHwXnJL6z/PZxtK5VGK62ZNAkeuQxDhu/5MiMPCTNViFdIC1R2TR?= =?us-ascii?Q?20zRq4hPRgn8MphanEhx1rx9Bbt8CAcc8tJUf6qqniAcM3UrTZ5oa/NKnL5R?= =?us-ascii?Q?L9puyr4yxU0uxio=3D?= X-Forefront-Antispam-Report: CIP:216.228.117.160; CTRY:US; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:mail.nvidia.com; PTR:dc6edge1.nvidia.com; CAT:NONE; SFS:(13230040)(1800799024)(376014)(36860700013)(82310400026); DIR:OUT; SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 28 Jan 2025 07:54:44.4235 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 424991e7-f10e-454e-73ac-08dd3f71077a X-MS-Exchange-CrossTenant-Id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=43083d15-7273-40c1-b7db-39efd9ccc17a; Ip=[216.228.117.160]; Helo=[mail.nvidia.com] X-MS-Exchange-CrossTenant-AuthSource: CH1PEPF0000AD7D.namprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: IA0PR12MB7506 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 Fix flow flush for non template flows on top of HWS, in another fix it was added return after releasing template flows. Need to drop the return in order to release non template list of flows. Fixes: 1ea333d2de22 ("net/mlx5: fix Rx queue reference count in flushing flows") Cc: stable@dpdk.org Signed-off-by: Maayan Kashani Acked-by: Bing Zhao --- drivers/net/mlx5/mlx5_flow.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/net/mlx5/mlx5_flow.c b/drivers/net/mlx5/mlx5_flow.c index 9203643300d..3d3b422f057 100644 --- a/drivers/net/mlx5/mlx5_flow.c +++ b/drivers/net/mlx5/mlx5_flow.c @@ -8121,7 +8121,6 @@ mlx5_flow_list_flush(struct rte_eth_dev *dev, enum mlx5_flow_type type, priv->hws_rule_flushing = true; flow_hw_q_flow_flush(dev, NULL); priv->hws_rule_flushing = false; - return; } #endif MLX5_IPOOL_FOREACH(priv->flows[type], fidx, flow) { -- 2.21.0