From: Pablo de Lara Date: Fri, 18 May 2018 13:23:50 +0000 (+0100) Subject: cryptodev: add missing security feature string X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=0a004add1cbc2cb061a9a428ff6fa9a900561921;p=dpdk.git 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 --- 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; }