From mboxrd@z Thu Jan 1 00:00:00 1970 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) 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=7YrhZa+/MolB+X3OI9ijbVP91oQv5jiRBj0CNSL19TM=; b=D5L6Y3aag+JMdtAikEvtObcWyyuGTPovdHI+vWuCe70JUB8lhPc904DlbOsQ5j7sF6 Tp9KyzGbBHS7ih3RzYs5eqfsayqmvi2XRuVL4xuL5LuGwn6WuVxpV6a3KxCB5H/N1/hb fnoQGahQ4h4LzpbYqAIO2XgQLCFUievuXhzGceXK+wMyuRdOJj/h8e2SOBhnt16VZSAc xxxXO9DYfguf/oTzp8dZUczx4+B06tX26ZeB37AUFge1Krzjb4xoorn1nFJRhxpGiAvc NcIw+XW4horJigr0o4TccOMdK7Gud6LqgyJ5yeHVDyJfUi6udsD2Ov6iNuHKDYeIs6zz za9A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:user-agent :in-reply-to:references:mime-version:content-transfer-encoding; bh=7YrhZa+/MolB+X3OI9ijbVP91oQv5jiRBj0CNSL19TM=; b=DGSREN0ciJmQUXm9/x71q2pHNWe97ey3/uYooQ01iiICnYY9PBqZs2WUIvIg7lGvJR RFDLH0hNtZniRSmOnjf7rEGP5tnsyS0ajiA2ZNfHDTqcuin+qvMCwwRfX1WGCtRr0dsC zctw+UupmzGAS1bGsoPv3dgNgTxWlTXGB185Mou/Gw78qiQ8TN9jFZpxCJcUCj3r9TLI jDBT1h/oOjiBlfc5+MNp5abCNpy4snGWRoS+/50w0SFSVDgyC7EiYDMIFGlQiZa2iJHk Q7P3Mw3CABxR5DBNipKSbaSLvhiCFSgX5uBV9Au2F0muwEqW7q+AeMetxwylH5QI0wAN Ye3A== X-Gm-Message-State: ALyK8tKYYHQZ9KWp6Ao9dNF+JehmgH25d/GdT0PNsvGxWKc8pNIWkGapSbALNdz3vrY+YIge X-Received: by 10.28.24.137 with SMTP id 131mr4658120wmy.77.1467998082369; Fri, 08 Jul 2016 10:14:42 -0700 (PDT) Received: from xps13.localnet (184.203.134.77.rev.sfr.net. [77.134.203.184]) by smtp.gmail.com with ESMTPSA id kc7sm49866wjb.10.2016.07.08.10.14.41 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 08 Jul 2016 10:14:41 -0700 (PDT) From: Thomas Monjalon To: Pablo de Lara , Neil Horman Cc: dev@dpdk.org, Bruce Richardson , Stephen Hemminger , Panu Matilainen Date: Fri, 08 Jul 2016 19:14:40 +0200 Message-ID: <1585173.NLfrT4pIjG@xps13> User-Agent: KMail/4.14.10 (Linux/4.5.4-1-ARCH; KDE/4.14.11; x86_64; ; ) In-Reply-To: <1467996411-7939-1-git-send-email-pablo.de.lara.guarch@intel.com> 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-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH v3] crypto: normalize cryptodev pmd names with macros X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 Jul 2016 17:14:42 -0000 > 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