From ab46f829ad09af22027458d48c9702be894e4c33 Mon Sep 17 00:00:00 2001 From: Pablo de Lara Date: Wed, 13 Dec 2017 15:54:38 +0000 Subject: [PATCH] cryptodev: add missing CPU flag string CPU flag AVX512 was added in a previous release, but it was not added in the list of strings. Fixes: 84d796586604 ("crypto/aesni_mb: support AVX512") Cc: stable@dpdk.org Signed-off-by: Pablo de Lara --- lib/librte_cryptodev/rte_cryptodev.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/librte_cryptodev/rte_cryptodev.c b/lib/librte_cryptodev/rte_cryptodev.c index 15382cb35f..7726d15f49 100644 --- a/lib/librte_cryptodev/rte_cryptodev.c +++ b/lib/librte_cryptodev/rte_cryptodev.c @@ -334,6 +334,8 @@ rte_cryptodev_get_feature_name(uint64_t flag) return "CPU_AVX"; case RTE_CRYPTODEV_FF_CPU_AVX2: return "CPU_AVX2"; + case RTE_CRYPTODEV_FF_CPU_AVX512: + return "CPU_AVX512"; case RTE_CRYPTODEV_FF_CPU_AESNI: return "CPU_AESNI"; case RTE_CRYPTODEV_FF_HW_ACCELERATED: -- 2.20.1