summaryrefslogtreecommitdiff
path: root/lib/librte_cryptodev/rte_cryptodev.c
diff options
context:
space:
mode:
authorZbigniew Bodek <zbigniew.bodek@caviumnetworks.com>2017-01-18 21:01:57 +0100
committerThomas Monjalon <thomas.monjalon@6wind.com>2017-01-19 01:00:55 +0100
commitc2fec022454375e273094918c94dda1bddd863c7 (patch)
treec3f2ec94b891eebcd52b31d069acb7328c148ca0 /lib/librte_cryptodev/rte_cryptodev.c
parent169ca3db550c3ab05a635a620292dd3df390ca95 (diff)
downloaddpdk-c2fec022454375e273094918c94dda1bddd863c7.zip
dpdk-c2fec022454375e273094918c94dda1bddd863c7.tar.gz
dpdk-c2fec022454375e273094918c94dda1bddd863c7.tar.xz
cryptodev: introduce ARM-specific feature flags
Add two new feature flags: * RTE_CRYPTODEV_FF_CPU_NEON represents ARM NEON (TM) instructions * RTE_CRYPTODEV_FF_CPU_ARM_CE represents ARM crypto extensions Add them to both cryptodev library, documentation and relevant PMD driver for ARMv8. Signed-off-by: Zbigniew Bodek <zbigniew.bodek@caviumnetworks.com>
Diffstat (limited to 'lib/librte_cryptodev/rte_cryptodev.c')
-rw-r--r--lib/librte_cryptodev/rte_cryptodev.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/librte_cryptodev/rte_cryptodev.c b/lib/librte_cryptodev/rte_cryptodev.c
index f2ceb9b..6a51eec 100644
--- a/lib/librte_cryptodev/rte_cryptodev.c
+++ b/lib/librte_cryptodev/rte_cryptodev.c
@@ -240,6 +240,10 @@ rte_cryptodev_get_feature_name(uint64_t flag)
return "HW_ACCELERATED";
case RTE_CRYPTODEV_FF_MBUF_SCATTER_GATHER:
return "MBUF_SCATTER_GATHER";
+ case RTE_CRYPTODEV_FF_CPU_NEON:
+ return "CPU_NEON";
+ case RTE_CRYPTODEV_FF_CPU_ARM_CE:
+ return "CPU_ARM_CE";
default:
return NULL;
}