From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wr1-f66.google.com (mail-wr1-f66.google.com [209.85.221.66]) by dpdk.org (Postfix) with ESMTP id 7D0CE1B090 for ; Thu, 13 Sep 2018 18:16:28 +0200 (CEST) Received: by mail-wr1-f66.google.com with SMTP id n2-v6so6695327wrw.7 for ; Thu, 13 Sep 2018 09:16:28 -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=mvcLOPWUl0Jbim/VBcRUT1UhSqIoPv2SUw/8LDSWUfxjg49wKfzl6cWJ0NOsZ7c4iO KDrdxjHT3OQ3NVOvlLyrhc5naLSWs5Pzt3TxZcUQ4HYsryfb9WbtI0De/7RdUuWchF2G /r9oD+Nux0prsRhFAN2QT+axlaG5Mkkv5YWk+Aqv/tLM2sq0G0xa+B9xXp3scUzS3u2U K1oTd7Q0DcxHS5x3B2DUWFQEUz8Mx9jKmRZYxnz3iAIhKRO9M/CTZ4zvh8QP/T0pXSgg 5ZgJX/HnWyajdLZ2g/gAITqn9GKisHxqCOFnNGxRq5TjxfAIjuvOEdyNXxBwZtggAgAo fVEg== X-Gm-Message-State: APzg51DHR7Va6i733REpZsc6DMuRTzSG8b54qIagomU77M8JuzHUsWXM AogURGOtD0Jy2LvNYLgsrBJ1Rv3qSIM= X-Google-Smtp-Source: ANB0VdaO1V94fAADncILpi0uqO3xDH3T5LZRundrwjSJ7umR+vaxlXoyO08f5p/zqukybE2ZajdteA== X-Received: by 2002:adf:b583:: with SMTP id c3-v6mr6392586wre.79.1536855387686; Thu, 13 Sep 2018 09:16:27 -0700 (PDT) Received: from localhost ([2001:1be0:110d:fcff:f19f:e27c:a323:8ad8]) by smtp.gmail.com with ESMTPSA id b124-v6sm5459237wmh.17.2018.09.13.09.16.26 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 13 Sep 2018 09:16:26 -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 17:16:07 +0100 Message-Id: <20180913161607.21919-9-bluca@debian.org> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20180913161607.21919-1-bluca@debian.org> References: <20180910200415.8340-1-bluca@debian.org> <20180913161607.21919-1-bluca@debian.org> Subject: [dpdk-dev] [PATCH v4 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 16:16:28 -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