From mboxrd@z Thu Jan 1 00:00:00 1970 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) 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=VQ/8V9g8JkZVXe2oWRbs014NIXDGbrYs5C1HgWMvx3A=; b=YJkZ/Yh3k1ikbkgyuUxO3lSLLRrH2YNYnxREXf5+j8Lwc+kt4UZLkCNEIvLkIaUp1k V/s6vB1co05AArXTZdMa9BoYQ+38jcUDQ4LW0hE3+5bRl943bCJq1nTXOp3j/GkjHU/u c7ewPbFDA11IW91u/0d0lWAkG9Ml71s6Mc/czj8AsFVOCdUr65pGgYjErCnIW8pWLODU AgPVFon3c4LdfdBoDiSHmDHUiqv1DLCM7n0DkVf7Pzm/1MA/bxgycJvX0lZduljLMue2 rQEwcHSB54/rrQEgKKihAGDOPbfThd3NRcJFEWiTzqjpi9IULDjo1GW5LyXdjT2UumVe W6Cg== 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 :in-reply-to:references:mime-version:content-transfer-encoding; bh=VQ/8V9g8JkZVXe2oWRbs014NIXDGbrYs5C1HgWMvx3A=; b=So7A562KxelM6BgX92sCl4XJjo23qF9Dnxxl6LsZ5Q6/mK3NnGJ1PVdHFHfOky6Pr4 kiJqWixFGzBe1G2se2REfONP7ZjuJrdmOHStez625+tl4PDcSDVXih9c6eD0ZUUCGt5b ATjYuxvWm+8YcmbDQHY/pexHHgfU7efGIm2w7Lt0klf1DBtiEao/bgBv697faAAgC9Q1 xrw/MkkfEHX2283J+w5EZ7hDDHQxuWZtQ6hxWLw1TmkGNBaoDWe8jTw8/KhuuwX/oZbl 1plMR+UGiPQgL2iDIzRcwzQjIOq/HVC3qfue1HgYNXoihIkwrH35ciGPWatuSmsllUla Rc3A== X-Gm-Message-State: AMke39l7llx1oJyCDNYfkpMc05gCKcA80hrDu+mcvNBAaaqfCl+ZhOsrMaqj6CSWeCMK5QyE X-Received: by 10.223.130.111 with SMTP id 102mr22031025wrb.59.1486992578198; Mon, 13 Feb 2017 05:29:38 -0800 (PST) Received: from xps13.localnet (184.203.134.77.rev.sfr.net. [77.134.203.184]) by smtp.gmail.com with ESMTPSA id q16sm10829305wra.69.2017.02.13.05.29.37 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 13 Feb 2017 05:29:37 -0800 (PST) From: Thomas Monjalon To: Declan Doherty Cc: dev@dpdk.org Date: Mon, 13 Feb 2017 14:29:36 +0100 Message-ID: <8003215.pRaDmYx51c@xps13> User-Agent: KMail/4.14.10 (Linux/4.5.4-1-ARCH; KDE/4.14.11; x86_64; ; ) In-Reply-To: <1522880.cuOTJ3FilR@xps13> References: <1522880.cuOTJ3FilR@xps13> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [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:29:38 -0000 (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 */ > };