From 0a004add1cbc2cb061a9a428ff6fa9a900561921 Mon Sep 17 00:00:00 2001 From: Pablo de Lara Date: Fri, 18 May 2018 14:23:50 +0100 Subject: [PATCH] cryptodev: add missing security feature string Security protocol flag string was not added when the actual flag was added. Fixes: eadb4fa1e1fe ("cryptodev: support security APIs") Cc: stable@dpdk.org Signed-off-by: Pablo de Lara Acked-by: Vipin Varghese --- 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 4959f2ae6b..2f97ce2e8f 100644 --- a/lib/librte_cryptodev/rte_cryptodev.c +++ b/lib/librte_cryptodev/rte_cryptodev.c @@ -367,6 +367,8 @@ rte_cryptodev_get_feature_name(uint64_t flag) return "CPU_NEON"; case RTE_CRYPTODEV_FF_CPU_ARM_CE: return "CPU_ARM_CE"; + case RTE_CRYPTODEV_FF_SECURITY: + return "SECURITY_PROTOCOL"; default: return NULL; } -- 2.20.1