From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by dpdk.org (Postfix) with ESMTP id DFEB05598 for ; Thu, 23 Feb 2017 13:31:33 +0100 (CET) Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by orsmga105.jf.intel.com with ESMTP; 23 Feb 2017 04:31:32 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.35,197,1484035200"; d="scan'208";a="827607334" Received: from silpixa00381631.ir.intel.com (HELO silpixa00381631.ger.corp.intel.com) ([10.237.222.122]) by FMSMGA003.fm.intel.com with ESMTP; 23 Feb 2017 04:31:31 -0800 From: Pablo de Lara To: declan.doherty@intel.com Cc: dev@dpdk.org, Pablo de Lara Date: Thu, 23 Feb 2017 12:33:34 +0000 Message-Id: <1487853218-113232-1-git-send-email-pablo.de.lara.guarch@intel.com> X-Mailer: git-send-email 2.7.4 Subject: [dpdk-dev] [PATCH 0/4] New crypto algorithm string parser 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: Thu, 23 Feb 2017 12:31:34 -0000 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). 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 ++----------------------- 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 + 5 files changed, 100 insertions(+), 267 deletions(-) -- 2.7.4