fm10k: allow to disable vector driver
authorChen Jing D(Mark) <jing.d.chen@intel.com>
Tue, 24 Nov 2015 06:15:53 +0000 (14:15 +0800)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Tue, 24 Nov 2015 11:35:19 +0000 (12:35 +0100)
commit10eb9ce8dccdf800a6665f6391ec937b349c6841
treec38b09775a434c76f0a0aa5be2f6e56e822857ec
parent06977caf347018647dd763fdc91171671c3541a6
fm10k: allow to disable vector driver

fm10k driver will meet compile error on non-x86 platforms due to
SSE instructions. Original implementation didn't have switch to
turn off vPMD.
The improvement introduces a macro to turn on/off vPMD functions,
it's on by default. On non-x86 platforms, it can simply be turned
off to fix compile issue.

Signed-off-by: Chen Jing D(Mark) <jing.d.chen@intel.com>
config/common_linuxapp
drivers/net/fm10k/Makefile
drivers/net/fm10k/fm10k.h
drivers/net/fm10k/fm10k_ethdev.c
drivers/net/fm10k/fm10k_rxtx_vec.c