From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH v3] crypto: normalize cryptodev pmd names with macros Date: Fri, 08 Jul 2016 19:14:40 +0200 Message-ID: <1585173.NLfrT4pIjG@xps13> References: <1467995655-7261-1-git-send-email-pablo.de.lara.guarch@intel.com> <1467996411-7939-1-git-send-email-pablo.de.lara.guarch@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev@dpdk.org, Bruce Richardson , Stephen Hemminger , Panu Matilainen To: Pablo de Lara , Neil Horman Return-path: Received: from mail-wm0-f47.google.com (mail-wm0-f47.google.com [74.125.82.47]) by dpdk.org (Postfix) with ESMTP id 8F830A56E for ; Fri, 8 Jul 2016 19:14:42 +0200 (CEST) Received: by mail-wm0-f47.google.com with SMTP id z126so18530358wme.0 for ; Fri, 08 Jul 2016 10:14:42 -0700 (PDT) In-Reply-To: <1467996411-7939-1-git-send-email-pablo.de.lara.guarch@intel.com> List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" > Recently reported, the introduction of pmd information exports led to a > breakage of cryptodev unit tests because the test infrastructure relies on the > cryptodev names being available in macros. This patch fixes the pmd naming to > use the macro names. Note that the macro names were already pre-stringified, > which won't work as the PMD_REGISTER_DRIVER macro requires the name in both a > processing token and stringified form. As such the names are defined now as > tokens, and converted where needed to stringified form on demand using RTE_STR. > > Tested using the null and aesni_mb crypto pmds, as I don't have hardware for any > other device. Also not build tested on snow3g or kasumi pmd because building > those requires external libraries that appear to not be open source licensed. > > Signed-off-by: Neil Horman > Signed-off-by: Pablo de Lara Applied, thanks