From patchwork Tue Oct 26 17:25:11 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Ji, Kai" X-Patchwork-Id: 102984 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 B1D32A0547; Tue, 26 Oct 2021 19:25:24 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 457DF410D5; Tue, 26 Oct 2021 19:25:24 +0200 (CEST) Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by mails.dpdk.org (Postfix) with ESMTP id C8DC240E0F for ; Tue, 26 Oct 2021 19:25:22 +0200 (CEST) X-IronPort-AV: E=McAfee;i="6200,9189,10149"; a="228723385" X-IronPort-AV: E=Sophos;i="5.87,184,1631602800"; d="scan'208";a="228723385" Received: from fmsmga007.fm.intel.com ([10.253.24.52]) by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 26 Oct 2021 10:25:21 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.87,184,1631602800"; d="scan'208";a="494305696" Received: from silpixa00400272.ir.intel.com (HELO silpixa00400272.ger.corp.intel.com) ([10.237.223.111]) by fmsmga007.fm.intel.com with ESMTP; 26 Oct 2021 10:25:20 -0700 From: Kai Ji To: dev@dpdk.org Cc: Kai Ji Date: Tue, 26 Oct 2021 18:25:11 +0100 Message-Id: <20211026172518.20183-1-kai.ji@intel.com> X-Mailer: git-send-email 2.17.1 Subject: [dpdk-dev] [dpdk-dev v1 0/7] 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 implmentation where each generation request building separated and the crypto operation under the raw datapath api implmentations are unified. In addtion this patchset also enables QAT OOP support in raw datapath api implmentation. This patch depends on http://patchwork.dpdk.org/project/dpdk/cover/20211026171633.19498-1-kai.ji@intel.com/ Kai Ji (7): crypro/qat: qat driver refactor skeleton crypto/qat: qat driver sym op refactor crypto/qat: qat driver asym op refactor crypto/qat: qat driver session method rework crypto/qat: qat driver datapath rework app/test: cryptodev test fix crypto/qat: qat driver rework clean up app/test/test_cryptodev.c | 52 +- 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 | 38 +- 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 | 90 ++ 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 | 941 +++++++++++++++++- drivers/crypto/qat/qat_asym.c | 786 +++++++++------ 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, 3825 insertions(+), 2745 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