[dpdk-dev] [PATCH v2 7/7] bus/pci: support Windows with bifurcated drivers

2020-04-28 Thread talshn
From: Tal Shnaiderman Uses SetupAPI.h functions to scan PCI tree. Uses DEVPKEY_Device_Numa_Node to get the PCI Numa node. scanning currently supports types RTE_KDRV_NONE. Signed-off-by: Tal Shnaiderman --- drivers/bus/pci/windows/pci.c| 342 ++- lib/libr

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

2020-04-28 Thread Dmitry Kozlyuk
On 2020-04-28 12:11 GMT+0300 tal...@mellanox.com wrote: [snip] > + switch (dev->kdrv) { > + case RTE_KDRV_NONE: > + /* Get NUMA node using DEVPKEY_Device_Numa_Node */ > + bResult = SetupDiGetDevicePropertyW(hDevInfo, pDeviceInfoData, > + &DEVPKEY_

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

2020-05-03 Thread Tal Shnaiderman
> Subject: Re: [PATCH v2 7/7] bus/pci: support Windows with bifurcated > drivers > > On 2020-04-28 12:11 GMT+0300 tal...@mellanox.com wrote: > [snip] > > + switch (dev->kdrv) { > > + case RTE_KDRV_NONE: > > + /* Get NUMA node using DEVPKEY_Device_Numa_Node */ > > + bResult