From patchwork Thu Apr 5 08:08:16 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tomasz Duszynski X-Patchwork-Id: 37238 X-Patchwork-Delegate: maxime.coquelin@redhat.com Return-Path: X-Original-To: patchwork@dpdk.org Delivered-To: patchwork@dpdk.org Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id AD7341C977; Thu, 5 Apr 2018 10:08:29 +0200 (CEST) Received: from mail-wr0-f193.google.com (mail-wr0-f193.google.com [209.85.128.193]) by dpdk.org (Postfix) with ESMTP id 88FAA1C973 for ; Thu, 5 Apr 2018 10:08:28 +0200 (CEST) Received: by mail-wr0-f193.google.com with SMTP id u11so26843702wri.12 for ; Thu, 05 Apr 2018 01:08:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=semihalf-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id; bh=tKmgf2ySbAsG3KK5eLJkfvnPGDDPud/lMzcJNoJ47jI=; b=ynMRJzG5+cIlhWz1C2TEVz0A4fZVYZYpn7MQrESfHBpkaK1EHipBayzGim3Qae/qFw I36csEcDa0JtY1crB72n8mR5ha6YYkYEqfgVfl288/3Gl/Ns87hewO2iw3IPxEgTGPWJ OY6hNBh7MqmefmMVquyWXygGCLn3IkbuexlmuZ02YvmqQxT/UfFcVb95lmqOzdhqIZDM L3bitQQ6L36HXEKRr7g1XFgs//TFUob/c7hQUKvqmEEnCbWlQ0NHxCjnfFekxveinhpz hRq45oiXuYfG66eCUXCWuzbe8grGZ6tL/jvJUBup/MFiC8FDn1K9eJ11aZhdEc/3XTer v2jA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=tKmgf2ySbAsG3KK5eLJkfvnPGDDPud/lMzcJNoJ47jI=; b=F0IgDrbjG450EK8ozaKGxNu+JLyvO/kYqKA+GbV7S62fnfrdsEvedqHzuo1ZNo4Xrp NyB1zOuzZPrkhu3qw1DdXBShqQk6FfboDJwUnGiv0KCzlKlJedeuJwWe1mTwvHjAHPM+ eKtB2h3+HTYCPIS8/WRsbVlN6DEAjr+f61Wm5Y4a4EW80EIIUGJwrYCuAHcZepwa14lq Tz0XL+w7GNEr3xRH8yFz8lLY9ArO8Itc1Ex1oN5YsrQljwtbaQ1wjckgKJVAAHAro5en IspWRBxMCA1rekAIFgdJjNW79WxlqM/D4bxxqopIPGGQVVleDazdxWiwVJjhVEYOAtg0 qCdA== X-Gm-Message-State: ALQs6tCiGeJSiw+RrJhOaEnR9DeYhtLhVIz894c1RVbh62zJOD8SAmuc i15D2a89cvh/36HrfFa1jpAerQPyJuM= X-Google-Smtp-Source: AIpwx4+JAJv6sRLjqD4GiFrHJqcQlvY6bb16aXj46aXw4hp7IUr1SoFEdhkgDddYNd3NjAGrfPVRhA== X-Received: by 2002:a19:f24c:: with SMTP id d12-v6mr13502945lfk.111.1522915707877; Thu, 05 Apr 2018 01:08:27 -0700 (PDT) Received: from sh.semihalf.local (31-172-191-173.noc.fibertech.net.pl. [31.172.191.173]) by smtp.gmail.com with ESMTPSA id h13-v6sm769481lfg.90.2018.04.05.01.08.26 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 05 Apr 2018 01:08:27 -0700 (PDT) From: Tomasz Duszynski To: dev@dpdk.org Cc: maxime.coquelin@redhat.com, jianfeng.tan@intel.com, Tomasz Duszynski , zhihong.wang@intel.com Date: Thu, 5 Apr 2018 10:08:16 +0200 Message-Id: <1522915696-26727-1-git-send-email-tdu@semihalf.com> X-Mailer: git-send-email 2.7.4 Subject: [dpdk-dev] [PATCH] vhost: fix meson build issues X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" This patch addresses following meson build issues: 1) Since rte_vdpa.h includes rte_pci.h it introduces pci dependency thus deps array should be updated accordingly. 2) Since vhost.h includes rte_vdpa.h vdpa.c should be added to the sources list. Otherwise we end up with linker errors caused by undefined references. Fixes: 34b30b2e7e42 ("vhost: add apis for datapath configuration") Cc: zhihong.wang@intel.com Signed-off-by: Tomasz Duszynski Acked-by: Bruce Richardson Acked-by: Maxime Coquelin --- lib/librte_vhost/meson.build | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) -- 2.7.4 diff --git a/lib/librte_vhost/meson.build b/lib/librte_vhost/meson.build index 9e8c0e7..8d14877 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') + 'virtio_net.c', 'vdpa.c') headers = files('rte_vhost.h') -deps += ['ethdev'] +deps += ['ethdev', 'pci']