net/fm10k: fix non-x86 build
authorFerruh Yigit <ferruh.yigit@intel.com>
Wed, 19 Feb 2020 14:16:42 +0000 (14:16 +0000)
committerFerruh Yigit <ferruh.yigit@intel.com>
Wed, 19 Feb 2020 17:19:12 +0000 (18:19 +0100)
commitb565280d45022292e566cf98f8ccf926d8048d2c
treeec8942cc64470d50759db2151121394624ff7258
parent6b9a30d9e93da9f6c167249ba4d79fd5470b7e17
net/fm10k: fix non-x86 build

'fm10k_rxtx_vec.c' is SSE vector instructions implementation and should
be compiled only for x86.

The vector PMD support controlled by
'CONFIG_RTE_LIBRTE_FM10K_INC_VECTOR' config option, but it is enabled by
default, safer to add x86 checks too.

Fixes: 10eb9ce8dccd ("fm10k: allow to disable vector driver")
Cc: stable@dpdk.org
Signed-off-by: Ferruh Yigit <ferruh.yigit@intel.com>
Acked-by: Xiao Wang <xiao.w.wang@intel.com>
drivers/net/fm10k/Makefile