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 864C043BE0; Tue, 27 Feb 2024 10:35:57 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 77C8C42E71; Tue, 27 Feb 2024 10:35:57 +0100 (CET) Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.11]) by mails.dpdk.org (Postfix) with ESMTP id 1C45940693 for ; Tue, 27 Feb 2024 10:35:55 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1709026556; x=1740562556; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=AFgQloRSUUrpIFtBsPsvFGaWYNnuOTLRh4GIhjQA6I8=; b=iw32T8AuA7zUFVYwSD0bdtuHRpkn4V3WebP0H/g+TGJ5yawelT69tv4t FERNpZYgWOAucK5pm+Q2P64+hMfn9HDr62z1dalUdHyGvbB3rz1XVCz2F Ey8W+Y9RLqvsvx99Ln9QRwmI9tsgq+TVCqYShWXriUDpsyt+9OqZ8OmPW P/+OoDmKa1sm5ygl3YoCkShGwNHC0wzuXryOYBdnvdgH+NHClLxiR7TjL rH4WfP6uiPrRj9ggIzfjuq22177c6HZipwTW9JsZTEyQTn5HGZlygtgvC a/fivMMxVdP154LhwIUIRWebLZodZCqUFdzJECe8bBBPV6vKCn+dBBSCn g==; X-IronPort-AV: E=McAfee;i="6600,9927,10996"; a="13908883" X-IronPort-AV: E=Sophos;i="6.06,187,1705392000"; d="scan'208";a="13908883" Received: from orviesa003.jf.intel.com ([10.64.159.143]) by orvoesa103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 27 Feb 2024 01:35:55 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.06,187,1705392000"; d="scan'208";a="11716029" Received: from silpixa00401797.ir.intel.com (HELO silpixa00400355.ger.corp.intel.com) ([10.237.222.113]) by orviesa003.jf.intel.com with ESMTP; 27 Feb 2024 01:35:54 -0800 From: Nishikant Nayak To: dev@dpdk.org Cc: ciara.power@intel.com, kai.ji@intel.com, arkadiuszx.kusztal@intel.com, rakesh.s.joshi@intel.com, Nishikant Nayak Subject: [PATCH v3 0/4] add new QAT gen3 and gen5 Date: Tue, 27 Feb 2024 09:35:46 +0000 Message-Id: <20240227093550.562539-1-nishikanta.nayak@intel.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20231220132616.318983-1-nishikanta.nayak@intel.com> References: <20231220132616.318983-1-nishikanta.nayak@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: - Fixed typos in commit and code comments. - Replaced use of linux/kernel.h macro with local macro to fix ARM compilation in CI. 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. Nishikant Nayak (4): common/qat: add files specific to GEN LCE common/qat: update common driver to support GEN LCE crypto/qat: update headers for GEN LCE support test/cryptodev: add tests for GCM with AAD .mailmap | 1 + app/test/test_cryptodev.c | 48 ++- app/test/test_cryptodev_aead_test_vectors.h | 62 ++++ drivers/common/qat/dev/qat_dev_gen_lce.c | 306 ++++++++++++++++ drivers/common/qat/meson.build | 2 + .../qat/qat_adf/adf_transport_access_macros.h | 1 + .../adf_transport_access_macros_gen_lce.h | 51 +++ .../adf_transport_access_macros_gen_lcevf.h | 48 +++ drivers/common/qat/qat_adf/icp_qat_fw.h | 34 ++ drivers/common/qat/qat_adf/icp_qat_fw_la.h | 59 +++- drivers/common/qat/qat_common.h | 1 + drivers/common/qat/qat_device.c | 9 + .../crypto/qat/dev/qat_crypto_pmd_gen_lce.c | 329 ++++++++++++++++++ drivers/crypto/qat/qat_sym.c | 16 +- drivers/crypto/qat/qat_sym.h | 66 +++- drivers/crypto/qat/qat_sym_session.c | 62 +++- drivers/crypto/qat/qat_sym_session.h | 10 +- 17 files changed, 1089 insertions(+), 16 deletions(-) create mode 100644 drivers/common/qat/dev/qat_dev_gen_lce.c create mode 100644 drivers/common/qat/qat_adf/adf_transport_access_macros_gen_lce.h create mode 100644 drivers/common/qat/qat_adf/adf_transport_access_macros_gen_lcevf.h create mode 100644 drivers/crypto/qat/dev/qat_crypto_pmd_gen_lce.c -- 2.25.1