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 F1E7BA0C45; Wed, 1 Sep 2021 16:47:33 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id B341040140; Wed, 1 Sep 2021 16:47:33 +0200 (CEST) Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by mails.dpdk.org (Postfix) with ESMTP id CEF6F4013F for ; Wed, 1 Sep 2021 16:47:32 +0200 (CEST) X-IronPort-AV: E=McAfee;i="6200,9189,10094"; a="218779737" X-IronPort-AV: E=Sophos;i="5.84,369,1620716400"; d="scan'208";a="218779737" Received: from orsmga007.jf.intel.com ([10.7.209.58]) by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 01 Sep 2021 07:47:32 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.84,369,1620716400"; d="scan'208";a="466926288" Received: from silpixa00400308.ir.intel.com ([10.237.214.190]) by orsmga007.jf.intel.com with ESMTP; 01 Sep 2021 07:47:31 -0700 From: Arek Kusztal To: dev@dpdk.org Cc: gakhil@marvell.com, roy.fan.zhang@intel.com, Arek Kusztal Date: Wed, 1 Sep 2021 15:47:25 +0100 Message-Id: <20210901144729.26784-1-arkadiuszx.kusztal@intel.com> X-Mailer: git-send-email 2.17.1 Subject: [dpdk-dev] [PATCH 0/4] drivers/qat: isolate implementations of qat generations 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 patchset introduces new qat driver structure and updates existing symmetric crypto qat PMD. The purpose of the change is to isolate QAT generation specific implementations from one to another. It is expected the changes to the specific generation driver code does minimum impact to other generations' implementations. Also adding the support to new features or new qat generation hardware will have zero impact to existing functionalities. Arek Kusztal (4): common/qat: isolate implementations of qat generations crypto/qat: isolate implementations of symmetric operations crypto/qat: move capabilities initialization to spec files common/qat: add extra data to qat pci dev drivers/common/qat/dev/qat_dev_gen1.c | 252 +++++++++ drivers/common/qat/dev/qat_dev_gen1.h | 55 ++ drivers/common/qat/dev/qat_dev_gen2.c | 39 ++ drivers/common/qat/dev/qat_dev_gen3.c | 77 +++ drivers/common/qat/dev/qat_dev_gen4.c | 285 ++++++++++ drivers/common/qat/dev/qat_dev_gen4.h | 18 + drivers/common/qat/meson.build | 12 +- drivers/common/qat/qat_common.h | 2 + drivers/common/qat/qat_device.c | 183 +++--- drivers/common/qat/qat_device.h | 28 +- drivers/common/qat/qat_qp.c | 641 ++++++++-------------- drivers/common/qat/qat_qp.h | 54 +- drivers/crypto/qat/dev/qat_sym_pmd_gen1.c | 78 +++ drivers/crypto/qat/dev/qat_sym_pmd_gen1.h | 15 + drivers/crypto/qat/dev/qat_sym_pmd_gen2.c | 103 ++++ drivers/crypto/qat/dev/qat_sym_pmd_gen3.c | 63 +++ drivers/crypto/qat/dev/qat_sym_pmd_gen4.c | 107 ++++ drivers/crypto/qat/qat_sym_pmd.c | 188 ++----- drivers/crypto/qat/qat_sym_pmd.h | 40 ++ 19 files changed, 1540 insertions(+), 700 deletions(-) create mode 100644 drivers/common/qat/dev/qat_dev_gen1.c create mode 100644 drivers/common/qat/dev/qat_dev_gen1.h create mode 100644 drivers/common/qat/dev/qat_dev_gen2.c create mode 100644 drivers/common/qat/dev/qat_dev_gen3.c create mode 100644 drivers/common/qat/dev/qat_dev_gen4.c create mode 100644 drivers/common/qat/dev/qat_dev_gen4.h create mode 100644 drivers/crypto/qat/dev/qat_sym_pmd_gen1.c create mode 100644 drivers/crypto/qat/dev/qat_sym_pmd_gen1.h create mode 100644 drivers/crypto/qat/dev/qat_sym_pmd_gen2.c create mode 100644 drivers/crypto/qat/dev/qat_sym_pmd_gen3.c create mode 100644 drivers/crypto/qat/dev/qat_sym_pmd_gen4.c -- 2.30.2