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 7F87C43B82; Fri, 23 Feb 2024 16:13:11 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 0B7E34027A; Fri, 23 Feb 2024 16:13:11 +0100 (CET) Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.20]) by mails.dpdk.org (Postfix) with ESMTP id 62AEF4021E for ; Fri, 23 Feb 2024 16:13:09 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1708701190; x=1740237190; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=t5FxCBqOscX0NbwWZ/R4kBJTQuCN66jdHQRwY6NsUH8=; b=Y7Iy0gZUu/SOcxRlcqyYBFAFGlATm8Ybr0AvWXGcyPnmGp0Om9oFtVQQ LPzy79SdqyBwBUnJYJTmDGlqpl7B0s9spFdwlneGk/H1o1cOAeAsJcd+f yBH+7ymBODXDMrXwTSuKUllKm/jGkHJY4mp8I04OokbROf0R15+aqfryW sTcSe6tuXBMLbkotL5iKKBg1FlaMvaaNKS5aEP1uKb+0eKCi0jIVQ1DnW Sn4B3U2qRegd0BV4J9AZLTKnzdz75QAVZlO3oqHv+ilGV+98tGGKHtlto Jc3c++gxK3uMYVqoOWqqCBSCkDSDcX1qOfdMCnkgUo0hkgi0E6rxd4v+w Q==; X-IronPort-AV: E=McAfee;i="6600,9927,10993"; a="2905930" X-IronPort-AV: E=Sophos;i="6.06,180,1705392000"; d="scan'208";a="2905930" Received: from fmviesa009.fm.intel.com ([10.60.135.149]) by orvoesa112.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 23 Feb 2024 07:13:07 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.06,180,1705392000"; d="scan'208";a="5881542" Received: from silpixa00401797.ir.intel.com (HELO silpixa00400355.ger.corp.intel.com) ([10.237.222.113]) by fmviesa009.fm.intel.com with ESMTP; 23 Feb 2024 07:13:05 -0800 From: Ciara Power To: dev@dpdk.org Cc: gakhil@marvell.com, kai.ji@intel.com, arkadiuszx.kusztal@intel.com, Ciara Power Subject: [PATCH v2 0/4] add new QAT gen3 and gen5 Date: Fri, 23 Feb 2024 15:12:51 +0000 Message-Id: <20240223151255.3310490-1-ciara.power@intel.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20231219155124.4133385-1-ciara.power@intel.com> References: <20231219155124.4133385-1-ciara.power@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 This patchset adds support for two new QAT devices. A new GEN3 device, and a GEN5 device, both of which have wireless slice support for algorithms such as ZUC-256. Symmetric, asymmetric and compression are all supported for these devices. v2: - New patch added for gen5 device that reuses gen4 code, and new gen3 wireless slice changes. - Removed patch to disable asymmetric and compression. - Documentation updates added. - Fixed ZUC-256 IV modification for raw API path. - Fixed setting extended protocol flag bit position. - Added check for ZUC-256 wireless slice in slice map. Ciara Power (4): common/qat: add new gen3 device common/qat: add zuc256 wireless slice for gen3 common/qat: add new gen3 CMAC macros common/qat: add gen5 device doc/guides/compressdevs/qat_comp.rst | 1 + doc/guides/cryptodevs/qat.rst | 6 + doc/guides/rel_notes/release_24_03.rst | 7 + drivers/common/qat/dev/qat_dev_gen4.c | 31 ++- drivers/common/qat/dev/qat_dev_gen5.c | 51 ++++ drivers/common/qat/dev/qat_dev_gens.h | 54 ++++ drivers/common/qat/meson.build | 3 + drivers/common/qat/qat_adf/icp_qat_fw.h | 6 +- drivers/common/qat/qat_adf/icp_qat_fw_la.h | 24 ++ drivers/common/qat/qat_adf/icp_qat_hw.h | 26 +- drivers/common/qat/qat_common.h | 1 + drivers/common/qat/qat_device.c | 19 ++ drivers/common/qat/qat_device.h | 2 + drivers/compress/qat/dev/qat_comp_pmd_gen4.c | 8 +- drivers/compress/qat/dev/qat_comp_pmd_gen5.c | 73 +++++ drivers/compress/qat/dev/qat_comp_pmd_gens.h | 14 + drivers/crypto/qat/dev/qat_crypto_pmd_gen2.c | 7 +- drivers/crypto/qat/dev/qat_crypto_pmd_gen3.c | 63 ++++- drivers/crypto/qat/dev/qat_crypto_pmd_gen4.c | 4 +- drivers/crypto/qat/dev/qat_crypto_pmd_gen5.c | 278 +++++++++++++++++++ drivers/crypto/qat/dev/qat_crypto_pmd_gens.h | 40 ++- drivers/crypto/qat/dev/qat_sym_pmd_gen1.c | 43 +++ drivers/crypto/qat/qat_sym_session.c | 177 ++++++++++-- drivers/crypto/qat/qat_sym_session.h | 2 + 24 files changed, 889 insertions(+), 51 deletions(-) create mode 100644 drivers/common/qat/dev/qat_dev_gen5.c create mode 100644 drivers/compress/qat/dev/qat_comp_pmd_gen5.c create mode 100644 drivers/crypto/qat/dev/qat_crypto_pmd_gen5.c -- 2.25.1