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 10B41A034C; Mon, 8 Aug 2022 11:42:45 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id E4C1D4067B; Mon, 8 Aug 2022 11:42:44 +0200 (CEST) Received: from NAM04-DM6-obe.outbound.protection.outlook.com (mail-dm6nam04on2065.outbound.protection.outlook.com [40.107.102.65]) by mails.dpdk.org (Postfix) with ESMTP id 997144014F for ; Mon, 8 Aug 2022 11:42:43 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=gl3ce6QuliPwmAhQ+ikNczYxes/ZAQncVTyak043hot09t//Y++Qddb0I34VSNaMK2XT5UOgEfCBtgFdPqtkQ+nzxu6tSttlaEEuQJ82vnMpYAO3YTJtu/ua+wXWqYp/6lsIBHUg6IHHGexvv8FMc9JKXMb00nxCtZ3OXgzOGHFaMhzIKreR2CNbstI8x0SmkS2iHx5HzifDYwX86qvKFjERxOeQFMkZooGWwnCXXjaY+qus7nkynKbckoNWADf6So8ZpgLGlRvvNAw+diDMa0sbvqphc/rd28rom7FenxGSQo7g0DH77wON1daszxBxPrcUPP2FiofRAF/GkapvdA== 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=gYqoX7EU2iSqMiO/tLMhPUYYQ7diB8jhvvkWnmDmAys=; b=apmwo+vjNXVRT39YGJZN0loEVvFbjBNq9qjjsQT+wazV4jS4E/ceWoMzZywo2AbhyaIehp+KVCk02IIEvs5FdannEYLjrCdZQrDMzv7dvDUJMS3oCQ0waVz5iIGZeQBc0gPGmFlO7ThQekPozbGEG21WdRQbxIFP43pACLutyQKlWt29aVSuH1aI+HabTaw6af+oALS+ALzw4YvHHG0VeyDMaWi5iR3rS3zRr46kfZ5RS1aj3f6sQBaR6o/j4YXHKfkK0ut4XRhmByP0QJMiyh9PmmOF0lkzHye3UNiKr25vFtLmWYrO4fvs2EsSIxndrfKaFnEuOnAIndiStEMZtw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 12.22.5.236) 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 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=gYqoX7EU2iSqMiO/tLMhPUYYQ7diB8jhvvkWnmDmAys=; b=s3vGMYoQ3AitP1oXSL2R4114lxBYgL5lyDKJUlAzS257w9V2kDBHtvcmOU3R4HOeTnLI2tkC0oVMWQ+FqVwrXoatvQTaJLEHFfeNBKnvcDO+3bduIgrB77nbkl1EBqb/FjesWRYau8AQU/BKxvYhVjouL7K6PDeQbvnlAkkuRvNyqpq2ufi9QGpOCQ10KR+r2FuYUSUQC5AGIXHlsFhxeBhqyg2xt5evDJ7HcbaBE33inrrZmgw1A99u9CU6piqXeowz+0507Lcph/46OK2xj3OggQcfS7RLnFsnPyh9LHjkU5KI7YAv7plXRS6/nK7VOYkOe0G2PxdYP30c6QNiEQ== Received: from MW4PR02CA0012.namprd02.prod.outlook.com (2603:10b6:303:16d::35) by DM6PR12MB3644.namprd12.prod.outlook.com (2603:10b6:5:118::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5504.17; Mon, 8 Aug 2022 09:42:41 +0000 Received: from CO1NAM11FT031.eop-nam11.prod.protection.outlook.com (2603:10b6:303:16d:cafe::40) by MW4PR02CA0012.outlook.office365.com (2603:10b6:303:16d::35) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5417.24 via Frontend Transport; Mon, 8 Aug 2022 09:42:41 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 12.22.5.236) 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 12.22.5.236 as permitted sender) receiver=protection.outlook.com; client-ip=12.22.5.236; helo=mail.nvidia.com; pr=C Received: from mail.nvidia.com (12.22.5.236) by CO1NAM11FT031.mail.protection.outlook.com (10.13.174.118) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.5504.14 via Frontend Transport; Mon, 8 Aug 2022 09:42:41 +0000 Received: from rnnvmail204.nvidia.com (10.129.68.6) by DRHQMAIL109.nvidia.com (10.27.9.19) with Microsoft SMTP Server (TLS) id 15.0.1497.32; Mon, 8 Aug 2022 09:42:40 +0000 Received: from rnnvmail201.nvidia.com (10.129.68.8) by rnnvmail204.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.986.26; Mon, 8 Aug 2022 02:42:39 -0700 Received: from nvidia.com (10.127.8.11) by mail.nvidia.com (10.129.68.8) with Microsoft SMTP Server id 15.2.986.26 via Frontend Transport; Mon, 8 Aug 2022 02:42:39 -0700 From: Dmitry Kozlyuk To: Subject: [PATCH 0/2] common/mlx5: fix multi-process mempool registration Date: Mon, 8 Aug 2022 12:42:34 +0300 Message-ID: <20220808094236.3395516-1-dkozlyuk@nvidia.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 1a15ae48-5a00-49a5-a5ca-08da7922565f X-MS-TrafficTypeDiagnostic: DM6PR12MB3644:EE_ X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 0djXyYfMBFazpdLnfRO+gDGL7rJgWWn6GQMPL6FUZDRaPJcDGcnYPm2FJAu8dOpQ/b1FygKLdHKr54kDdV98GSzbJ2udKitLFgTxa40wRvjf5LaFyKo4LiwxHP9tCpVrFLK9+wKzsiolSBZg0qT8gLefkVmVton1sNfedwcsvTnYngEcfdQ94nzwvj2hTDrYf+LvkZjetCMdHjdm2Lttx/ztoOaMsB3csyyIXbQ0LFj/mkM6buvFeJUIr2G3Bth2FlLGQGsAZKat5zQ1zD/wEUvEjcti12V2ycv+d8+wxcXF4aKpx5uTOP7gQXiaHwWq66MHMEtZXr/UZUW4sO7Bx08+u4cFIOR5UXZ5Z4qfqKkjdwqQsPP+ZHRCeF/ChjGXYOOBIHktP8vjC/eODXQrgc+P7U7npHjYEr9rE5eJlnO12VNNdrqYtU9XPvyqHkh8+1HziSFnldoAUSIVAF/rq9gNhFxVTpRc+UIvMuosfA7/v+ihCtdJRSdhi7UVs34zgJTun1Wsktu+M+VBHfX2vnIze8VQC6zzMYv3Ff1h0uEdZ64bmZASEXYC5StQxDqaqUCphJL3rfpfJmGayVF3C4q4YnL/SdCH8aUdSdd7mQ2QbWGvPTAzorway4nTPEOfQhHbYF9QFSx6inAIbbjM0PZ5syd/5f1Q5QsPM8Nbta+IkiDuLdc8YGnPfHkqyuZ1OdM0ppjrwOI59rfUPGaC5oBI+twoQF3+tyO68tj9ruYU9jG4kqgQ6CfDjpk06aoYxDu5t1DZgNKIlLMmqi5EbBVBt2Xv6LfnTHSPLCyv8chaBfim2cW+emyfQXx15BzMMoGekbKlusA+Y4LUI5hhVA== X-Forefront-Antispam-Report: CIP:12.22.5.236; CTRY:US; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:mail.nvidia.com; PTR:InfoNoRecords; CAT:NONE; SFS:(13230016)(4636009)(396003)(376002)(346002)(136003)(39860400002)(40470700004)(46966006)(36840700001)(356005)(41300700001)(6666004)(26005)(6286002)(7696005)(55016003)(82740400003)(82310400005)(36860700001)(186003)(47076005)(426003)(336012)(2616005)(1076003)(86362001)(81166007)(83380400001)(8676002)(40480700001)(70206006)(4744005)(5660300002)(40460700003)(8936002)(70586007)(6916009)(478600001)(2906002)(316002)(36756003)(36900700001); DIR:OUT; SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 08 Aug 2022 09:42:41.0054 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 1a15ae48-5a00-49a5-a5ca-08da7922565f X-MS-Exchange-CrossTenant-Id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=43083d15-7273-40c1-b7db-39efd9ccc17a; Ip=[12.22.5.236]; Helo=[mail.nvidia.com] X-MS-Exchange-CrossTenant-AuthSource: CO1NAM11FT031.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR12MB3644 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 Dmitry Kozlyuk (2): mempool: make event callbacks process-private common/mlx5: fix multi-process mempool registration drivers/common/mlx5/mlx5_common.c | 15 ++++---- drivers/common/mlx5/mlx5_common_mr.c | 2 +- drivers/common/mlx5/mlx5_common_mr.h | 2 +- lib/mempool/rte_mempool.c | 54 ++++++++-------------------- lib/mempool/rte_mempool.h | 2 ++ 5 files changed, 27 insertions(+), 48 deletions(-) -- 2.25.1