From patchwork Tue Jun 26 08:15:53 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tomasz Jozwiak X-Patchwork-Id: 41532 Return-Path: X-Original-To: patchwork@dpdk.org Delivered-To: patchwork@dpdk.org Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 7ED668DA9; Tue, 26 Jun 2018 10:16:12 +0200 (CEST) Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by dpdk.org (Postfix) with ESMTP id 8BC458DA6 for ; Tue, 26 Jun 2018 10:16:10 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga106.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 26 Jun 2018 01:16:08 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.51,274,1526367600"; d="scan'208";a="67770621" Received: from tjozwiax-mobl.ger.corp.intel.com (HELO tojo-VirtualBox.MobicaPL.local) ([10.103.104.42]) by orsmga001.jf.intel.com with ESMTP; 26 Jun 2018 01:16:06 -0700 From: Tomasz Jozwiak To: fiona.trahe@intel.com, tomaszx.jozwiak@intel.com, dev@dpdk.org Date: Tue, 26 Jun 2018 10:15:53 +0200 Message-Id: <1530000956-31905-1-git-send-email-tomaszx.jozwiak@intel.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1526971901-9281-1-git-send-email-tomaszx.jozwiak@intel.com> References: <1526971901-9281-1-git-send-email-tomaszx.jozwiak@intel.com> Subject: [dpdk-dev] [PATCH v3 0/3] crypto/qat: move files to drivers/common directory X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 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 depends on QAT dynamic logging patchset and should be targetig on 18.08. Patchset refactors the PMD in order that files are split into several places: common, crypto. New drivers/common/qat are added and files split between locations. Changes for v2: - removed drivers/common/qat/qat - updated meson.build files - added description into qat.rst - updated MAINTAINERS file Changes for v3: - removed libcrypto detection from Makefile - removed description about libcrypto detection from doc. - renamed CONFIG_LIBCRYPTO_QAT define into BUILD_QAT_SYM Tomasz Jozwiak (3): crypto/qat: add weak functions crypto/qat: re-organise build file content crypto/qat: move common qat files to common dir MAINTAINERS | 1 + drivers/Makefile | 2 + drivers/common/meson.build | 2 +- drivers/common/qat/Makefile | 49 ++++++++++++++++++++++ drivers/common/qat/meson.build | 14 +++++++ .../qat/qat_adf/adf_transport_access_macros.h | 0 .../{crypto => common}/qat/qat_adf/icp_qat_fw.h | 0 .../{crypto => common}/qat/qat_adf/icp_qat_fw_la.h | 0 .../{crypto => common}/qat/qat_adf/icp_qat_hw.h | 0 drivers/{crypto => common}/qat/qat_common.c | 0 drivers/{crypto => common}/qat/qat_common.h | 0 drivers/{crypto => common}/qat/qat_device.c | 39 ++++++++++++++++- drivers/{crypto => common}/qat/qat_device.h | 20 +++++++++ drivers/{crypto => common}/qat/qat_logs.c | 0 drivers/{crypto => common}/qat/qat_logs.h | 0 drivers/{crypto => common}/qat/qat_qp.c | 0 drivers/{crypto => common}/qat/qat_qp.h | 0 drivers/crypto/Makefile | 1 - drivers/crypto/qat/Makefile | 40 ------------------ drivers/crypto/qat/README | 8 ++++ drivers/crypto/qat/meson.build | 32 ++++++++------ drivers/crypto/qat/qat_asym_pmd.c | 17 -------- drivers/crypto/qat/qat_asym_pmd.h | 15 ------- drivers/crypto/qat/qat_comp_pmd.c | 18 -------- drivers/crypto/qat/qat_comp_pmd.h | 29 ------------- drivers/crypto/qat/qat_sym.h | 8 ++++ drivers/crypto/qat/qat_sym_pmd.h | 6 ++- 27 files changed, 163 insertions(+), 138 deletions(-) create mode 100644 drivers/common/qat/Makefile create mode 100644 drivers/common/qat/meson.build rename drivers/{crypto => common}/qat/qat_adf/adf_transport_access_macros.h (100%) rename drivers/{crypto => common}/qat/qat_adf/icp_qat_fw.h (100%) rename drivers/{crypto => common}/qat/qat_adf/icp_qat_fw_la.h (100%) rename drivers/{crypto => common}/qat/qat_adf/icp_qat_hw.h (100%) rename drivers/{crypto => common}/qat/qat_common.c (100%) rename drivers/{crypto => common}/qat/qat_common.h (100%) rename drivers/{crypto => common}/qat/qat_device.c (88%) rename drivers/{crypto => common}/qat/qat_device.h (80%) rename drivers/{crypto => common}/qat/qat_logs.c (100%) rename drivers/{crypto => common}/qat/qat_logs.h (100%) rename drivers/{crypto => common}/qat/qat_qp.c (100%) rename drivers/{crypto => common}/qat/qat_qp.h (100%) delete mode 100644 drivers/crypto/qat/Makefile create mode 100644 drivers/crypto/qat/README 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_comp_pmd.c delete mode 100644 drivers/crypto/qat/qat_comp_pmd.h