From patchwork Sat Feb 24 19:17:48 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "John Daley (johndale)" X-Patchwork-Id: 35398 X-Patchwork-Delegate: ferruh.yigit@amd.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 24B1C5F24; Sat, 24 Feb 2018 20:18:09 +0100 (CET) Received: from alln-iport-7.cisco.com (alln-iport-7.cisco.com [173.37.142.94]) by dpdk.org (Postfix) with ESMTP id 6A1084CA7 for ; Sat, 24 Feb 2018 20:17:54 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=1695; q=dns/txt; s=iport; t=1519499874; x=1520709474; h=from:to:cc:subject:date:message-id:in-reply-to: references; bh=yYKd+YXlnuVzsrF3+5Ak33xGbfqw/GnRqDqCo6n67B0=; b=If1K+9QXuGy38C/Cr/KPmbS+wjpFFuqBRPBntU6SaH64XaWH0KG0tyOA gTvhLYsQoN+fxri6h23Sjv+zSicjI75vd0RO24VnNvXJlGKNkArbzOXXF MQEE9/AfXBxdo7VWHn2XLsj4HaW4omxsGDdSy1FTHSazqLDVr0D0TLLLJ A=; X-IronPort-AV: E=Sophos;i="5.47,389,1515456000"; d="scan'208";a="74820400" Received: from rcdn-core-8.cisco.com ([173.37.93.144]) by alln-iport-7.cisco.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 24 Feb 2018 19:17:51 +0000 Received: from cisco.com (savbu-usnic-a.cisco.com [10.193.184.48]) by rcdn-core-8.cisco.com (8.14.5/8.14.5) with ESMTP id w1OJHpLH012124; Sat, 24 Feb 2018 19:17:51 GMT Received: by cisco.com (Postfix, from userid 392789) id 2435320F200A; Sat, 24 Feb 2018 11:17:51 -0800 (PST) From: John Daley To: ferruh.yigit@intel.com Cc: dev@dpdk.org, Hyong Youb Kim Date: Sat, 24 Feb 2018 11:17:48 -0800 Message-Id: <20180224191748.20908-10-johndale@cisco.com> X-Mailer: git-send-email 2.12.0 In-Reply-To: <20180224191748.20908-1-johndale@cisco.com> References: <20180224191748.20908-1-johndale@cisco.com> Subject: [dpdk-dev] [PATCH] net/enic: support for meson 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" From: Hyong Youb Kim Signed-off-by: Hyong Youb Kim Reviewed-by: John Daley --- Note: check-git-log.sh seems to fail when files in drivers/net are included even if they are commited independently with the "drivers/net:" prefix. Commiting both files at once. Please ignore check-git-log.sh failure or suggest a petter prefix. drivers/net/enic/meson.build | 19 +++++++++++++++++++ drivers/net/meson.build | 2 +- 2 files changed, 20 insertions(+), 1 deletion(-) create mode 100644 drivers/net/enic/meson.build diff --git a/drivers/net/enic/meson.build b/drivers/net/enic/meson.build new file mode 100644 index 000000000..bfd4e2373 --- /dev/null +++ b/drivers/net/enic/meson.build @@ -0,0 +1,19 @@ +# SPDX-License-Identifier: BSD-3-Clause +# Copyright(c) 2018 Cisco Systems, Inc. + +sources = files( + 'base/vnic_cq.c', + 'base/vnic_dev.c', + 'base/vnic_intr.c', + 'base/vnic_rq.c', + 'base/vnic_rss.c', + 'base/vnic_wq.c', + 'enic_clsf.c', + 'enic_ethdev.c', + 'enic_flow.c', + 'enic_main.c', + 'enic_res.c', + 'enic_rxtx.c', + ) +deps += ['hash'] +includes += include_directories('base') diff --git a/drivers/net/meson.build b/drivers/net/meson.build index 704cbe3c8..f535baa13 100644 --- a/drivers/net/meson.build +++ b/drivers/net/meson.build @@ -2,7 +2,7 @@ # Copyright(c) 2017 Intel Corporation drivers = ['af_packet', 'bonding', - 'e1000', 'fm10k', 'i40e', 'ixgbe', + 'e1000', 'enic', 'fm10k', 'i40e', 'ixgbe', 'null', 'octeontx', 'pcap', 'ring', 'sfc', 'thunderx'] std_deps = ['ethdev', 'kvargs'] # 'ethdev' also pulls in mbuf, net, eal etc