numam-dpdk/examples/vhost
Cheng Jiang 6e9a9d2a02 examples/vhost: fix ioat dependency
Fix vhost-switch compiling issue when ioat dependency is missing.
Change 'RTE_x86' check into 'RTE_RAW_IOAT' check in meson build file.
Use 'RTE_RAW_IOAT' to control conditional compiling in source file.
Clean some codes.

Fixes: abec60e711 ("examples/vhost: support vhost async data path")
Fixes: 3a04ecb214 ("examples/vhost: add async vhost args parsing")

Reported-by: David Marchand <david.marchand@redhat.com>
Signed-off-by: Cheng Jiang <cheng1.jiang@intel.com>
Acked-by: Bruce Richardson <bruce.richardson@intel.com>
Reviewed-by: Maxime Coquelin <maxime.coquelin@redhat.com>
Tested-by: David Marchand <david.marchand@redhat.com>
2020-11-13 19:43:26 +01:00
..
ioat.c examples/vhost: fix ioat dependency 2020-11-13 19:43:26 +01:00
ioat.h examples/vhost: fix ioat dependency 2020-11-13 19:43:26 +01:00
main.c examples/vhost: fix ioat dependency 2020-11-13 19:43:26 +01:00
main.h examples/vhost: support vhost async data path 2020-11-03 23:24:26 +01:00
Makefile examples/vhost: fix ioat dependency 2020-11-13 19:43:26 +01:00
meson.build examples/vhost: fix ioat dependency 2020-11-13 19:43:26 +01:00
virtio_net.c examples/vhost: fix header copy to discontiguous desc buffer 2018-05-14 22:31:03 +01:00