[dpdk-dev] vhost: fix meson build for vDPA

Message ID 1523697762-6548-1-git-send-email-jianjay.zhou@huawei.com (mailing list archive)
State Superseded, archived
Delegated to: Maxime Coquelin
Headers

Checks

Context Check Description
ci/checkpatch success coding style OK
ci/Intel-compilation fail apply patch file failure

Commit Message

Zhoujian (jay) April 14, 2018, 9:22 a.m. UTC
  CC: Zhihong Wang <zhihong.wang@intel.com>
Fixes: 8b991d412e (vhost: support selective datapath)

Signed-off-by: Jay Zhou <jianjay.zhou@huawei.com>
---
 lib/librte_vhost/meson.build | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
  

Comments

Maxime Coquelin April 14, 2018, 4:48 p.m. UTC | #1
On 04/14/2018 11:22 AM, Jay Zhou wrote:
> CC: Zhihong Wang <zhihong.wang@intel.com>
> Fixes: 8b991d412e (vhost: support selective datapath)
> 
> Signed-off-by: Jay Zhou <jianjay.zhou@huawei.com>
> ---
>   lib/librte_vhost/meson.build | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/lib/librte_vhost/meson.build b/lib/librte_vhost/meson.build
> index 66cced1cb..b021894a0 100644
> --- a/lib/librte_vhost/meson.build
> +++ b/lib/librte_vhost/meson.build
> @@ -10,6 +10,6 @@ endif
>   version = 4
>   allow_experimental_apis = true
>   sources = files('fd_man.c', 'iotlb.c', 'socket.c', 'vhost.c', 'vhost_user.c',
> -		'virtio_net.c', 'vhost_crypto.c')
> +		'virtio_net.c', 'vhost_crypto.c', 'vdpa.c')
>   headers = files('rte_vhost.h', 'rte_vhost_crypto.h')
>   deps += ['ethdev', 'cryptodev', 'hash', 'pci']
> 

Reviewed-by: Maxime Coquelin <maxime.coquelin@redhat.com>

Thanks!
Maxime
  

Patch

diff --git a/lib/librte_vhost/meson.build b/lib/librte_vhost/meson.build
index 66cced1cb..b021894a0 100644
--- a/lib/librte_vhost/meson.build
+++ b/lib/librte_vhost/meson.build
@@ -10,6 +10,6 @@  endif
 version = 4
 allow_experimental_apis = true
 sources = files('fd_man.c', 'iotlb.c', 'socket.c', 'vhost.c', 'vhost_user.c',
-		'virtio_net.c', 'vhost_crypto.c')
+		'virtio_net.c', 'vhost_crypto.c', 'vdpa.c')
 headers = files('rte_vhost.h', 'rte_vhost_crypto.h')
 deps += ['ethdev', 'cryptodev', 'hash', 'pci']