numam-dpdk/drivers/bus/pci
Pallavi Kadam bf7cf1f947 bus/pci: fix unknown NUMA node value on Windows
On older CPUs, currently numa_node returns value only for socket 0.
Instead, application should be able to make correct decision and
also to keep consistent with the Linux code,
replace the return value to -1.

Fixes: ac7c98d04f ("bus/pci: ignore missing NUMA node on Windows")
Cc: stable@dpdk.org

Reported-by: Vipin Varghese <vipin.varghese@intel.com>
Signed-off-by: Pallavi Kadam <pallavi.kadam@intel.com>
Acked-by: Tal Shnaiderman <talshn@nvidia.com>
2021-09-23 19:09:26 +02:00
..
bsd bus/pci: update files description 2021-07-06 11:27:55 +02:00
linux bus/pci: fix leak for unbound devices 2021-07-06 11:27:55 +02:00
windows bus/pci: fix unknown NUMA node value on Windows 2021-09-23 19:09:26 +02:00
meson.build drivers: change indentation in build files 2021-04-21 14:04:09 +02:00
pci_common_uio.c drivers/bus: reword slave process as secondary 2020-10-20 13:17:08 +02:00
pci_common.c bus: add device arguments name parsing 2021-09-02 16:58:19 +02:00
pci_params.c bus: add device arguments name parsing 2021-09-02 16:58:19 +02:00
private.h bus: add device arguments name parsing 2021-09-02 16:58:19 +02:00
rte_bus_pci.h bus/pci: update files description 2021-07-06 11:27:55 +02:00
version.map version: 21.11-rc0 2021-08-17 08:37:52 +02:00