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 8A3D043BF1; Mon, 26 Feb 2024 18:08:25 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 48A1D402B2; Mon, 26 Feb 2024 18:08:25 +0100 (CET) Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.14]) by mails.dpdk.org (Postfix) with ESMTP id A50C640144 for ; Mon, 26 Feb 2024 18:08:23 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1708967304; x=1740503304; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=IV8Idwt9Jq9EiSis/f2+BSyfhbUA/TF/Xaylt3VTCSM=; b=fZuaG1aSl/Obk9RTN19FjtlCKv+kgiTWkBRPOeX2yXdmWw29q4tDeQRG iFzAj0roOQqA1qgQftSZWI/eqw7p4Bihe9axOEBvuJxcvwyLu45/25+FT IK+jsx9iqn6y+GQE1WgmHX13TOm7aW+GOi+sgS+HtHQktEaRLsi+U2ejh fJivwppK58lJiHb8lSQkoE9xHSwSiLvkM+0Po7zhYffdgQe0dR/R0HubA +M7faFfT/qvOToBWvimOanScleTu3R6jDZdnBLGTNVADf5M38UJWOJ4y3 dSByhjtWNy2gWVVnUCzfYfiimV7hw5EmCt3xwmtOF8X9aBnlTNM/3k3fc g==; X-IronPort-AV: E=McAfee;i="6600,9927,10996"; a="3429528" X-IronPort-AV: E=Sophos;i="6.06,186,1705392000"; d="scan'208";a="3429528" Received: from orviesa002.jf.intel.com ([10.64.159.142]) by fmvoesa108.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 26 Feb 2024 09:08:23 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.06,186,1705392000"; d="scan'208";a="37519632" Received: from silpixa00401797.ir.intel.com (HELO silpixa00400355.ger.corp.intel.com) ([10.237.222.113]) by orviesa002.jf.intel.com with ESMTP; 26 Feb 2024 09:08:21 -0800 From: Ciara Power To: dev@dpdk.org Cc: arkadiuszx.kusztal@intel.com, gakhil@marvell.com, Ciara Power Subject: [PATCH v3 0/4] add new QAT gen3 and gen5 Date: Mon, 26 Feb 2024 17:08:14 +0000 Message-Id: <20240226170818.533793-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. v3: - Modified year in licence tag of new gen5 files. 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