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 947ECA0C4C; Tue, 28 Sep 2021 14:17:19 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 0B860410E6; Tue, 28 Sep 2021 14:17:14 +0200 (CEST) Received: from NAM12-BN8-obe.outbound.protection.outlook.com (mail-bn8nam12on2048.outbound.protection.outlook.com [40.107.237.48]) by mails.dpdk.org (Postfix) with ESMTP id CA60340E3C for ; Tue, 28 Sep 2021 14:17:11 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=bC+LUQQlnvZinC555e3odd1f6swEnoZvR351p5hAX0KPRfBSad/ONbdGtdTEPG8lmRsxA4zXV3+fgpHGT0Ce10NZoix/frJrQHr2nSESslpSW1R/SuDZ43cR8LirG+jJBJ5bTKGx8ZqoSKmSmUJGAe85H+qehhA3CejDU26DINJEjdQ9hhjAVnQ9OUC20KvegVH0JBwuTcT2LtV/13kfVvlHoy7rloaayklTRvZqJ/Mg8Veop4cN/Kt6Q+P8ALj8IU00OCl1JsfvAdzRZ2EQ3/VQ6X904JRLXW7sLf+LGxmGIGWjrjWYbBERYUwMXIP6r3+uwfJO808Sqf3iKSrojQ== 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; bh=CM+67mR/em2bsAvA5pxpp65nepuLoITbW/B43zpUbos=; b=Um7F4R0KDtfhn/GUno6ZAHp+5Lz8gaTbB14hbYRVMNXA1qhIpy9IApES43+6CrOSS6szr0rRYJYvPq663WiRQqYyeHzasw/g1jx8xCwu1kzDM8o8pRJ4GeQdbl5xm3B54o0Vc7S7jkD+AxSHYvCXbTCVO/9bHUu4Bf/VOwtzmN3r33d2L2o00hKmPNUc34l5jjkanmMNc8ZenGgFdP0+SmezNcCHOZYCGtRVv7sW9A+2rp1g2gvpJCzmwbSEmjK3Mw4JmCBheEClRI4lXlC7Na6JuNyyJtpF1bjOggwa0U8Q+TCegwtdoVoB2YyX/YWECb1Pqah0f8dCrVfnainC1g== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 216.228.112.36) smtp.rcpttodomain=dpdk.org smtp.mailfrom=nvidia.com; dmarc=pass (p=quarantine sp=none 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=CM+67mR/em2bsAvA5pxpp65nepuLoITbW/B43zpUbos=; b=QH4p7SztKs7+RQYsWGTFNQqOKHK/F0hHS51fSqsb1IKoGl9zFBttIJ1zH1x0ge81WsJ2slz7cTdJzNS13qo8gMFph3gXLPkRAo09drhpM213SNAxAs9guRvA5yjiXePWVaskyP6fbJ/ltM8KsBpoSiZTlIlgbDvaqD5qnVHn1EBJ/bfC0FOXhShuTuVvlRv+bj+SeofY42y/hv9FfsIxtCWAKvflT7w5likUmJz+kuth1WLR6WXNpPCaGwGL2TNaaiCGEhocWzJ3AfTg4MiIo951dJGHmBsvoJxbFpPr8fRvAQpviB7jxblAobiomzhI7+c710sxXu4e17c5kHdW+w== Received: from BN9PR03CA0979.namprd03.prod.outlook.com (2603:10b6:408:109::24) by SA0PR12MB4415.namprd12.prod.outlook.com (2603:10b6:806:70::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4544.13; Tue, 28 Sep 2021 12:17:09 +0000 Received: from BN8NAM11FT068.eop-nam11.prod.protection.outlook.com (2603:10b6:408:109:cafe::71) by BN9PR03CA0979.outlook.office365.com (2603:10b6:408:109::24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4544.15 via Frontend Transport; Tue, 28 Sep 2021 12:17:09 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 216.228.112.36) smtp.mailfrom=nvidia.com; dpdk.org; dkim=none (message not signed) header.d=none;dpdk.org; dmarc=pass action=none header.from=nvidia.com; Received-SPF: Pass (protection.outlook.com: domain of nvidia.com designates 216.228.112.36 as permitted sender) receiver=protection.outlook.com; client-ip=216.228.112.36; helo=mail.nvidia.com; Received: from mail.nvidia.com (216.228.112.36) by BN8NAM11FT068.mail.protection.outlook.com (10.13.177.69) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.4544.13 via Frontend Transport; Tue, 28 Sep 2021 12:17:08 +0000 Received: from DRHQMAIL107.nvidia.com (10.27.9.16) by HQMAIL101.nvidia.com (172.20.187.10) with Microsoft SMTP Server (TLS) id 15.0.1497.18; Tue, 28 Sep 2021 12:17:07 +0000 Received: from nvidia.com (172.20.187.6) by DRHQMAIL107.nvidia.com (10.27.9.16) with Microsoft SMTP Server (TLS) id 15.0.1497.18; Tue, 28 Sep 2021 12:17:06 +0000 From: Raja Zidane To: Date: Tue, 28 Sep 2021 12:16:45 +0000 Message-ID: <20210928121650.40181-1-rzidane@nvidia.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20210915000504.5660-1-rzidane@nvidia.com> References: <20210915000504.5660-1-rzidane@nvidia.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [172.20.187.6] X-ClientProxiedBy: HQMAIL107.nvidia.com (172.20.187.13) To DRHQMAIL107.nvidia.com (10.27.9.16) X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 28cf5a4a-5c9e-498c-a8ff-08d98279e4be X-MS-TrafficTypeDiagnostic: SA0PR12MB4415: X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:1148; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: bwBtK5aISl2AYzfRz0+Cqbxlv7NMllb3pTvEAzj85u51uG/5sV+wZ3NYRFmhqHqjuJdpCsqrh2zw1dp3By7SqivtrJTBGLF1Vl7yWuN+nNmyY6LU8AD5d8xI0Xz1SaWTEjUyWGDaIyTDpfiPTobj0Xh2LuzwE+w6/aIUGF2qEZI9EOx8SoLr8xjgvkgIyUoyNs0Bf6OWiG1i3RYgUW26z/fNSWaK58qpXBvlImORYYLWP95gPdjAbfGsBEX12kevha553cwmk2CJIRULUgvhRCu9M95IlQi4cb//GBjKQNnfRlU3QEkzSxwO40JLZBAyLd1FKZCg5p9aof58KyQYQV+lcfGbZc/V/W7FuSYVINOPLjOqi/ESpZwM7JZjWgdYnR0aGHDOEbx8JPcxwv0G30fAgYDyCKN91Attj+ly4ZY3PvDnikOlM94If6stdT8cAyYahcEm3/6Ehq+BZpusmqmvsw6eL6VYdNMaxSiWclNR8BdBwRSJWknbRzfQgPE5ZpBzAI7NiNPJ/ZOF+LpXUSI2cFGyX/uql67hpJlNfeEqFtug8eHHo1VR9lE/cLOEiX/lyH2mQJU/aqVmJREH5wSYRUKR6iYXJ1ekSEe4CaBu9uTZ9mviO6O5h5DmE8w8HWuPVzCT3VhfZY2m3If8OhA17u1CIAKJ6gawlnamH9tPvGV9xr9DSAvPwXvbVoovV+ETY5nU0kfftFY+bYPAZA== X-Forefront-Antispam-Report: CIP:216.228.112.36; CTRY:US; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:mail.nvidia.com; PTR:schybrid05.nvidia.com; CAT:NONE; SFS:(4636009)(36840700001)(46966006)(36756003)(70206006)(316002)(2906002)(70586007)(356005)(6666004)(83380400001)(47076005)(6286002)(8936002)(36860700001)(186003)(5660300002)(7696005)(6916009)(55016002)(508600001)(7636003)(86362001)(2616005)(336012)(82310400003)(1076003)(26005)(8676002)(16526019)(426003); DIR:OUT; SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 28 Sep 2021 12:17:08.8280 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 28cf5a4a-5c9e-498c-a8ff-08d98279e4be 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.36]; Helo=[mail.nvidia.com] X-MS-Exchange-CrossTenant-AuthSource: BN8NAM11FT068.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: SA0PR12MB4415 Subject: [dpdk-dev] [PATCH V4 0/5] mlx5: replaced hardware queue object 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" The mlx5 PMDs for compress and regex classes use an MMO WQE operated by the GGA engine in BF devices. Currently, all the MMO WQEs are managed by the SQ object. Starting from BF3, the queue of the MMO WQEs should be connected to the GGA engine using a new configuration, mmo, that will be supported only in the QP object. The FW introduced new capabilities to define whether the mmo configuration should be configured for the GGA queue. Replace all the GGA queue objects to QP, set mmo configuration according to the new FW capabilities. V2: fix checkpatch errors. V3: rebase. V4: compilation error in commit 2/5. Raja Zidane (5): common/mlx5: share DevX QP operations common/mlx5: update new MMO HCA capabilities common/mlx5: add MMO configuration for the DevX QP compress/mlx5: refactor queue HW object regex/mlx5: refactor HW queue objects drivers/common/mlx5/mlx5_common_devx.c | 144 +++++++++++++++++++ drivers/common/mlx5/mlx5_common_devx.h | 23 +++ drivers/common/mlx5/mlx5_devx_cmds.c | 23 ++- drivers/common/mlx5/mlx5_devx_cmds.h | 13 +- drivers/common/mlx5/mlx5_prm.h | 48 ++++++- drivers/common/mlx5/version.map | 3 + drivers/compress/mlx5/mlx5_compress.c | 73 +++++----- drivers/crypto/mlx5/mlx5_crypto.c | 102 ++++---------- drivers/crypto/mlx5/mlx5_crypto.h | 5 +- drivers/regex/mlx5/mlx5_regex.c | 7 +- drivers/regex/mlx5/mlx5_regex.h | 16 ++- drivers/regex/mlx5/mlx5_regex_control.c | 65 +++++---- drivers/regex/mlx5/mlx5_regex_fastpath.c | 170 ++++++++++++----------- drivers/vdpa/mlx5/mlx5_vdpa.h | 5 +- drivers/vdpa/mlx5/mlx5_vdpa_event.c | 59 +++----- 15 files changed, 461 insertions(+), 295 deletions(-) -- 2.17.1