From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: crypto drivers in the API Date: Mon, 13 Feb 2017 14:29:36 +0100 Message-ID: <8003215.pRaDmYx51c@xps13> References: <1522880.cuOTJ3FilR@xps13> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev@dpdk.org To: Declan Doherty Return-path: Received: from mail-wr0-f182.google.com (mail-wr0-f182.google.com [209.85.128.182]) by dpdk.org (Postfix) with ESMTP id 7995A2C74 for ; Mon, 13 Feb 2017 14:29:38 +0100 (CET) Received: by mail-wr0-f182.google.com with SMTP id i10so150487707wrb.0 for ; Mon, 13 Feb 2017 05:29:38 -0800 (PST) In-Reply-To: <1522880.cuOTJ3FilR@xps13> List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" (resent to fix email address) 2017-02-13 14:25, Thomas Monjalon: > In the crypto API, the drivers are listed. > In my opinion, it is a wrong designed and these lists should be removed. > Do we need a deprecation notice to plan this removal in 17.05, while > working on bus abstraction? > > > lib/librte_cryptodev/rte_cryptodev.h: > > #define CRYPTODEV_NAME_NULL_PMD crypto_null > /**< Null crypto PMD device name */ > #define CRYPTODEV_NAME_AESNI_MB_PMD crypto_aesni_mb > /**< AES-NI Multi buffer PMD device name */ > #define CRYPTODEV_NAME_AESNI_GCM_PMD crypto_aesni_gcm > /**< AES-NI GCM PMD device name */ > #define CRYPTODEV_NAME_OPENSSL_PMD crypto_openssl > /**< Open SSL Crypto PMD device name */ > #define CRYPTODEV_NAME_QAT_SYM_PMD crypto_qat > /**< Intel QAT Symmetric Crypto PMD device name */ > #define CRYPTODEV_NAME_SNOW3G_PMD crypto_snow3g > /**< SNOW 3G PMD device name */ > #define CRYPTODEV_NAME_KASUMI_PMD crypto_kasumi > /**< KASUMI PMD device name */ > #define CRYPTODEV_NAME_ZUC_PMD crypto_zuc > /**< KASUMI PMD device name */ > #define CRYPTODEV_NAME_ARMV8_PMD crypto_armv8 > /**< ARMv8 Crypto PMD device name */ > #define CRYPTODEV_NAME_SCHEDULER_PMD crypto_scheduler > /**< Scheduler Crypto PMD device name */ > > /** Crypto device type */ > enum rte_cryptodev_type { > RTE_CRYPTODEV_NULL_PMD = 1, /**< Null crypto PMD */ > RTE_CRYPTODEV_AESNI_GCM_PMD, /**< AES-NI GCM PMD */ > RTE_CRYPTODEV_AESNI_MB_PMD, /**< AES-NI multi buffer PMD */ > RTE_CRYPTODEV_QAT_SYM_PMD, /**< QAT PMD Symmetric Crypto */ > RTE_CRYPTODEV_SNOW3G_PMD, /**< SNOW 3G PMD */ > RTE_CRYPTODEV_KASUMI_PMD, /**< KASUMI PMD */ > RTE_CRYPTODEV_ZUC_PMD, /**< ZUC PMD */ > RTE_CRYPTODEV_OPENSSL_PMD, /**< OpenSSL PMD */ > RTE_CRYPTODEV_ARMV8_PMD, /**< ARMv8 crypto PMD */ > RTE_CRYPTODEV_SCHEDULER_PMD, /**< Crypto Scheduler PMD */ > };