From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id C8C79A0540; Thu, 16 Jul 2020 22:53:35 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 340D44F9A; Thu, 16 Jul 2020 22:53:35 +0200 (CEST) Received: from linux.microsoft.com (linux.microsoft.com [13.77.154.182]) by dpdk.org (Postfix) with ESMTP id F13134C7B for ; Thu, 16 Jul 2020 22:53:33 +0200 (CEST) Received: by linux.microsoft.com (Postfix, from userid 1059) id 1889A20B4909; Thu, 16 Jul 2020 13:53:33 -0700 (PDT) DKIM-Filter: OpenDKIM Filter v2.11.0 linux.microsoft.com 1889A20B4909 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.microsoft.com; s=default; t=1594932813; bh=q9z0Jw2eh7zy/GBPTJKSp//odTNfGVXsXPphy1rCDOY=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=n1xoT8ekFpD2m4y7mUJqGO7rrRQ2FzT8CPtNCvi6g/nWXWJHV7/Hh7Qe49kDirJ6L CVXwFoMrpiLModqm1WT/hYax/XAb/ft9Anz8L8qAG/Wp8aLFdkAnCAc9os6SPyd1UG e8yKYtgKthOla4hHWEbtS1ozkLm5sRn1lrGQz4Ng= Date: Thu, 16 Jul 2020 13:53:33 -0700 From: Narcisa Ana Maria Vasile To: talshn@mellanox.com Cc: dev@dpdk.org, thomas@monjalon.net, pallavi.kadam@intel.com, dmitry.kozliuk@gmail.com, david.marchand@redhat.com, grive@u256.net, ranjit.menon@intel.com, harini.ramakrishnan@microsoft.com, ocardona@microsoft.com, anatoly.burakov@intel.com Message-ID: <20200716205333.GA73752@linuxonhyperv3.guj3yctzbm1etfxqx2vob5hsef.xx.internal.cloudapp.net> References: <20200624145621.26604-2-talshn@mellanox.com> <20200707084823.28160-1-talshn@mellanox.com> <20200707084823.28160-3-talshn@mellanox.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200707084823.28160-3-talshn@mellanox.com> User-Agent: Mutt/1.5.21 (2010-09-15) Subject: Re: [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" On Tue, Jul 07, 2020 at 11:48:23AM +0300, talshn@mellanox.com wrote: > From: Tal Shnaiderman > > current support will build vdev with empty MP functions > currently unsupported for Windows. > > Signed-off-by: Tal Shnaiderman > --- > drivers/bus/vdev/meson.build | 6 ------ > lib/librte_eal/rte_eal_exports.def | 5 +++++ > 2 files changed, 5 insertions(+), 6 deletions(-) Tested-by: Narcisa Vasile Acked-by: Narcisa Vasile Thanks for the instructions on system configuration, Tal. Compiled with mingw and clang 9.0.0. VDEV is compiled and registered successfully. C:\Users\User\hw> .\dpdk-helloworld.exe -l 1 EAL: Registered [vdev] bus. EAL: Registered [pci] bus. EAL: Detected 20 lcore(s) EAL: Detected 2 NUMA nodes EAL: Multi-process support is requested, but not available. EAL: Cannot access virt2phys driver, PA will not be available EAL: WARNING: TSC frequency estimated roughly - clock timings may be less accurate. hello from core 1 With clang I first got a linker error, that goes away if the symbol is added in the .def file: bus_vdev_vdev.c.obj : error LNK2019: unresolved external symbol per_lcore__thread_id referenced in function __vdev_logtype_bus drivers\librte_bus_vdev-20.0.dll : fatal error LNK1120: 1 unresolved externals