From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wr1-f68.google.com (mail-wr1-f68.google.com [209.85.221.68]) by dpdk.org (Postfix) with ESMTP id 42F405F32 for ; Tue, 18 Sep 2018 16:58:48 +0200 (CEST) Received: by mail-wr1-f68.google.com with SMTP id v16-v6so2451919wro.11 for ; Tue, 18 Sep 2018 07:58:48 -0700 (PDT) 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:in-reply-to :references; bh=YulrcyDE5AMfaG5jSM8dJRo9VB33SFZ+OwQyehAqdwU=; b=CCMzO+ORpfhqmIydFZfQ2ryaOb/ug0ElRk1nTXLuPqJWRoZINo723JoDA1OVhPxks5 y6brs4Bm8+6vHXiN16in/YC6OTRuIwzCLln1ABOFl41OcjvvzsV/9pxIOR6MJzk66HPF KU2LV7DCGW77G/f+3a+gT4vmQBM7Y3KpL883ITkP7XLWQ8FzEdwiwAyByDR3fNBNo+Mf Yc1LP3sRcGQ9P2vPAe4yUcKIqH7OpzLzNYYDmWW5qaMnASzbh1akOLSD7Hr9i/kuSZPy 4LLH69FMpxnY2RfO9jz+m+vysQCpFcEcxICWdXqtErXUOo9Qh4OqOARc6zJIFc3w0Otz +tLA== X-Gm-Message-State: APzg51C6Nx57ifxYCzwM+FN3vsjmyaDR+w9byMBMpZcHPH/BmJDyrmnp 6df0iK3xnhUTg5a1DK72iKREh76qydo= X-Google-Smtp-Source: ANB0VdYo6egClZEdc4KHO0lpCcO9+QjXu9QibOo3vuKsRXls6k1FKrFbyOxketGsXR7T0WUpWUpQbA== X-Received: by 2002:a5d:4d82:: with SMTP id b2-v6mr22626553wru.80.1537282727658; Tue, 18 Sep 2018 07:58:47 -0700 (PDT) Received: from localhost ([2001:1be0:110d:fcfe:489f:80a9:5d59:c6bd]) by smtp.gmail.com with ESMTPSA id 184-v6sm3812323wmv.6.2018.09.18.07.58.46 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 18 Sep 2018 07:58:46 -0700 (PDT) From: Luca Boccassi To: dev@dpdk.org Cc: keith.wiles@intel.com, roy.fan.zhang@intel.com, jingjing.wu@intel.com, wenzhuo.lu@intel.com, rasesh.mody@cavium.com, harish.patil@cavium.com, shahed.shaikh@cavium.com, amr.mokhtar@intel.com, shijith.thotton@cavium.com, ssrinivasan@cavium.com, liang.j.ma@intel.com, peter.mccarthy@intel.com, jerin.jacob@caviumnetworks.com, maciej.czekaj@caviumnetworks.com, arybchenko@solarflare.com, santosh.shukla@caviumnetworks.com, ashish.gupta@cavium.com, yongwang@vmware.com, bruce.richardson@intel.com, thomas@monjalon.net Date: Tue, 18 Sep 2018 15:58:22 +0100 Message-Id: <20180918145822.16763-9-bluca@debian.org> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20180918145822.16763-1-bluca@debian.org> References: <20180910200415.8340-1-bluca@debian.org> <20180918145822.16763-1-bluca@debian.org> Subject: [dpdk-dev] [PATCH v5 9/9] build: add Meson file for vmxnet3_uio PMD 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: , X-List-Received-Date: Tue, 18 Sep 2018 14:58:48 -0000 Note that the library built by meson will not have the _uio suffix: librte_pmd_vmxnet3.so - as it follows the directory name, while the legacy makefile rename it to librte_pmd_vmxnet3_uio.so. Signed-off-by: Luca Boccassi --- drivers/net/meson.build | 4 +++- drivers/net/vmxnet3/meson.build | 18 ++++++++++++++++++ 2 files changed, 21 insertions(+), 1 deletion(-) create mode 100644 drivers/net/vmxnet3/meson.build diff --git a/drivers/net/meson.build b/drivers/net/meson.build index 74f4109161..5906283c2f 100644 --- a/drivers/net/meson.build +++ b/drivers/net/meson.build @@ -32,7 +32,9 @@ drivers = ['af_packet', 'thunderx', 'vdev_netvsc', 'vhost', - 'virtio'] + 'virtio', + 'vmxnet3', +] std_deps = ['ethdev', 'kvargs'] # 'ethdev' also pulls in mbuf, net, eal etc std_deps += ['bus_pci'] # very many PMDs depend on PCI, so make std std_deps += ['bus_vdev'] # same with vdev bus diff --git a/drivers/net/vmxnet3/meson.build b/drivers/net/vmxnet3/meson.build new file mode 100644 index 0000000000..a92bd28680 --- /dev/null +++ b/drivers/net/vmxnet3/meson.build @@ -0,0 +1,18 @@ +# SPDX-License-Identifier: BSD-3-Clause +# Copyright(c) 2018 Luca Boccassi + +allow_experimental_apis = true +sources += files( + 'vmxnet3_ethdev.c', + 'vmxnet3_rxtx.c', +) + +error_cflags = [ + '-Wno-unused-parameter', '-Wno-unused-value', + '-Wno-strict-aliasing', '-Wno-format-extra-args', +] +foreach flag: error_cflags + if cc.has_argument(flag) + cflags += flag + endif +endforeach -- 2.18.0