From patchwork Fri Oct 8 09:18:09 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Srikanth Kaka X-Patchwork-Id: 100812 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 BE05CA034F; Fri, 8 Oct 2021 12:59:54 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id F2D7F4122A; Fri, 8 Oct 2021 12:56:45 +0200 (CEST) Received: from mail-pj1-f54.google.com (mail-pj1-f54.google.com [209.85.216.54]) by mails.dpdk.org (Postfix) with ESMTP id C64544067B for ; Fri, 8 Oct 2021 11:18:20 +0200 (CEST) Received: by mail-pj1-f54.google.com with SMTP id nn3-20020a17090b38c300b001a03bb6c4ebso4870130pjb.1 for ; Fri, 08 Oct 2021 02:18:20 -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:mime-version :content-transfer-encoding; bh=Ieb6NNZtyHk3jBMwtkdCeGfeQA/gS3vIx9ODzr5sdeM=; b=XOyATSfmTLBl3kikWrCAs+EctLiJm8xtWaNM/NYstq1dmSXItxRkm2rHBrI9VwgO7E ggia1U8CCjVuAfJJUDds69l+D22mkOV0dbz/30NtroWZS0gZaAFCORE3mC35tYEyAulo Ttd7WNTyoC/LhZ6NnxT5xvethtvYFajD7CyY0= 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:mime-version :content-transfer-encoding; bh=Ieb6NNZtyHk3jBMwtkdCeGfeQA/gS3vIx9ODzr5sdeM=; b=zPi8U5/NFLuoy/dSUd6/mQBILeAwfGnx4L8x8P1aM1MJIS9sMX6GutxosPIpGRlTX7 rDTwlTPWWGHHKhZ0TvtKp4+HPtUbaunK1PNpxzO5ns1Gnw6Ae7cwRq+4FZOQ+Bfiuuny 4A7njTxLnwPsKAcKZZ//XgSQsYEJnC5xyMh2CNrvn8ui3lWW88xrszVE5vnXT9NHX5tD sPOMn4656ih8Tla5gcbrExvQIHNLXrEO4TXyMtyqmKDHRFM4t+LmKWmi8bdcveCuklQz Bv3F8dxbfHJp8l0qAYA1HTJ1nbt8NiXfkEbA1CFP0sFnOg0itCHvXbvEfoOcm8jfb7/Z 99CQ== X-Gm-Message-State: AOAM532tCJs4DTv4bjfkizyskipIW6tZyJRo2KILmVmR7ZC0Zz2odkcz crUrrDJH9CyDU8FPp19pyLiLgQ== X-Google-Smtp-Source: ABdhPJzB3QB0p/55YyOBt+9GFnu5ZUFaXL5ppKlOMNJGmz/nl5bRV1J/wIOm8i7fJ1n1eidL60wjWA== X-Received: by 2002:a17:902:aa88:b0:13a:95d:d059 with SMTP id d8-20020a170902aa8800b0013a095dd059mr8443120plr.65.1633684700012; Fri, 08 Oct 2021 02:18:20 -0700 (PDT) Received: from srikanth-ThinkPad-T450.domain.name ([122.162.27.38]) by smtp.gmail.com with ESMTPSA id r130sm1925632pfc.89.2021.10.08.02.18.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 08 Oct 2021 02:18:19 -0700 (PDT) From: Srikanth Kaka To: Stephen Hemminger , Long Li Cc: dev@dpdk.org, Vag Singh , Anand Thulasiram , srikanth-oc Date: Fri, 8 Oct 2021 14:48:09 +0530 Message-Id: <20211008091809.96477-1-srikanth.k@oneconvergence.com> X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 X-Mailman-Approved-At: Fri, 08 Oct 2021 12:55:54 +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" From: srikanth-oc 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 --- 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)