Re: [PATCH v3] crypto: normalize cryptodev pmd names with macros
From: Thomas Monjalon <hidden>
Date: 2016-07-08 17:14:42
From: Thomas Monjalon <hidden>
Date: 2016-07-08 17:14:42
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 <nhorman@tuxdriver.com> Signed-off-by: Pablo de Lara <redacted>
Applied, thanks