[dpdk-dev] [PATCH v3] crypto: normalize cryptodev pmd names with macros
Thomas Monjalon
thomas.monjalon at 6wind.com
Fri Jul 8 19:14:40 CEST 2016
> 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 at tuxdriver.com>
> Signed-off-by: Pablo de Lara <pablo.de.lara.guarch at intel.com>
Applied, thanks
More information about the dev
mailing list