[v11,0/9] drivers/qat: QAT symmetric crypto datapatch rework
Message ID | 20220222203016.2634402-1-roy.fan.zhang@intel.com (mailing list archive) |
---|---|
Headers |
Return-Path: <dev-bounces@dpdk.org> X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 47D7BA034C; Tue, 22 Feb 2022 21:30:51 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id D0400410F0; Tue, 22 Feb 2022 21:30:50 +0100 (CET) Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by mails.dpdk.org (Postfix) with ESMTP id DB77340DF4 for <dev@dpdk.org>; Tue, 22 Feb 2022 21:30:49 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1645561850; x=1677097850; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=HFlAYQzmZXbFhvFwmlKFAMxl6xRcubaj0R8GJc08s2M=; b=ekwS3xRmUDZB7KZegYBoJZkkl8//J5tbNkQZdJ8Ac0crAvsCOmg73MOy SzJrFukNNGWZe/pUeRkFTJP0Iyr6DKSbQ2MZDO3fA13DYm4D7v2/rHMjA a0dr54T91ZcSbh7HIZGD36oYWoAdIodRYrCzkoo9SWp0VSxp+Mzp8l6Oc MWwFMDlFOF4XoVfiXPAWtBpMQf2xDNZQZN1OiZ+vxOEKHjJfYuTTQ2O1u TYK09eHScwrz95n+cgEo4JQGBHSamMSlpAk3C/Met9iT4NIqEI98TEk6e f7wiTKwoyvLRBCOdzhHviImHIOxU0bc/eRdFhGH3z7u0cL8wbJv7qVYuP A==; X-IronPort-AV: E=McAfee;i="6200,9189,10266"; a="338243271" X-IronPort-AV: E=Sophos;i="5.88,389,1635231600"; d="scan'208";a="338243271" Received: from fmsmga007.fm.intel.com ([10.253.24.52]) by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 22 Feb 2022 12:30:20 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.88,389,1635231600"; d="scan'208";a="543076162" Received: from silpixa00400885.ir.intel.com ([10.243.23.50]) by fmsmga007.fm.intel.com with ESMTP; 22 Feb 2022 12:30:17 -0800 From: Fan Zhang <roy.fan.zhang@intel.com> To: dev@dpdk.org Cc: gakhil@marvell.com, Fan Zhang <roy.fan.zhang@intel.com> Subject: [PATCH v11 0/9] drivers/qat: QAT symmetric crypto datapatch rework Date: Tue, 22 Feb 2022 20:30:07 +0000 Message-Id: <20220222203016.2634402-1-roy.fan.zhang@intel.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220222170226.90002-1-kai.ji@intel.com> References: <20220222170226.90002-1-kai.ji@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 <dev.dpdk.org> List-Unsubscribe: <https://mails.dpdk.org/options/dev>, <mailto:dev-request@dpdk.org?subject=unsubscribe> List-Archive: <http://mails.dpdk.org/archives/dev/> List-Post: <mailto:dev@dpdk.org> List-Help: <mailto:dev-request@dpdk.org?subject=help> List-Subscribe: <https://mails.dpdk.org/listinfo/dev>, <mailto:dev-request@dpdk.org?subject=subscribe> Errors-To: dev-bounces@dpdk.org |
Message
Fan Zhang
Feb. 22, 2022, 8:30 p.m. UTC
This patch reworks QAT symmetric crypto datapatch implementation where each generation request building separated and the crypto operation under the raw datapath api implementation are unified. In addtion this patchset also enables QAT OOP support in raw datapath api implementation. v11: - fixed a compile issue v10: - rebase to the lastest for-main - fix of build rerror when RTE_LOG_DEBUG enabled v9: - commit messages reword - fix of unused function error v8: - rebase to 22.03-rc1 v7: - fix of pointer cast compile error in x86 v6: - fix of pointer cast error in x86 - rebase to the lastest for-main v5: - rebase to the latest for-main - patchset reconstruct v4: - patchset break down and reconstruct v3: - sperate a single patch 6 to two different patches v2: - review comments addressed Kai Ji (9): common/qat: define build request and dequeue ops crypto/qat: support symmetric build op request crypto/qat: rework session functions crypto/qat: rework asymmetric op build operation crypto/qat: unify symmetric functions crypto/qat: unify asymmetric functions crypto/qat: rework burst data path crypto/qat: unify raw data path functions crypto/qat: support out of place SG list drivers/common/qat/meson.build | 6 +- drivers/common/qat/qat_device.c | 4 +- drivers/common/qat/qat_qp.c | 42 +- drivers/common/qat/qat_qp.h | 54 +- drivers/compress/qat/qat_comp_pmd.c | 14 +- drivers/crypto/qat/dev/qat_asym_pmd_gen1.c | 9 +- drivers/crypto/qat/dev/qat_crypto_pmd_gen2.c | 93 +- drivers/crypto/qat/dev/qat_crypto_pmd_gen3.c | 490 ++++++++- drivers/crypto/qat/dev/qat_crypto_pmd_gen4.c | 257 ++++- drivers/crypto/qat/dev/qat_crypto_pmd_gens.h | 913 ++++++++++++++++- drivers/crypto/qat/dev/qat_sym_pmd_gen1.c | 942 +++++++++++++++++- drivers/crypto/qat/qat_asym.c | 303 +++++- drivers/crypto/qat/qat_asym.h | 79 +- drivers/crypto/qat/qat_asym_pmd.c | 231 ----- drivers/crypto/qat/qat_asym_pmd.h | 54 - drivers/crypto/qat/qat_crypto.h | 16 +- drivers/crypto/qat/qat_sym.c | 979 ++++++------------ drivers/crypto/qat/qat_sym.h | 148 ++- drivers/crypto/qat/qat_sym_hw_dp.c | 995 ------------------- drivers/crypto/qat/qat_sym_pmd.c | 251 ----- drivers/crypto/qat/qat_sym_pmd.h | 95 -- drivers/crypto/qat/qat_sym_session.c | 115 +-- drivers/crypto/qat/qat_sym_session.h | 15 +- 23 files changed, 3582 insertions(+), 2523 deletions(-) delete mode 100644 drivers/crypto/qat/qat_asym_pmd.c delete mode 100644 drivers/crypto/qat/qat_asym_pmd.h delete mode 100644 drivers/crypto/qat/qat_sym_hw_dp.c delete mode 100644 drivers/crypto/qat/qat_sym_pmd.c delete mode 100644 drivers/crypto/qat/qat_sym_pmd.h