From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by dpdk.org (Postfix) with ESMTP id 0F5101B2B2 for ; Fri, 20 Oct 2017 23:25:52 +0200 (CEST) Received: from orsmga005.jf.intel.com ([10.7.209.41]) by fmsmga103.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 20 Oct 2017 14:25:51 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.43,408,1503385200"; d="scan'208";a="163006196" Received: from dwdohert-dpdk.ir.intel.com ([163.33.210.152]) by orsmga005.jf.intel.com with ESMTP; 20 Oct 2017 14:25:50 -0700 From: Declan Doherty To: dev@dpdk.org Cc: Declan Doherty Date: Fri, 20 Oct 2017 22:21:10 +0100 Message-Id: <20171020212113.4543-1-declan.doherty@intel.com> X-Mailer: git-send-email 2.9.4 Subject: [dpdk-dev] [PATCH 0/3] Break dependency on bus infrastructure* 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: , X-List-Received-Date: Fri, 20 Oct 2017 21:25:53 -0000 This patch set breaks the dependency of the cryptodev library on both the virtual and PCI device infrastructure. It introduces new bus independent crypto PMD driver assist functions for parsing initialisation parameters, and creation/destruction of device instances. It deprecates all function calls to the bus dependent functions and updates all crypto PMDs to use the newly introduced device independent functions. Declan Doherty (3): cryptodev: add new APIs to assist PMD initialisation cryptodev: break dependency on virtual device bus cryptodev: break dependency on rte_pci.h doc/guides/rel_notes/deprecation.rst | 6 + drivers/crypto/aesni_gcm/aesni_gcm_pmd.c | 55 +++----- drivers/crypto/aesni_mb/rte_aesni_mb_pmd.c | 72 +++++----- drivers/crypto/armv8/rte_armv8_pmd.c | 41 ++---- drivers/crypto/dpaa2_sec/dpaa2_sec_dpseci.c | 11 +- drivers/crypto/dpaa_sec/dpaa_sec.c | 14 +- drivers/crypto/kasumi/rte_kasumi_pmd.c | 47 +++---- drivers/crypto/mrvl/rte_mrvl_pmd.c | 56 +++----- drivers/crypto/null/null_crypto_pmd.c | 72 ++++------ drivers/crypto/openssl/rte_openssl_pmd.c | 42 ++---- drivers/crypto/qat/qat_crypto.c | 3 +- drivers/crypto/qat/rte_qat_cryptodev.c | 55 ++++++-- drivers/crypto/scheduler/scheduler_pmd.c | 45 ++---- drivers/crypto/scheduler/scheduler_pmd_ops.c | 3 +- drivers/crypto/snow3g/rte_snow3g_pmd.c | 41 ++---- drivers/crypto/zuc/rte_zuc_pmd.c | 41 +++--- lib/librte_cryptodev/Makefile | 2 - lib/librte_cryptodev/rte_cryptodev.h | 8 +- lib/librte_cryptodev/rte_cryptodev_pci.h | 92 ------------- lib/librte_cryptodev/rte_cryptodev_pmd.c | 184 ++++++++++--------------- lib/librte_cryptodev/rte_cryptodev_pmd.h | 88 ++++++++++++ lib/librte_cryptodev/rte_cryptodev_vdev.h | 100 -------------- lib/librte_cryptodev/rte_cryptodev_version.map | 7 +- 23 files changed, 405 insertions(+), 680 deletions(-) delete mode 100644 lib/librte_cryptodev/rte_cryptodev_pci.h delete mode 100644 lib/librte_cryptodev/rte_cryptodev_vdev.h -- 2.9.4