From: Olivier Matz Date: Thu, 7 Sep 2017 12:13:45 +0000 (+0200) Subject: net/virtio: remove SSE check X-Git-Tag: spdx-start~1660 X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=02dd0e212934a4f775bf8c023d55eba897075a62;p=dpdk.git net/virtio: remove SSE check Since commit f27769f796a0 ("mk: require SSE4.2 support on all x86 platforms"), SSE4.2 is a requirement when compiling on x86 platforms. We can remove this check in the virtio driver. Signed-off-by: Olivier Matz Acked-by: Yuanhan Liu --- diff --git a/drivers/net/virtio/virtio_ethdev.c b/drivers/net/virtio/virtio_ethdev.c index d907b437b8..f310c97768 100644 --- a/drivers/net/virtio/virtio_ethdev.c +++ b/drivers/net/virtio/virtio_ethdev.c @@ -1744,10 +1744,7 @@ virtio_dev_configure(struct rte_eth_dev *dev) hw->use_simple_rxtx = 1; -#if defined RTE_ARCH_X86 - if (!rte_cpu_get_flag_enabled(RTE_CPUFLAG_SSE3)) - hw->use_simple_rxtx = 0; -#elif defined RTE_ARCH_ARM64 || defined CONFIG_RTE_ARCH_ARM +#if defined RTE_ARCH_ARM64 || defined CONFIG_RTE_ARCH_ARM if (!rte_cpu_get_flag_enabled(RTE_CPUFLAG_NEON)) hw->use_simple_rxtx = 0; #endif