From patchwork Fri Nov 5 00:19:21 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Ji, Kai" X-Patchwork-Id: 103810 Return-Path: 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 B13FCA0C61; Fri, 5 Nov 2021 01:19:39 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 2033540151; Fri, 5 Nov 2021 01:19:39 +0100 (CET) Received: from mga17.intel.com (mga17.intel.com [192.55.52.151]) by mails.dpdk.org (Postfix) with ESMTP id 3016D4014D for ; Fri, 5 Nov 2021 01:19:36 +0100 (CET) X-IronPort-AV: E=McAfee;i="6200,9189,10158"; a="212563715" X-IronPort-AV: E=Sophos;i="5.87,209,1631602800"; d="scan'208";a="212563715" Received: from orsmga002.jf.intel.com ([10.7.209.21]) by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 04 Nov 2021 17:19:36 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.87,209,1631602800"; d="scan'208";a="468671784" Received: from silpixa00400272.ir.intel.com (HELO silpixa00400272.ger.corp.intel.com) ([10.237.223.111]) by orsmga002.jf.intel.com with ESMTP; 04 Nov 2021 17:19:34 -0700 From: Kai Ji To: dev@dpdk.org Cc: gakhil@marvell.com, Kai Ji Date: Fri, 5 Nov 2021 00:19:21 +0000 Message-Id: <20211105001932.28784-1-kai.ji@intel.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20211102134913.21148-1-kai.ji@intel.com> References: <20211102134913.21148-1-kai.ji@intel.com> Subject: [dpdk-dev] [dpdk-dev v4 00/11] drivers/qat: QAT symmetric crypto datapatch rework 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" 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. This patch depends on http://patchwork.dpdk.org/project/dpdk/cover/20211027155055.32264-1-kai.ji@intel.com/ v4: - patchset break down and reconstruct v3: - sperate a single patch 6 to two different patches v2: - review comments addressed Kai Ji (11): common/qat: define build op request and dequeue op crypto/qat: sym build op request specific implementation crypto/qat: rework session APIs crypto/qat: asym build op request specific implementation crypto/qat: unify sym pmd apis crypto/qat: unify qat asym pmd apis crypto/qat: op burst data path rework compress/qat: comp dequeue burst update crypto/qat: raw dp api integration crypto/qat: support out of place SG list test/cryptodev: fix incomplete data length app/test/test_cryptodev.c | 27 +- drivers/common/qat/meson.build | 4 +- drivers/common/qat/qat_device.c | 2 +- drivers/common/qat/qat_qp.c | 40 +- drivers/common/qat/qat_qp.h | 70 +- drivers/compress/qat/qat_comp_pmd.c | 12 +- drivers/crypto/qat/dev/qat_asym_pmd_gen1.c | 7 + drivers/crypto/qat/dev/qat_crypto_pmd_gen2.c | 91 +- drivers/crypto/qat/dev/qat_crypto_pmd_gen3.c | 487 +++++++++ drivers/crypto/qat/dev/qat_crypto_pmd_gen4.c | 253 +++++ drivers/crypto/qat/dev/qat_crypto_pmd_gens.h | 911 +++++++++++++++++ drivers/crypto/qat/dev/qat_sym_pmd_gen1.c | 939 ++++++++++++++++++ drivers/crypto/qat/qat_asym.c | 762 ++++++++------ drivers/crypto/qat/qat_asym.h | 77 +- drivers/crypto/qat/qat_asym_pmd.c | 231 ----- drivers/crypto/qat/qat_asym_pmd.h | 54 - drivers/crypto/qat/qat_crypto.c | 1 + drivers/crypto/qat/qat_crypto.h | 14 +- drivers/crypto/qat/qat_sym.c | 978 ++++++------------ drivers/crypto/qat/qat_sym.h | 141 ++- drivers/crypto/qat/qat_sym_hw_dp.c | 983 ------------------- drivers/crypto/qat/qat_sym_pmd.c | 251 ----- drivers/crypto/qat/qat_sym_pmd.h | 95 -- drivers/crypto/qat/qat_sym_session.c | 114 +-- drivers/crypto/qat/qat_sym_session.h | 8 +- 25 files changed, 3820 insertions(+), 2732 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 --- 2.17.1