cryptodev: add missing security feature string
authorPablo de Lara <pablo.de.lara.guarch@intel.com>
Fri, 18 May 2018 13:23:50 +0000 (14:23 +0100)
committerPablo de Lara <pablo.de.lara.guarch@intel.com>
Tue, 22 May 2018 14:36:11 +0000 (16:36 +0200)
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 <pablo.de.lara.guarch@intel.com>
Acked-by: Vipin Varghese <vipin.varghese@intel.com>
lib/librte_cryptodev/rte_cryptodev.c

index 4959f2a..2f97ce2 100644 (file)
@@ -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;
        }