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 3BB54A0C47; Tue, 5 Oct 2021 14:28:06 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id B52354134A; Tue, 5 Oct 2021 14:28:05 +0200 (CEST) Received: from NAM04-DM6-obe.outbound.protection.outlook.com (mail-dm6nam08on2081.outbound.protection.outlook.com [40.107.102.81]) by mails.dpdk.org (Postfix) with ESMTP id 8889741349 for ; Tue, 5 Oct 2021 14:28:04 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=IA9z5bFf5XHVAC81chrMUI39zKmDpu5GCxelmKoxK3ykoMKdcnbHkzizRN8HB16DGJeD88YNaicbYAArbU7KOLHap8Cc/OFEGUkkTgUuuSyMu/ASAm5eoyf/qpJ+fDp4oaOZy9QdoztybxA5KT1MEO9Sp5ao0V3cKveIEny20f3RjpJItp0m6A3y4WP+iBtripIuwV3121QCtJQKtMCqSskAVW8pdBk0oTPeJb2NBAr8ESU53EBY2i2iMLgB8pVa0FDFJoahqS94aULUHbGW10QXcjgf3fYq0Vq1LFXRMYZixv6JkK/FDTrYTS9l21lucsbXbZEJ6f+ULaSbjMFgKQ== 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=vNDk74Yd0EfoE2pVDwiHsstqKNOjsBvp5sPGF7jfuCU=; b=FptU7J1NQCkeWLzqeQ9FeEoZFkz1b9rGHvmXJialO8eytFJMmdTaAfRpf9M9RCTIG+gvSNxW04SvfhuU5G+n58ZwxSKlnDE1RnK2saRFFpOk0IfTw0zh8wMusx2yxD8hrmvkViUBns9AAlOUe8W6LZhDPdj+s/OBmYMYM4yqIwjgn4cdfl82SDDvaLbf3CSMYpwIx3ZOzw5tSYrAx4lD83cSIRY9LMmLqW9CYMbqb7myXHEso/ZPvTdMcX0r/Rni5qaOGegR+dmkIrEMACJi8roZm29O2Db4n04AEH0KojaNpwTpQMjFhTosRNGZcnpGo7pCQ3L0w9xhW2nHH4wA4Q== 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=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=vNDk74Yd0EfoE2pVDwiHsstqKNOjsBvp5sPGF7jfuCU=; b=eneigY6/rBbtU1uvDH01WQDSF6aeQkVhFZKXp+NPbQrAftcmLurDPSQ+ZlgBkgDMmBeWDKkEP4jlQwLuzpX7k5qYYT5xU/Kd3+jTYYom+TMaYM3n9dPqSIzl4sZxga5Xt1vSXUKX0ZpTdZXj8c8zT3zO1J45YOKa5LpCMLeRjpxzbHzOJwKpM2nh6j+DiXGedu6HZL9AiN+tXgZfDi2UiLpjkdGSiRTr6hqBJ3sbS+x70CpI4ElYk9ght4UA0cpvzo5FSFEi4JeVoVX/HIcVYDNI9YjC06v4B1WCpe3lOdo6OzEmCIs+CiNwYIFMfRujJDYYeO5tdlITmeGWf9hFlg== Received: from DM5PR13CA0044.namprd13.prod.outlook.com (2603:10b6:3:7b::30) by DM6PR12MB5518.namprd12.prod.outlook.com (2603:10b6:5:1b9::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4566.19; Tue, 5 Oct 2021 12:28:03 +0000 Received: from DM6NAM11FT027.eop-nam11.prod.protection.outlook.com (2603:10b6:3:7b:cafe::77) by DM5PR13CA0044.outlook.office365.com (2603:10b6:3:7b::30) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4587.7 via Frontend Transport; Tue, 5 Oct 2021 12:28:03 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 216.228.112.34) 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.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 DM6NAM11FT027.mail.protection.outlook.com (10.13.172.205) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.4566.14 via Frontend Transport; Tue, 5 Oct 2021 12:28:02 +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; Tue, 5 Oct 2021 12:28:01 +0000 From: Raja Zidane To: Date: Tue, 5 Oct 2021 12:27:28 +0000 Message-ID: <20211005122733.12444-1-rzidane@nvidia.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20210930054438.5960-1-rzidane@nvidia.com> References: <20210930054438.5960-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 HQMAIL107.nvidia.com (172.20.187.13) X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 041d7389-41fd-4dbc-78d3-08d987fb937f X-MS-TrafficTypeDiagnostic: DM6PR12MB5518: X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:1303; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: TPT9msR625ePKorEB3mY9zs1Adnar8RH34H7ns4zTzw4wtPMHJxX5zYYrB79OabsO83QmvNDZi+TF9ln/4JuiXoT2g6CBdrTECMaLF7WqOYPTdp2U+oN5DvhrXqsiMLY2POzfgr7fkW9erHh4rf28EyGYFOpwf6CSVL1dJgHPuAfvtJ+U9s1rmTAx/Ivo51X9BCx6gUbkUxEdl7oKyOICKCnCJx2Cdlfuy3MywOLo7wEmnjB79Ho9dzTBetVqi4HoR6MyonDne7dyuEbs6obis1mx1OxWaWL+6vjhR1zftt5iN6gBawAizVEhVBXeu8IcTptmCmy+WVJ5faR3kUsbXS9/uecIynn3W7W6TciZ4AMUU+Urwx8cqsqPzXw94TH5Gzo677tAcsCsVuK0rEtiJ27gwceXi3eKp8WbTZwcO6PYlHSTCy2niBqVKRDl82n0bNBPBV7BeFbqsOVyEwSQfEONlbnkPFFDgOGu5BTBWVJJrIhxo6KqfNfuQLT/j2cTG3A6q9GeTSyEK2Z4hU24Aq0bjizMYdISN0TcVrBVb9dbFVrGmpPRqPSecfNUDt/V5GFvy/C/wa87U/2vNW7heIok3gQFleqCU00wmn0aTWlpdCWhmeHe3w3I09/nVoxB8Iu5VoenHWH3VtXrPMM5d1rgdiWT4jqkEWmuI9OgzRnB6b6CR+Meo0hiPjmUiRbPQZPDGZV45TBPapHnZdDRA== 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)(7696005)(47076005)(508600001)(2906002)(356005)(8936002)(336012)(426003)(36860700001)(2616005)(5660300002)(8676002)(6286002)(55016002)(36756003)(26005)(70206006)(70586007)(186003)(16526019)(1076003)(7636003)(6666004)(316002)(83380400001)(86362001)(6916009); DIR:OUT; SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 05 Oct 2021 12:28:02.9009 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 041d7389-41fd-4dbc-78d3-08d987fb937f 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: DM6NAM11FT027.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR12MB5518 Subject: [dpdk-dev] [PATCH V6 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. V5: rebase. V6: rebase on main. 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