From mboxrd@z Thu Jan 1 00:00:00 1970 From: Pablo de Lara Subject: [PATCH v2 0/4] New crypto algorithm string parser API Date: Mon, 27 Feb 2017 14:38:42 +0000 Message-ID: <1488206326-70385-1-git-send-email-pablo.de.lara.guarch@intel.com> References: <1487853218-113232-1-git-send-email-pablo.de.lara.guarch@intel.com> Cc: dev@dpdk.org, Pablo de Lara To: declan.doherty@intel.com Return-path: Received: from mga06.intel.com (mga06.intel.com [134.134.136.31]) by dpdk.org (Postfix) with ESMTP id 606AF2A5E for ; Mon, 27 Feb 2017 15:36:39 +0100 (CET) In-Reply-To: <1487853218-113232-1-git-send-email-pablo.de.lara.guarch@intel.com> List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Last release, an array with strings for the supported algorithms by the cryptodev library was added and used in the crypto-perf app. This patchset creates a new API to parse strings from the user, to select the desired algorithm (using the array above), which can be used by any application, making it consistent across all the applications (now, L2fwd-crypto and crypto-perf apps are using different strings). Changes in v2: - Modified L2fwd-crypto document to reflect the changes Pablo de Lara (4): cryptodev: add missing algorithm strings cryptodev: add algorithm string parsers app/crypto-perf: use cryptodev algorithm parser examples/l2fwd-crypto: use cryptodev algorithm parser app/test-crypto-perf/cperf_options_parsing.c | 206 ++----------------------- doc/guides/sample_app_ug/l2_forward_crypto.rst | 10 +- examples/l2fwd-crypto/main.c | 85 ++-------- lib/librte_cryptodev/rte_cryptodev.c | 38 +++++ lib/librte_cryptodev/rte_cryptodev.h | 30 ++++ lib/librte_cryptodev/rte_cryptodev_version.map | 8 + 6 files changed, 105 insertions(+), 272 deletions(-) -- 2.7.4