From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-f68.google.com (mail-wm0-f68.google.com [74.125.82.68]) by dpdk.org (Postfix) with ESMTP id 67B1A5F34 for ; Mon, 10 Sep 2018 22:05:09 +0200 (CEST) Received: by mail-wm0-f68.google.com with SMTP id b19-v6so22835146wme.3 for ; Mon, 10 Sep 2018 13:05:09 -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=Mm4oZ5TfXmK6sWxV4yf4+ruC3Gf9VMgMVQtoyk1ohzc=; b=k6WUB+89nce3ZcALN8M30tpgnXcFfyr03YFMOu1jtLpmheonxaAczn9KjxH0eG50ve M6P86hcZQl88UdNIqXu58pD4ZZymbPWV7kCdcYJ00/jrY4vYczkizUu/ySRayQWB+Zt5 Rgl3P9EDzelgdxHp+1vSbWDpQNrJggwVp84UQPxWdBw58LTXEqe/vfix3IOrV/kYRXOT opPNTJssYbwjqfcM9oooE9mrWpAYG6n7SnB6H0TyVi89GJ4u6nD9H9MYNpvyWMLxeYMF U+2fFKm5Q7kafln6a7eZ6iI6DNhImksW1fDQiF2WAkRjVZz40EXZAwoHWS1+r6hOIscO Lt/Q== X-Gm-Message-State: APzg51A8px69XMBTmCTMfiH7MnM3MeWidRZ35jkbTTEkMlRRVBbHvk3U sKs8NHkUNJ0AIqYBgYoFm3Nq3pk+bEg= X-Google-Smtp-Source: ANB0VdZuZBiTI3nwXW9f7mvoZPf8lNKPqdXvznV9g7Qrq82/wduEtqrngZViJW2y5zZf7aRxqVPMfQ== X-Received: by 2002:a1c:c642:: with SMTP id w63-v6mr1741724wmf.3.1536609908263; Mon, 10 Sep 2018 13:05:08 -0700 (PDT) Received: from localhost ([2a01:4b00:f419:6f00:8361:8946:ba2b:d556]) by smtp.gmail.com with ESMTPSA id h73-v6sm49519975wma.11.2018.09.10.13.05.07 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 10 Sep 2018 13:05:07 -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, antosh.shukla@caviumnetworks.com, ashish.gupta@cavium.com, yongwang@vmware.com, bruce.richardson@intel.com, thomas@monjalon.net Date: Mon, 10 Sep 2018 21:04:15 +0100 Message-Id: <20180910200415.8340-16-bluca@debian.org> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20180910200415.8340-1-bluca@debian.org> References: <20180910200415.8340-1-bluca@debian.org> Subject: [dpdk-dev] [PATCH 15/15] 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: Mon, 10 Sep 2018 20:05:09 -0000 Signed-off-by: Luca Boccassi --- drivers/net/meson.build | 4 +++- drivers/net/vmxnet3/meson.build | 19 +++++++++++++++++++ 2 files changed, 22 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..0019661e81 --- /dev/null +++ b/drivers/net/vmxnet3/meson.build @@ -0,0 +1,19 @@ +# SPDX-License-Identifier: BSD-3-Clause +# Copyright(c) 2018 Luca Boccassi + +name = 'vmxnet3_uio' +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