[dpdk-dev] [PATCH v5] examples/vhost: fix ioat dependency issue

Maxime Coquelin maxime.coquelin at redhat.com
Fri Nov 13 09:40:02 CET 2020



On 11/12/20 4:49 PM, Cheng Jiang wrote:
> 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: abec60e7115d ("examples/vhost: support vhost async data path")
> Fixes: 3a04ecb21420 ("examples/vhost: add async vhost args parsing")
> 
> Signed-off-by: Cheng Jiang <Cheng1.jiang at intel.com>
> ---
> v5:
>  * Cleaned macro conditional compilation in ioat.c.
> 
> v4:
>  * Use macros in ioat.c for conditional compilation instead of changing Makefile.
> 
> v3:
>  * Added fixes lines in commit log.
> 
> v2:
>  * Cleaned some codes
>  * Changed RTE_RAW_IOAT check method in Makefile
>  * Added ioat function definition when RTE_RAW_IOAT is missing
> 
>  examples/vhost/Makefile    |  2 +-
>  examples/vhost/ioat.c      |  6 +++++-
>  examples/vhost/ioat.h      | 32 +++++++++++++++++++++++++-------
>  examples/vhost/main.c      | 22 +++++++++++-----------
>  examples/vhost/meson.build |  2 +-
>  5 files changed, 43 insertions(+), 21 deletions(-)

Applied to dpdk-next-virtio/main.

Thanks,
Maxime



More information about the dev mailing list