From: Bruce Richardson Date: Tue, 20 Jun 2017 15:23:05 +0000 (+0100) Subject: crypto/kasumi: remove check for SSE4 X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=23f8637e2609c35a8750807c3cf7eeafc7f894ab;p=dpdk.git crypto/kasumi: remove check for SSE4 Since SSE4 is now part of the minimum requirements for DPDK, we don't need to check for its presence any more. Signed-off-by: Bruce Richardson Acked-by: Konstantin Ananyev --- diff --git a/drivers/crypto/kasumi/rte_kasumi_pmd.c b/drivers/crypto/kasumi/rte_kasumi_pmd.c index 70bf2285e3..87e8cc3ffa 100644 --- a/drivers/crypto/kasumi/rte_kasumi_pmd.c +++ b/drivers/crypto/kasumi/rte_kasumi_pmd.c @@ -567,12 +567,8 @@ cryptodev_kasumi_create(const char *name, /* Check CPU for supported vector instruction set */ if (rte_cpu_get_flag_enabled(RTE_CPUFLAG_AVX)) cpu_flags |= RTE_CRYPTODEV_FF_CPU_AVX; - else if (rte_cpu_get_flag_enabled(RTE_CPUFLAG_SSE4_1)) + else cpu_flags |= RTE_CRYPTODEV_FF_CPU_SSE; - else { - KASUMI_LOG_ERR("Vector instructions are not supported by CPU"); - return -EFAULT; - } dev = rte_cryptodev_vdev_pmd_init(init_params->name, sizeof(struct kasumi_private), init_params->socket_id,