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 A6338A0C52; Wed, 24 Nov 2021 10:36:30 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 5E2BC41159; Wed, 24 Nov 2021 10:36:22 +0100 (CET) Received: from NAM10-DM6-obe.outbound.protection.outlook.com (mail-dm6nam10on2046.outbound.protection.outlook.com [40.107.93.46]) by mails.dpdk.org (Postfix) with ESMTP id D321E41104 for ; Wed, 24 Nov 2021 10:36:19 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=jNFG60scKKtBNy4nr+lQhi8l3yX+ontd4xxaZcY5uMeOn6kuAoSMd89hXOxml2HDSvwZ6InOT+zUrmw2mg8e+eSM8lUtkHCcwAlUE9PqcmKjQPwQSNBDrUB+x3PJE7NM8Kt/CkCZEP7Ixp6/qgqgHy+WSiabfabRY0GnXyFUF5I8capXGV5KwbJn7PwQ0NDLUTAfflFjS1fW4Q2bce/Yt8Iv4c6mR2lwDe8lzP4rQrqMTGMGyIGF8pFkPzENAXYEHf/tIxfpMkRpze3SGkQLSW4B1VD83JBg0150epoovbF4R99lP8/Q8J6r2e9BkTlB9dS7JtV1OhYEMX5T6f0Fiw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; 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=vq/LAOBLAG5sSjQvLmhTNdPhMNC2snP6xNENQn4Y3xI=; b=FJ1HIG2jK5cltJMK7xAnoIo1SpkqEMyO0fXbaxfoPOGXycxCSNHq3uXsP08oPmUWNzSG9t8qs7V2xjcXPZtysr3bDyM003z80PyMR5B8UAxjMef9c8ssbTye1YUPaWea7th2F9F66asiC3LI+pz4Hv73PcXf9XunRQAvByUmnr1ZfZjwl67PeEqmKb+TefYhXiGfXgDcasicpFaqfu6pRlokq2vQPtUxqCzfV9AhTXanGpPPBQpZO0D2xiXb/48pvKSS6WfVSvjUg5pbuPZmTI4UyFszonMgeJTfGLpnwnZDxw0/yQtIJUwyd/mqnVDfTIQBrEOomCfGIC026fyZCg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 216.228.112.34) smtp.rcpttodomain=dpdk.org smtp.mailfrom=nvidia.com; dmarc=pass (p=quarantine sp=quarantine pct=100) action=none header.from=nvidia.com; dkim=none (message not signed); arc=none 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=vq/LAOBLAG5sSjQvLmhTNdPhMNC2snP6xNENQn4Y3xI=; b=b3yMBHSzENP/asulQdb+J6AeDWaVhbE2xGIgeNV4n7blPi/bxFpjszXTvAQ6VrcL/dn0WmunhGg4mOgFVRj+PFuI+3draTFFbOopJurZQIvJkl9UQySk4PFzEHH6P+44Bb6FlNxq0aSrLk9kG8YO9Vfb1aA/HP/rp2NwyInbE5tzG5L0a5pcPX0mEwJypRMCsPf9mLnvhyo6Gwl1w6prgWD/cGxigNEpcB2RAPXvMud78ELa3OcMFWBUHAlrkXSwHts2IkoKxg4jZ3rF98HckSvaFyRkc+f0aCC0qkseMmZeQwVZeA4N78mrFQnioURPdiOXGSss6pM5igUp1NLdgQ== Received: from DM6PR03CA0054.namprd03.prod.outlook.com (2603:10b6:5:100::31) by MN2PR12MB4175.namprd12.prod.outlook.com (2603:10b6:208:1d3::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4713.19; Wed, 24 Nov 2021 09:36:18 +0000 Received: from DM6NAM11FT026.eop-nam11.prod.protection.outlook.com (2603:10b6:5:100:cafe::fc) by DM6PR03CA0054.outlook.office365.com (2603:10b6:5:100::31) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4713.20 via Frontend Transport; Wed, 24 Nov 2021 09:36:18 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 216.228.112.34) 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.112.34 as permitted sender) receiver=protection.outlook.com; client-ip=216.228.112.34; helo=mail.nvidia.com; Received: from mail.nvidia.com (216.228.112.34) by DM6NAM11FT026.mail.protection.outlook.com (10.13.172.161) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.4713.20 via Frontend Transport; Wed, 24 Nov 2021 09:36:17 +0000 Received: from nvidia.com (172.20.187.5) by HQMAIL107.nvidia.com (172.20.187.13) with Microsoft SMTP Server (TLS) id 15.0.1497.18; Wed, 24 Nov 2021 09:36:14 +0000 From: Dmitry Kozlyuk To: CC: Raslan Darawsheh Subject: [PATCH v2 0/2] net/mlx5: fix indirect RSS reference counting Date: Wed, 24 Nov 2021 11:35:54 +0200 Message-ID: <20211124093556.3358394-4-dkozlyuk@nvidia.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20211124093556.3358394-1-dkozlyuk@nvidia.com> References: <20211123223159.3324247-1-dkozlyuk@nvidia.com> <20211124093556.3358394-1-dkozlyuk@nvidia.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Originating-IP: [172.20.187.5] X-ClientProxiedBy: HQMAIL105.nvidia.com (172.20.187.12) To HQMAIL107.nvidia.com (172.20.187.13) X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: cd43889b-ab98-463b-0caf-08d9af2dddbc X-MS-TrafficTypeDiagnostic: MN2PR12MB4175: X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:5797; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: jNp5i6gQPKBhLY7jgyogHH0lKL/NNt7kXfB+gX0QT48XcfUooa5MgbojLMIScI0BZl0UyKVpfsSmGrSQmvowRTt6KAnHJj1PLvTnoXL5CDUTMom/58jMc47LFhYo/x+XfFzxnkpC5vjgy9YenhnfTF/crRCA6R6zevSAiXMNQrIU2o9XZrUlwR/zJ+cEWUkogbBBHEPnHqcp7Rf0oJDx2RMbBRM7zNnXTWuKZ8MAduwITyvhrX1U19fCS+GpKBL4EGQN8G8MycdNZ3d0IR8is55bO65/Sh9NgDIgcSkbGIXGjMo0S6/hgqKiu8j6s03bd3XzLRyz1Jjc0bSDev79eWEBdtO1SK4VsHOoCN4KBCAe20MJKNOeUOGq2+AHA605oCyoGewZJcj3CeHNjF5dZAdlM4Xx4YKD4Ged7R9HFvOuIcBOktYbn5CqyeTxLMD1XOOwQqQFiZzqyt5Kgqv5zjTJTz4r5xBzGvfLfs76LiU8puaFgj3Ag1TjrmT782LzVOgY8jzQRls09UNhgGSQbGNyL2Ca+Ft22YlsXvB30oK4YnNurkS9nASDzsEAZvcWnXyhlGDLdjryR6N/LpEbjU+I6qteFtgw9QXhK1cn07erY6mdWp6z+gt1v+978LcN7up8pwUNL1LZPqvg+uuQrJViNqrvEqJ0O+PkEXEzLRt3od/OJSwJDXb9iDyOzqS2rNtDn4+/EPTwV6MlT3cqIg== X-Forefront-Antispam-Report: CIP:216.228.112.34; CTRY:US; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:mail.nvidia.com; PTR:schybrid03.nvidia.com; CAT:NONE; SFS:(4636009)(36840700001)(46966006)(83380400001)(36756003)(6286002)(47076005)(336012)(4326008)(426003)(5660300002)(6916009)(70206006)(2616005)(316002)(7696005)(70586007)(1076003)(186003)(2906002)(8936002)(16526019)(508600001)(7636003)(8676002)(356005)(4744005)(36860700001)(55016003)(86362001)(82310400004)(26005)(107886003)(6666004); DIR:OUT; SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 24 Nov 2021 09:36:17.7024 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: cd43889b-ab98-463b-0caf-08d9af2dddbc X-MS-Exchange-CrossTenant-Id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=43083d15-7273-40c1-b7db-39efd9ccc17a; Ip=[216.228.112.34]; Helo=[mail.nvidia.com] X-MS-Exchange-CrossTenant-AuthSource: DM6NAM11FT026.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: MN2PR12MB4175 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 v2: * Fix build with GCc on RHEL7 (CI). * Fix RxQ leak when an indirect RSS had been created before the start and then modified after the start (Matan). Dmitry Kozlyuk (2): net/mlx5: fix indirect RSS creation when port is stopped net/mlx5: fix RxQ reference counting for indirect RSS drivers/net/mlx5/mlx5_flow_dv.c | 9 +++- drivers/net/mlx5/mlx5_rx.h | 6 ++- drivers/net/mlx5/mlx5_rxq.c | 85 ++++++++++++++++++++------------- 3 files changed, 64 insertions(+), 36 deletions(-) -- 2.25.1