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

2020-05-10 Thread Thomas Monjalon
08/05/2020 00:50, Dmitry Kozlyuk: > On 2020-05-07 15:16 GMT+0300 tal...@mellanox.com wrote: > > +static > > +int get_device_pci_address(HDEVINFO hDevInfo, > > + PSP_DEVINFO_DATA pDeviceInfoData, struct rte_pci_addr *addr) > > Result type should be on a separate line (that is, "static int "). >

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

2020-05-07 Thread Dmitry Kozlyuk
On 2020-05-08 01:50 GMT+0300 Dmitry Kozlyuk wrote: [snip] > Cumulative fixes diff, feel free to distribute it among your patches: > > diff --git a/drivers/bus/pci/windows/pci.c b/drivers/bus/pci/windows/pci.c > index e8eff4f6f..9568a090a 100644 > --- a/drivers/bus/pci/windows/pci.c > +++ b/drivers

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

2020-05-07 Thread Dmitry Kozlyuk
On 2020-05-07 15:16 GMT+0300 tal...@mellanox.com wrote: > 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. >

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

2020-05-07 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