From mboxrd@z Thu Jan 1 00:00:00 1970 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) Received: from orsmga005.jf.intel.com ([10.7.209.41]) by orsmga104.jf.intel.com with ESMTP; 27 Feb 2017 06:36:38 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.35,215,1484035200"; d="scan'208";a="69551972" Received: from silpixa00381631.ir.intel.com (HELO silpixa00381631.ger.corp.intel.com) ([10.237.222.122]) by orsmga005.jf.intel.com with ESMTP; 27 Feb 2017 06:36:37 -0800 From: Pablo de Lara To: declan.doherty@intel.com Cc: dev@dpdk.org, Pablo de Lara Date: Mon, 27 Feb 2017 14:38:42 +0000 Message-Id: <1488206326-70385-1-git-send-email-pablo.de.lara.guarch@intel.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1487853218-113232-1-git-send-email-pablo.de.lara.guarch@intel.com> References: <1487853218-113232-1-git-send-email-pablo.de.lara.guarch@intel.com> Subject: [dpdk-dev] [PATCH v2 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: Mon, 27 Feb 2017 14:36:39 -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). 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