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 9D744A0C47; Wed, 3 Nov 2021 19:35:40 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 2D2F140E0F; Wed, 3 Nov 2021 19:35:40 +0100 (CET) Received: from NAM12-BN8-obe.outbound.protection.outlook.com (mail-bn8nam12on2064.outbound.protection.outlook.com [40.107.237.64]) by mails.dpdk.org (Postfix) with ESMTP id AD71640689 for ; Wed, 3 Nov 2021 19:35:39 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=G18sCD5MmVx5tJogXkrs+ew7dtlwcYA8+rhHtueVBKO3v9xZ2y+fmC63vhgyy4OPfypNTG7cqsVEQGDbuCFz/vlBIZejEOFmpDxoUXDXmdN3eDT4pFYnEfCCYPRPAJQ21unQ6cLA6eSPzoGu04d4GsTxZxRvIxGN2gWYdimEFEDI9b/RqxFtCNn8iEMA+fa5Uqk17crhw9Pal6dWHjlxKZ0eIWIzoTz4dGSLqWHGHcLJwB5oFaE74x2z0b70cf5kpmt6gB1THX/hiSECHHnIbBD0vGEwIJ6fYqRVNdG4Ewt217XvqacnhWkytUQJ2dtbILBBDZJmuBNd1DnF95WwYw== 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=LUee/zX4kjrnMWfvJoHeE0IAxeBl+VTz57B5YD26x34=; b=jyBJBDfaPgoQ84kxywO6fotGVBDtmP1jruakKMdXP4LztNM8ifj11h82bzbWnMpAE6EUlWRRhZ8f8SfWm8PIOxa2XOiWrrnPcsE9z7Eki0txUbQJloknG1z05DMsrIxsh/WVQQ8QYf7+Gr9mnQvQoaKJ4C4d6Ro7ZVjSvUH8IA3dtDiB2Z4/5ia7zuunTsyctzqfHn9L0gNZwoPTiZpD3ytLLIEFip1ePXr0RBurf/ublClZ/A0IdzWi6nSMXvmqPH2INuDBQNolAHs3PwjaXWgSWeSvRmD0vLiuyAPnT2IPjK1DK7MttoMDQBtz9MRe3fvAuUFHl5yYOHxFH8S8jA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 216.228.112.34) smtp.rcpttodomain=monjalon.net 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=LUee/zX4kjrnMWfvJoHeE0IAxeBl+VTz57B5YD26x34=; b=qcqmZRT3VnkXbMP420UtlxhCCJLzx10qufnsdYTJggzVOD1UHy2P0Ghm4PrcssSf1nrJwMRuh+afTXNYoy4oFddYjWMXgt8qhnNLu8/l7KumKJcnDxq24766sDD74txaZj7vb4Nc3D7BcnyfdaaiU+hxrTh4F6TJzmXny7+ZanJSB/UnX355pLkJPzJOZGJysMw/QsFf5H/o02+62aeh6fdVS5XfX8ExzILszTY+aTr8+LTJlYtYE5HjDmYFlsDGgpe5IKT7H8Gn26bScukjU4LYtXP/i0e3f8XaDJdipDp1FY/dJ7c5KxmYC8KkXmrAyXV2n3Qol5Vvoepr8EE10w== Received: from DM6PR03CA0091.namprd03.prod.outlook.com (2603:10b6:5:333::24) by MN2PR12MB3535.namprd12.prod.outlook.com (2603:10b6:208:105::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4628.18; Wed, 3 Nov 2021 18:35:37 +0000 Received: from DM6NAM11FT013.eop-nam11.prod.protection.outlook.com (2603:10b6:5:333:cafe::62) by DM6PR03CA0091.outlook.office365.com (2603:10b6:5:333::24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4669.11 via Frontend Transport; Wed, 3 Nov 2021 18:35:37 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 216.228.112.34) smtp.mailfrom=nvidia.com; monjalon.net; dkim=none (message not signed) header.d=none;monjalon.net; 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 DM6NAM11FT013.mail.protection.outlook.com (10.13.173.142) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.4669.10 via Frontend Transport; Wed, 3 Nov 2021 18:35:37 +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, 3 Nov 2021 18:35:34 +0000 From: To: CC: Matan Azrad , Thomas Monjalon , Michael Baum Date: Wed, 3 Nov 2021 20:35:07 +0200 Message-ID: <20211103183513.104503-1-michaelba@nvidia.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Originating-IP: [172.20.187.5] X-ClientProxiedBy: HQMAIL101.nvidia.com (172.20.187.10) To HQMAIL107.nvidia.com (172.20.187.13) X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 36157074-e0ab-4dfa-a427-08d99ef8bac1 X-MS-TrafficTypeDiagnostic: MN2PR12MB3535: X-LD-Processed: 43083d15-7273-40c1-b7db-39efd9ccc17a,ExtAddr X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:4303; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: B5pIe6bP07tCYKv+PtCwaLUYg9P8UjC2TzQVjdEm/tSCXp3ltrQdgM333398/dP9VgCJ2kih84ETYwmhiBc0zEcg/X8L3+Ti6xxXBoKYqAsrVudwuxftb3QHiKIaUyYsDgcUJWMtbBg9wo0pUVDj0FMvlKBqRDsewq5l+1848jf8e+sTYW7QOfc5nJYqTER038yFmQEu6FXd1VuqEFnAT6cd1CWfktNxF4SR4B4S9yepyxomdAE8FwcPCOwvBZ49M2B3WUh6heloNDyBbYn+RznBUE+FB7fTdDKjNXXd/XjjYsKKx+qMvRea7g1rnEN7MzlHDtUyAnNPB9aofkfNMTsfMFLnVoxvY6sgsvWah+hNxzok06Z9g06V9MADuhAEXdiuRT6G7gs1TyQNYQge1/nPxTKo4GfaSUZLsQ0JqVhmIywdO5be2BSxSmswCLub34iowh5KKxqr23d9TmUTHIpnj88kAAx5jcUdWwjTmi2Jq8Xp2xY2dQS4h8gsnaR3hZbqrZXdVD/7DyTve5h5+engtKZ/AoUwJS9zSn6IQDmJuL7yYnZ30NnVI44Upo9XM6wD9zUc4D2XEKdXlOjIEAhx1GqFp1W0p3KrJ/80OjqrNF+QHqsliw6sidbwp2vOo5Kg6SAuuTCSC6HTv47ufVpX6C94w5/IIMAwJKPr7BzUzUCZ34dr1MFHefFz3LWcPXS6cg60S/u7AizEe3Lf2A== 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)(46966006)(36840700001)(82310400003)(107886003)(26005)(16526019)(186003)(47076005)(36860700001)(70206006)(70586007)(86362001)(426003)(54906003)(5660300002)(8676002)(6916009)(4326008)(83380400001)(316002)(2906002)(6286002)(6666004)(36756003)(1076003)(2616005)(356005)(336012)(55016002)(508600001)(7636003)(7696005)(2876002)(8936002); DIR:OUT; SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 03 Nov 2021 18:35:37.0297 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 36157074-e0ab-4dfa-a427-08d99ef8bac1 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: DM6NAM11FT013.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: MN2PR12MB3535 Subject: [dpdk-dev] [PATCH 0/6] mlx5: some UAR fixes 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 Sender: "dev" From: Michael Baum Some different fixes around User Access Memory object. Michael Baum (6): crypto/mlx5: fix invalid memory access in probing common/mlx5: fix redundant code in UAR allocation common/mlx5: fix UAR allocation diagnostics messages common/mlx5: fix doorbell mapping configuration net/mlx5: remove duplicated reference of the TxQ doorbell common/mlx5: fix post doorbell barrier drivers/common/mlx5/mlx5_common.c | 101 ++++++++---- drivers/common/mlx5/mlx5_common.h | 91 ++++++++++- drivers/common/mlx5/mlx5_common_defs.h | 8 + drivers/common/mlx5/version.map | 5 +- drivers/compress/mlx5/mlx5_compress.c | 69 ++------ drivers/crypto/mlx5/mlx5_crypto.c | 72 ++------- drivers/crypto/mlx5/mlx5_crypto.h | 6 +- drivers/net/mlx5/linux/mlx5_verbs.c | 48 +++++- drivers/net/mlx5/mlx5.c | 195 +++++------------------ drivers/net/mlx5/mlx5.h | 12 +- drivers/net/mlx5/mlx5_defs.h | 8 - drivers/net/mlx5/mlx5_devx.c | 24 +-- drivers/net/mlx5/mlx5_flow_aso.c | 81 +++++----- drivers/net/mlx5/mlx5_rx.h | 6 +- drivers/net/mlx5/mlx5_rxq.c | 11 +- drivers/net/mlx5/mlx5_tx.h | 103 ++---------- drivers/net/mlx5/mlx5_txpp.c | 36 ++--- drivers/net/mlx5/mlx5_txq.c | 79 ++------- drivers/regex/mlx5/mlx5_regex.c | 17 +- drivers/regex/mlx5/mlx5_regex.h | 2 +- drivers/regex/mlx5/mlx5_regex_control.c | 4 +- drivers/regex/mlx5/mlx5_regex_fastpath.c | 26 ++- drivers/vdpa/mlx5/mlx5_vdpa.h | 2 +- drivers/vdpa/mlx5/mlx5_vdpa_event.c | 33 +--- 24 files changed, 390 insertions(+), 649 deletions(-) -- 2.25.1