From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-f45.google.com (mail-wm0-f45.google.com [74.125.82.45]) by dpdk.org (Postfix) with ESMTP id CC3172C4B for ; Mon, 13 Feb 2017 14:25:20 +0100 (CET) Received: by mail-wm0-f45.google.com with SMTP id v186so157882816wmd.0 for ; Mon, 13 Feb 2017 05:25:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6wind-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:user-agent:mime-version :content-transfer-encoding; bh=dzQ/Ka+XJi8jd+sGnQJjbXx9/ZEDEj66c6uAjpHDMc8=; b=YszJIufiKEyU0TsOlLbaS2fN9BMtQIWoQDyNht3FD7hKsXT5t0Cir3spvoAtb5kgE5 bY2wXINNvzqSMgycZZqHSzLSu4gjdhWuxqFpGqYP25FGsi/8+5CUC2w/OuIdKRFkw5fG NaBtvUfnWLM/QDVmhbH+0yCTcmuXW2AdQr+v0IoiNkh2MrAV5aKIXz2YPDIZ6NvVzF5P TDcJ6jaED9vQFZkXTXHRtCThFfcQqhWungjD5bSYfRCejFOXNSjPN4p2qrxiTuHnso6m w41UbHUGU07+CgPx2Hc4+INPfh9ya4J6I9rFAKrJagRmeAxiB3n5AOEGmssNVf3u1TZy Aa6w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:user-agent :mime-version:content-transfer-encoding; bh=dzQ/Ka+XJi8jd+sGnQJjbXx9/ZEDEj66c6uAjpHDMc8=; b=hGuhN3n3Zn0Z70YloNyWqyDeJb5ochmy+ZJXtSG49lHxADJ1ypVEo8Fi7tiUtaJdLc 76ag28XpatCMS0nBxOHLFYEVIjFha7Z9d3s4WWWvvWjc0KsxKgnrB45W5KV7bflBk6PP eJySDi8+c3ScAX44TbQuaafBKPw6U2mBGM+ueSXiKe9Uu5fBTGkNFMWiCP6GUZJQ6kPa +nGg36wjf0nbsa2cjRtCL2uKWn5Xww8+ZfscuMDG/LzhxU+DNlGe0C/ekDR58RkjBcvv dZi02FkIxQxb/ocdaS7sMdHqqVmR5k2F/VILFEAFpgSY/fDJJ+v+Xxe51iya/9oNrHX2 GQ6A== X-Gm-Message-State: AMke39nEVDZzXwbJ2nWh4EBeLmMiYedeH2c5EweRgcOmdQT0sFJ+96q+jOgsBQ2QR8aJsMX9 X-Received: by 10.28.131.132 with SMTP id f126mr40650673wmd.61.1486992320439; Mon, 13 Feb 2017 05:25:20 -0800 (PST) Received: from xps13.localnet (184.203.134.77.rev.sfr.net. [77.134.203.184]) by smtp.gmail.com with ESMTPSA id y80sm14003144wrb.12.2017.02.13.05.25.18 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 13 Feb 2017 05:25:18 -0800 (PST) From: Thomas Monjalon To: Declan Doherty Cc: dev@dpdk.org Date: Mon, 13 Feb 2017 14:25:18 +0100 Message-ID: <1522880.cuOTJ3FilR@xps13> User-Agent: KMail/4.14.10 (Linux/4.5.4-1-ARCH; KDE/4.14.11; x86_64; ; ) MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: [dpdk-dev] crypto drivers in the API 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: Mon, 13 Feb 2017 13:25:20 -0000 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 */ };