[dpdk-dev] [PATCH v2 2/2] bus/vdev: build on Windows
Narcisa Ana Maria Vasile
navasile at linux.microsoft.com
Thu Jul 16 22:53:33 CEST 2020
On Tue, Jul 07, 2020 at 11:48:23AM +0300, talshn at mellanox.com wrote:
> From: Tal Shnaiderman <talshn at mellanox.com>
>
> current support will build vdev with empty MP functions
> currently unsupported for Windows.
>
> Signed-off-by: Tal Shnaiderman <talshn at mellanox.com>
> ---
> 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 <navasile at linux.microsoft.com>
Acked-by: Narcisa Vasile <navasile at linux.microsoft.com>
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
More information about the dev
mailing list