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 BFE4FA0C52; Wed, 24 Nov 2021 10:40:50 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 8620641151; Wed, 24 Nov 2021 10:40:50 +0100 (CET) Received: from NAM12-DM6-obe.outbound.protection.outlook.com (mail-dm6nam12on2043.outbound.protection.outlook.com [40.107.243.43]) by mails.dpdk.org (Postfix) with ESMTP id D36D541147 for ; Wed, 24 Nov 2021 10:40:48 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=SYnmef2KOe47bsLdTLHjxepTYKCvKHy54gRw3D1coo390y/2BaEvu1kokLWpFii1JyfxJzS8jqgDm95BmrwioQLOwYXcJt97kUve8vNvNmXp/H1latWPQg9QsqNYRMRvm8oXZEl+F9jVnJQei8CWITfUl24AHG4ztWZwKdlE0bEsUQDAXvxS/qBuUCwdZxyLTlm6IM8b2U9K+Ie++hLR63w1uWjWuI6ZM78UipBCKjz6DJwfE217WuemEU3ca21JnVbO6u0S8OcQA5MTZR5won0OEgTPcmU1Ag4/B0g4d4NuhAe5ivWuttcqPz+KiVRo0D9a+w2ogU4QTmXfm6uY2A== 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=Mk3oG7ueHaY/5NAqPpHDp9mB/79NDQ6iLfeQc0z+vHU=; b=GDC98Nr1eCXDV62pdwf7fy4Hk1K3f9rb3uqU0MdKOcIyIPGWutoLc28KvNMtG+C74bdRJc+aI18xZvIEsOAFf/9KPhH/h0U+K2mfwoPmBbBR0WAQcuORJnrMswxee+COViZHOUsc1c4mD8OEUxLKEPSQ7nJv7I+dwMrZCC9BQpgfy3NihT+66uNHyOmWhUzADtYyrqd08GrEojsdv0ODGfcK5EHT6IRJvXNB3cAnmhaC38tcWL9O9fE1kMo6zYr5TXYZWpleTULPUfuMyA0sjY3fENNUD5JFjfB/f/fhBkTUza60LJxJuFbLl3h+kGSruhZLMXBHyMrteY4C0QyKkA== 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=Mk3oG7ueHaY/5NAqPpHDp9mB/79NDQ6iLfeQc0z+vHU=; b=nPFKgMX4VqhbhloAbOz95VHcumRp/B2bnXqNOoxIgWaSHZ5c8Qi/cW/f6coGGn9Mo1pYcF8I3nifHuWx57zg+2Y2qBaEnHeJfgSDzAuIeqhMzWXch7Is1rTSQ2BNJ/9gl5n7K/bBUgZktPsuABGzu1rx3+G0xF9nog8ycJTEG20HsuEn0QQCdUl7cek4M1abGSvgJPgApPKi4aTPv4K9ZmKN9EBObpaArhpsAnR2qXUJuAL/2wvn4vdfx3GWQ/ocm9lhmWOh5FUdIwQpyn18KY2MuWPPaKGQCSWIVg5kvYIe6stDRdySPyVqhG2SJMd0lPXXBAbh5SJus6zaoNfAXg== Received: from DM5PR22CA0019.namprd22.prod.outlook.com (2603:10b6:3:101::29) by CY4PR1201MB0103.namprd12.prod.outlook.com (2603:10b6:910:17::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4713.22; Wed, 24 Nov 2021 09:40:46 +0000 Received: from DM6NAM11FT003.eop-nam11.prod.protection.outlook.com (2603:10b6:3:101:cafe::5b) by DM5PR22CA0019.outlook.office365.com (2603:10b6:3:101::29) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4713.21 via Frontend Transport; Wed, 24 Nov 2021 09:40:46 +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 DM6NAM11FT003.mail.protection.outlook.com (10.13.173.162) 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:40:45 +0000 Received: from nvidia.com (172.20.187.6) by HQMAIL107.nvidia.com (172.20.187.13) with Microsoft SMTP Server (TLS) id 15.0.1497.18; Wed, 24 Nov 2021 09:40:44 +0000 From: Dmitry Kozlyuk To: CC: Raslan Darawsheh Subject: [PATCH v3 0/2] net/mlx5: fix indirect RSS reference counting Date: Wed, 24 Nov 2021 11:40:28 +0200 Message-ID: <20211124094030.3360057-1-dkozlyuk@nvidia.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20211123223159.3324247-1-dkozlyuk@nvidia.com> References: <20211123223159.3324247-1-dkozlyuk@nvidia.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Originating-IP: [172.20.187.6] 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: d4ed5a3b-e17c-4807-01eb-08d9af2e7dab X-MS-TrafficTypeDiagnostic: CY4PR1201MB0103: 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: HjutS7vy/Z5cEw2LEGYfO7kWz7611MZ2tGZ95EgK73+avHkOHA7fRSDhoC6p1VChaKtAmNRadLieNSGzWj9NktKRyOX1CmasA3bqILXXuWuWUkBnlzX+tBTsZbipzvH2aNIAWWaDh8rMH1rGGQ/YtggwiwXP6lxc3qp0jqvmg+HhLgfhcaZaNDxvdGETEkmQkPwPUKOb34wjeAWm8Gu2frJOmk0frQ4/oqhAvHYMhj+f5VUOv5ezFFzaDAwwxSjSH6QyBR+b2NQ7U8g8w8wHjOmqw2hNfcCbaik4WnuIXkorM4AxrfUKxCXLw/GevhatcIPrZxj6QwMBVs0meYPPB30odygWrtWyblA7xVRNT54foIZUvJSrZx8L8w91FL/YoYBWNEtspR5oIH8GtIR0FWFdd9mw9Tp/3I0FW24nYSZWGDdyP8+LuhQ/hpZ9gTPocj8sj7R7aMksiWm5MCquxqDM4qhUGSOmGT1xnwFK4xmMG10OkdqGnK4KpzKRy09pOq50Mk5QiL1ARu0/IbX8G5xNreeyV3NcjXo8mX4OQhLZ9EWJqgUhSJGmkJtnCWTX6Hnvae0mC6K1L+MAF5q71OWa1+EicM1BzwYzekN/LGmlj7CBQGRFoVeuGlswJQChidNblLluAdfoziPiAT0OUKOI7ffDtzaEqJQG7waPMvCVybjA88hch6+xWwDGzPUoiXGqbj9Wdn9gnbhr30B7dA== 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)(16526019)(186003)(26005)(6286002)(107886003)(86362001)(508600001)(6916009)(8936002)(47076005)(36860700001)(316002)(7636003)(336012)(1076003)(6666004)(8676002)(5660300002)(70586007)(70206006)(426003)(4744005)(82310400004)(356005)(7696005)(83380400001)(4326008)(36756003)(2616005)(55016003)(2906002); DIR:OUT; SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 24 Nov 2021 09:40:45.9742 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: d4ed5a3b-e17c-4807-01eb-08d9af2e7dab 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: DM6NAM11FT003.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY4PR1201MB0103 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 v3: * No changes, slipped when sending v2. 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