net/virtio: fix Rx and Tx handler selection for ARM32
authorSamuel Gauthier <samuel.gauthier@6wind.com>
Thu, 14 Dec 2017 14:32:13 +0000 (15:32 +0100)
committerFerruh Yigit <ferruh.yigit@intel.com>
Mon, 29 Jan 2018 09:04:28 +0000 (10:04 +0100)
commit8f3d451dff2b91eb6c7636e92794c2b256267f8e
treeb6df2ec6c8182ef6b0510598c20def28f6b14e14
parent0d6a8752ac9d1088fed721f81aaa9abbdab53be1
net/virtio: fix Rx and Tx handler selection for ARM32

On arm32, we were always selecting the simple handler, but it is only
available if neon is present.

This is due to a typo in the name of the config option.
CONFIG_RTE_ARCH_ARM is for Makefiles. One should use RTE_ARCH_ARM.

Fixes: 2d7c37194ee4 ("net/virtio: add NEON based Rx handler")
Cc: stable@dpdk.org
Signed-off-by: Samuel Gauthier <samuel.gauthier@6wind.com>
Reviewed-by: Maxime Coquelin <maxime.coquelin@redhat.com>
Acked-by: Yuanhan Liu <yliu@fridaylinux.org>
drivers/net/virtio/virtio_ethdev.c