From patchwork Fri Oct 8 11:42:31 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Srikanth Kaka X-Patchwork-Id: 100818 X-Patchwork-Delegate: thomas@monjalon.net Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id EBC7AA034F; Fri, 8 Oct 2021 14:12:46 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 8BD4D41124; Fri, 8 Oct 2021 14:12:39 +0200 (CEST) Received: from mail-pf1-f174.google.com (mail-pf1-f174.google.com [209.85.210.174]) by mails.dpdk.org (Postfix) with ESMTP id 0133240685 for ; Fri, 8 Oct 2021 13:42:47 +0200 (CEST) Received: by mail-pf1-f174.google.com with SMTP id o133so1733883pfg.7 for ; Fri, 08 Oct 2021 04:42:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oneconvergence.com; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=fdwInQryEuxfMwDyU+BnYuEo54QjJ3BViRlKiKmSPUQ=; b=izcK/moPxf/8o392Wf1q4LKdYP3AoXNra8dNmgiyLjfsbXmscXuxTANgEl3bNbOHqx /FWOUSzveDltqT9S+GJ8tt3uJXImZxunpfxHrX09E4tPNlKVKMKCaXh2cYuTzhm2TTDX 19OvI20DXDTlcnSJXzKsMSye0X/LY49Y0V6Kw= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=fdwInQryEuxfMwDyU+BnYuEo54QjJ3BViRlKiKmSPUQ=; b=Ql42cr/hpBdhIheVDqUcddDUC8AD0jNruVcj4owExw9p5lJT+jrGE2xobPCSrjBUEY IfN3Fb1E37DJQ5eJRBpF/b9+vl7wF9IGJcuxNSjSMKB8oNLNp4V9uhU52uTiIc9egaFh z9Gl6pFKL07vRX8Oeq5wqBOUD06lZTCtXHq4CUcko7o91swIy+bfA0XkCZRKh3CKXjFG lfy20xJoH1lXpeYbFYphqi+lPj+FHD2krchzNpqmwzEEd7XzberA1+yC5GWA3acZFDRS YOBrrUHMTPATfPheZrF74npJq+MGusnMOvH2jfGkSSoqCxIZQSd5YS/qEtmAEK3FQdcF Hv6Q== X-Gm-Message-State: AOAM533kMUeMZmBZnDcTt5nR8kNiT6OFVKfpDaKylG6zPxIObljIkU1A wTdDxviCYkQjCqUQifKpkkfrFQ== X-Google-Smtp-Source: ABdhPJx11zGfjDYc94zWWb5oEQ1epLlcxhdwPLOoDxJop6E/AEjTAz8fic+dQVzxAWaiKl0c4KUfyQ== X-Received: by 2002:a65:62d5:: with SMTP id m21mr4374445pgv.124.1633693367159; Fri, 08 Oct 2021 04:42:47 -0700 (PDT) Received: from srikanth-ThinkPad-T450.domain.name ([122.183.41.32]) by smtp.gmail.com with ESMTPSA id s68sm2384923pfb.192.2021.10.08.04.42.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 08 Oct 2021 04:42:46 -0700 (PDT) From: Srikanth Kaka To: Stephen Hemminger , Long Li Cc: dev@dpdk.org, Vag Singh , Anand Thulasiram , Srikanth Kaka Date: Fri, 8 Oct 2021 17:12:31 +0530 Message-Id: <20211008114231.101742-1-srikanth.k@oneconvergence.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20210927134231.11177-12-srikanth.k@oneconvergence.com> References: <20210927134231.11177-12-srikanth.k@oneconvergence.com> MIME-Version: 1.0 X-Mailman-Approved-At: Fri, 08 Oct 2021 14:12:35 +0200 Subject: [dpdk-dev] [PATCH v2 11/11] net/netvsc: add meson support for FreeBSD X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 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" add meson support for FreeBSD v2 - moved include statement to after OS detection - updated ./MAINTAINERS file Signed-off-by: Srikanth Kaka Signed-off-by: Vag Singh Signed-off-by: Anand Thulasiram Reviewed-by: Long Li --- MAINTAINERS | 2 ++ drivers/net/netvsc/freebsd/meson.build | 6 ++++++ drivers/net/netvsc/linux/meson.build | 6 ++++++ drivers/net/netvsc/meson.build | 4 ++++ 4 files changed, 18 insertions(+) create mode 100644 drivers/net/netvsc/freebsd/meson.build create mode 100644 drivers/net/netvsc/linux/meson.build diff --git a/MAINTAINERS b/MAINTAINERS index 278e5b3226..930d789945 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -552,6 +552,7 @@ F: drivers/bus/vdev/ VMBUS bus driver M: Stephen Hemminger M: Long Li +M: Srikanth Kaka F: drivers/bus/vmbus/ @@ -824,6 +825,7 @@ F: doc/guides/nics/vdev_netvsc.rst Microsoft Hyper-V netvsc M: Stephen Hemminger M: Long Li +M: Srikanth Kaka F: drivers/net/netvsc/ F: doc/guides/nics/netvsc.rst F: doc/guides/nics/features/netvsc.ini diff --git a/drivers/net/netvsc/freebsd/meson.build b/drivers/net/netvsc/freebsd/meson.build new file mode 100644 index 0000000000..78f824f701 --- /dev/null +++ b/drivers/net/netvsc/freebsd/meson.build @@ -0,0 +1,6 @@ +# SPDX-License-Identifier: BSD-3-Clause +# Copyright(c) 2018 Microsoft Corporation + +sources += files( + 'hn_os.c', +) diff --git a/drivers/net/netvsc/linux/meson.build b/drivers/net/netvsc/linux/meson.build new file mode 100644 index 0000000000..78f824f701 --- /dev/null +++ b/drivers/net/netvsc/linux/meson.build @@ -0,0 +1,6 @@ +# SPDX-License-Identifier: BSD-3-Clause +# Copyright(c) 2018 Microsoft Corporation + +sources += files( + 'hn_os.c', +) diff --git a/drivers/net/netvsc/meson.build b/drivers/net/netvsc/meson.build index f74b941f65..6c9f5cfc56 100644 --- a/drivers/net/netvsc/meson.build +++ b/drivers/net/netvsc/meson.build @@ -7,6 +7,8 @@ if is_windows subdir_done() endif +includes += include_directories(exec_env) + build = dpdk_conf.has('RTE_BUS_VMBUS') reason = 'missing dependency, DPDK VMBus driver' sources = files( @@ -18,3 +20,5 @@ sources = files( ) deps += ['bus_vmbus' ] + +subdir(exec_env)