3a04ecb214
This patch is to add async vhost driver arguments parsing function for CBDMA channel, DMA initiation function and args description. The meson build file is changed to fix dependency problem. With these arguments vhost device can be set to use CBDMA or CPU for enqueue operation and bind vhost device with specific CBDMA channel to accelerate data copy. Signed-off-by: Cheng Jiang <cheng1.jiang@intel.com> Reviewed-by: Maxime Coquelin <maxime.coquelin@redhat.com>
22 lines
475 B
Meson
22 lines
475 B
Meson
# SPDX-License-Identifier: BSD-3-Clause
|
|
# Copyright(c) 2017 Intel Corporation
|
|
|
|
# meson file, for building this example as part of a main DPDK build.
|
|
#
|
|
# To build this example as a standalone application with an already-installed
|
|
# DPDK instance, use 'make'
|
|
|
|
if not is_linux
|
|
build = false
|
|
endif
|
|
deps += 'vhost'
|
|
allow_experimental_apis = true
|
|
sources = files(
|
|
'main.c', 'virtio_net.c'
|
|
)
|
|
|
|
if dpdk_conf.has('RTE_ARCH_X86')
|
|
deps += 'raw_ioat'
|
|
sources += files('ioat.c')
|
|
endif
|