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 AE573A0C53; Wed, 3 Nov 2021 11:17:36 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 3E302410E5; Wed, 3 Nov 2021 11:17:36 +0100 (CET) Received: from NAM02-BN1-obe.outbound.protection.outlook.com (mail-bn1nam07on2067.outbound.protection.outlook.com [40.107.212.67]) by mails.dpdk.org (Postfix) with ESMTP id 9377840F35 for ; Wed, 3 Nov 2021 11:17:34 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=iuluALaJrO1BIofh2E5eDbakoEb00thrr2yrAAFPG7JIEvPK1cLmXvttQcJOLsESQui5Gj7VBrk91jJmNvD2/KmyvlCiZPtcV4IHSugWZNkIEvxHY+wFoLSF4q9ZlJ9q4Y3mxtl0Fkh1TDdSvCwp2cr3Ffc69uoSogrFziWcUsq6y/7PpzGkgPjmCj/X89dek2VfnfSIlOSkNd1iAC+MyzeuA23oa20MNi659JtP+r4i20S5cMFm8Pl5JAvx61P8ZAjzh//HkckKLz9xq0Ce4DUDoXvjoXkgLOD31WVyrrD7z6Bs4MEl5vIGtBDwxkRF/zyNqmsLDlgzV3ye/pazbw== 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=Aqy0J23D2T02ioszUTEXUqvJfUl4ewjymWhXvVWe08s=; b=WvSwPHyoVCu8BNibDXkWI8Lje2sOWgrQ7CZTDGhuAHaTFUbNLw2E1MdSMPkxAYcNyNnc6owo7hJK3I0UXWPWqqjG+PdcLBYj7LMJFUkoPGSGiRpvQ5+tGpB1MCcDfFA3DZmV3Wd21eg0u4QB3hFpP+Z5i7f7lAZJTJIF/mL2RSd8aouoI+oZpUw7XJzvErQs7KgQWiXh5Rn6iQc0LBQXc6MfEyQvhMIBkeVlwSmI6kE8M9w5+3LDk0/3FrlCloY55/q/ViqHmlxRDHjCC6OwJegwGjZAT+FtC/SEE81ePKYCGduORhXwRvyNEiHZGj9NApYCcre57TDV6B+tQ4JrwQ== 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=Aqy0J23D2T02ioszUTEXUqvJfUl4ewjymWhXvVWe08s=; b=QJpiSlqW+pramjbiR3wDwQqec/lDEx9Q8K9FmqqH/8WyXVO716Kv2bB8XUvZ5rvQu8uRVloNdPm1dTj/Mmcw6jNTfZSC7R7E6sGZ334d2Uvp6raKq8guMOMYDo8BUhR4K992erBv3Sv66L+AbCJWjiXeP0JG1pXMqdOom2CPkxdC5KcCdsTbpJMdYxkZIN2c7r24P5xFMSDQkxAu6cnYTHfg6ybh9dupFNviXpqyBzCfHby4djvs+Umhfk3ISrJKs34iyXSkp26kuPnGZ6iwCiilTzjEUgBVhij3+n+gkjzjMX2UydKA3G7IR1jYzK7rgY/ys3crkSULru1jVl8JZQ== Received: from BN9PR03CA0421.namprd03.prod.outlook.com (2603:10b6:408:113::6) by BL0PR12MB2817.namprd12.prod.outlook.com (2603:10b6:208:36::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4669.10; Wed, 3 Nov 2021 10:17:32 +0000 Received: from BN8NAM11FT064.eop-nam11.prod.protection.outlook.com (2603:10b6:408:113:cafe::14) by BN9PR03CA0421.outlook.office365.com (2603:10b6:408:113::6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4649.15 via Frontend Transport; Wed, 3 Nov 2021 10:17:32 +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 BN8NAM11FT064.mail.protection.outlook.com (10.13.176.160) 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 10:17:32 +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 10:17:30 +0000 From: To: CC: Matan Azrad , Thomas Monjalon , Michael Baum Date: Wed, 3 Nov 2021 12:17:04 +0200 Message-ID: <20211103101707.1418097-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: HQMAIL107.nvidia.com (172.20.187.13) To HQMAIL107.nvidia.com (172.20.187.13) X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 79120e85-43b6-400d-f5cc-08d99eb32637 X-MS-TrafficTypeDiagnostic: BL0PR12MB2817: X-LD-Processed: 43083d15-7273-40c1-b7db-39efd9ccc17a,ExtAddr X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:345; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: HS7yRwFFKAPjKS9cIJXP06EYjPlHrXfuO48GwVJWTW7MLmk1S3IoQIx9GisFvDTFvPPmBE6yt7AqtQjnMOdwnIM86Xazb6NzaWJCn8BmMGDl5WXVWx5vlTIOyhlKs5WhKd1YponSVaGS6/Xh8Rg8XB5utykIT7IlI74k0CrthUBNZgeT+rV1pgehhp/I3JXqul/xYpfjZtLm4ouVRryV8qmnmXktIaRid1VsbP2hRznpLuRY3jQgrVB7xLD9scQiWW8rUmTg/xXHTSMPac1cyjRV1lgl8QULiUyBEizffBxF+LMhJpSdgSwUP6vfOKdgzb0APdwt9g7aI5UMbxY9CPG1bi3Z7tXcwaAir5kQtsy72Rox6Ex9MiugACqeGZ5oinS0RJA4NXgw5yi+ntURAqXW19x7r0UAKUq3bJZMPlaUMLIGFHhwKKqX0riqu0/oRxgfHnjvMUUs1IUaxLFvJpiQPxzI9FEcAlHrxF8xYtoFLhwm01Ujk/vtuPEhWbBtBj0Ia0NRGCQCT/p660oj89uz4rCd6Gai1mmi6ZD6hOr/9dFOxZENZdM60Dzhkv+ZUQkDMOa0hX/3OOI2g8ACYFsIih5F9JMAeU2yvX/nnmGJW7IL/an3bIDfvzzlBcKO3EWZ+BGIpBOJ/ylOxT+gTyjITc1a644pl085pyHjZz8eQiHwQ6O06FhuU2eK/myD8/eVQfEMtROOt5UznHsPrw== 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)(8676002)(36756003)(1076003)(36860700001)(86362001)(6666004)(7636003)(5660300002)(36906005)(47076005)(508600001)(54906003)(2876002)(8936002)(6916009)(2616005)(70206006)(316002)(70586007)(356005)(107886003)(26005)(7696005)(55016002)(83380400001)(16526019)(4326008)(336012)(2906002)(6286002)(426003)(186003); DIR:OUT; SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 03 Nov 2021 10:17:32.5303 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 79120e85-43b6-400d-f5cc-08d99eb32637 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: BN8NAM11FT064.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BL0PR12MB2817 Subject: [dpdk-dev] [PATCH 0/3] mlx5: fix performance degradation 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 Due to sharing MR management in common, Tx performance is dropped. This series back improves performance in a variety of ways. Michael Baum (3): common/mlx5: fix MR search non inline function common/mlx5: fix redundant parameter in search MR function common/mlx5: make MR managmant port-agnostic for MP drivers/common/mlx5/mlx5_common.c | 10 +- drivers/common/mlx5/mlx5_common.h | 7 - drivers/common/mlx5/mlx5_common_mp.c | 38 ++-- drivers/common/mlx5/mlx5_common_mp.h | 44 +++-- drivers/common/mlx5/mlx5_common_mr.c | 210 ++++++----------------- drivers/common/mlx5/mlx5_common_mr.h | 70 ++++++-- drivers/common/mlx5/version.map | 4 +- drivers/compress/mlx5/mlx5_compress.c | 4 +- drivers/crypto/mlx5/mlx5_crypto.c | 24 ++- drivers/net/mlx5/linux/mlx5_mp_os.c | 39 ++--- drivers/net/mlx5/mlx5_rx.h | 10 +- drivers/net/mlx5/mlx5_rxq.c | 6 +- drivers/net/mlx5/mlx5_trigger.c | 4 +- drivers/net/mlx5/mlx5_tx.h | 27 +-- drivers/net/mlx5/mlx5_txq.c | 3 +- drivers/regex/mlx5/mlx5_regex_control.c | 3 +- drivers/regex/mlx5/mlx5_regex_fastpath.c | 29 +--- 17 files changed, 204 insertions(+), 328 deletions(-) -- 2.25.1