From patchwork Tue Jul 7 08:48:23 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tal Shnaiderman X-Patchwork-Id: 73376 X-Patchwork-Delegate: thomas@monjalon.net Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 889ACA00BE; Tue, 7 Jul 2020 10:49:07 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id EDE5B1DB86; Tue, 7 Jul 2020 10:48:55 +0200 (CEST) Received: from mellanox.co.il (mail-il-dmz.mellanox.com [193.47.165.129]) by dpdk.org (Postfix) with ESMTP id 1739C1D9D1 for ; Tue, 7 Jul 2020 10:48:51 +0200 (CEST) Received: from Internal Mail-Server by MTLPINE1 (envelope-from talshn@mellanox.com) with SMTP; 7 Jul 2020 11:48:46 +0300 Received: from l-wincomp04-vm.labs.mlnx (l-wincomp04-vm.mtl.labs.mlnx [10.237.1.5]) by labmailer.mlnx (8.13.8/8.13.8) with ESMTP id 0678mkwN021055; Tue, 7 Jul 2020 11:48:46 +0300 From: talshn@mellanox.com To: dev@dpdk.org Cc: thomas@monjalon.net, pallavi.kadam@intel.com, dmitry.kozliuk@gmail.com, david.marchand@redhat.com, grive@u256.net, ranjit.menon@intel.com, navasile@linux.microsoft.com, harini.ramakrishnan@microsoft.com, ocardona@microsoft.com, anatoly.burakov@intel.com, Tal Shnaiderman Date: Tue, 7 Jul 2020 11:48:23 +0300 Message-Id: <20200707084823.28160-3-talshn@mellanox.com> X-Mailer: git-send-email 2.16.1.windows.4 In-Reply-To: <20200707084823.28160-1-talshn@mellanox.com> References: <20200624145621.26604-2-talshn@mellanox.com> <20200707084823.28160-1-talshn@mellanox.com> Subject: [dpdk-dev] [PATCH v2 2/2] bus/vdev: build on Windows 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: Tal Shnaiderman current support will build vdev with empty MP functions currently unsupported for Windows. Signed-off-by: Tal Shnaiderman Tested-by: Narcisa Vasile Acked-by: Narcisa Vasile --- drivers/bus/vdev/meson.build | 6 ------ lib/librte_eal/rte_eal_exports.def | 5 +++++ 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/drivers/bus/vdev/meson.build b/drivers/bus/vdev/meson.build index 3a662b1075..967d54e4f8 100644 --- a/drivers/bus/vdev/meson.build +++ b/drivers/bus/vdev/meson.build @@ -1,12 +1,6 @@ # SPDX-License-Identifier: BSD-3-Clause # Copyright(c) 2017 Intel Corporation -if is_windows - build = false - reason = 'not supported on Windows' - subdir_done() -endif - sources = files('vdev.c', 'vdev_params.c') install_headers('rte_bus_vdev.h') diff --git a/lib/librte_eal/rte_eal_exports.def b/lib/librte_eal/rte_eal_exports.def index 69204a92c6..f54ed74a58 100644 --- a/lib/librte_eal/rte_eal_exports.def +++ b/lib/librte_eal/rte_eal_exports.def @@ -11,6 +11,7 @@ EXPORTS rte_calloc_socket rte_bus_register rte_dev_is_probed + rte_devargs_insert rte_devargs_next rte_devargs_remove rte_eal_get_configuration @@ -29,6 +30,9 @@ EXPORTS rte_eal_using_phys_addrs rte_free rte_hexdump + rte_log_register + rte_log_register_type_and_pick_level + rte_log_set_level rte_malloc rte_malloc_dump_stats rte_malloc_get_socket_stats @@ -62,6 +66,7 @@ EXPORTS rte_memzone_walk rte_strerror rte_strsplit + rte_sys_gettid rte_vfio_container_dma_map rte_vfio_container_dma_unmap rte_vlog