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

Dmitry Kozlyuk dmitry.kozliuk at gmail.com
Fri May 8 01:06:34 CEST 2020


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/bus/pci/windows/pci.c
> @@ -11,6 +11,10 @@
>  
>  #include <devpkey.h>
>  
> +#ifndef DEVPKEY_Device_Numa_Node
> +DEFINE_DEVPROPKEY(DEVPKEY_Device_Numa_Node,   0x540b947e, 0x8b40, 0x45bc, 0xa8, 0xa2, 0x6a, 0x0b, 0x89, 0x4c, 0xbd, 0xa2, 3);
> +#endif
> +
>  #define  MAX_STR_TOKENS	8
>  #define  DEC			10
>  #define  HEX			16

Correction:

#ifdef RTE_TOOLCHAIN_GCC
DEFINE_DEVPROPKEY(DEVPKEY_Device_Numa_Node,   0x540b947e, 0x8b40, 0x45bc, 0xa8, 0xa2, 0x6a, 0x0b, 0x89, 0x4c, 0xbd, 0xa2, 3);
#endif

since DEVPKEY_Device_Numa_Node is not a define.

-- 
Dmitry Kozlyuk


More information about the dev mailing list