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 9903B1B070 for ; Thu, 13 Sep 2018 15:42:02 +0200 (CEST) Received: by mail-wr1-f68.google.com with SMTP id g33-v6so5686148wrd.1 for ; Thu, 13 Sep 2018 06:42:02 -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=b0oY7xFEKSbYtawkjy9NDzYRIDYcAzDWTk3w6BU35ZM=; b=UGNWWoRCEDzjimpleHXnfacSzD9iVZH5B99so7PddkEpH/a3zwAvzBfhZs+uUZyzuV j3ypmSmAvBU75ZFMz1WZkcjsbBWddB/h0RcIPpoMZrMsUO0wA89jCsW/q25gXKPy+jyI t3qPe+wq3HS2jHgiS2pz62mck82Uv1uEFjEvazdnLDwLjQgPmv1riC9P/4e5QncbvgIX TqHh3pF95N4uALEz9vFzAi9jDnRLdg3LIfkUeLt9Nq5X8Pu6tSjssGQJUAyTEJo5NGtZ Wlyr5K6Wk13R5JrGq64ZC9HvtQlUs0iDrmX6Ya7MRruxeBB9ysW3zAhMnG621xzHnJDI Zd9A== X-Gm-Message-State: APzg51BzOe7ako05/pk/62pYgUfEvK08H3pksc+xvDhPLLuullonKZAb 8q4TInf9O8QT75f7IDdhNf56uCcM9+I= X-Google-Smtp-Source: ANB0VdZbiRLkLoNzIdP1Mg7inWpDLrz0hKm5mIhZobJNXjztmlNHv8RAxmupqjrvtL08Qx9zpPVwCg== X-Received: by 2002:a5d:4250:: with SMTP id s16-v6mr5504186wrr.260.1536846121961; Thu, 13 Sep 2018 06:42:01 -0700 (PDT) Received: from localhost ([2001:1be0:110d:fcff:f19f:e27c:a323:8ad8]) by smtp.gmail.com with ESMTPSA id 132-v6sm4345005wmd.13.2018.09.13.06.42.00 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 13 Sep 2018 06:42:00 -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: Thu, 13 Sep 2018 14:41:40 +0100 Message-Id: <20180913134140.8534-9-bluca@debian.org> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20180913134140.8534-1-bluca@debian.org> References: <20180910200415.8340-1-bluca@debian.org> <20180913134140.8534-1-bluca@debian.org> Subject: [dpdk-dev] [PATCH v3 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: Thu, 13 Sep 2018 13:42:03 -0000 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