Re: [dpdk-dev] [PATCH v5 8/8] bus/pci: support Windows with bifurcated drivers

2020-06-17 Thread Dmitry Kozlyuk
[snip] > +#ifdef RTE_TOOLCHAIN_GCC > +#include This breaks cross-compilation because devpropdef.h is all-lowercase on Linux. > +DEFINE_DEVPROPKEY(DEVPKEY_Device_Numa_Node, 0x540b947e, 0x8b40, 0x45bc, > + 0xa8, 0xa2, 0x6a, 0x0b, 0x89, 0x4c, 0xbd, 0xa2, 3); > +#endif [snip] > +static int > +

[dpdk-dev] [PATCH v5 8/8] bus/pci: support Windows with bifurcated drivers

2020-06-09 Thread talshn
From: Tal Shnaiderman Uses SetupAPI.h functions to scan PCI tree. Uses DEVPKEY_Device_Numa_Node to get the PCI NUMA node. Uses SPDRP_BUSNUMBER and SPDRP_BUSNUMBER to get the BDF. scanning currently supports types RTE_KDRV_NONE. Signed-off-by: Tal Shnaiderman --- drivers/bus/pci/windows/pci.c