numam-dpdk/drivers/bus/pci/linux
Olivier Matz 7dcd73e379 drivers/bus: set device NUMA node to unknown by default
The dev->device.numa_node field is set by each bus driver for
every device it manages to indicate on which NUMA node this device lies.

When this information is unknown, the assigned value is not consistent
across the bus drivers.

Set the default value to SOCKET_ID_ANY (-1) by all bus drivers
when the NUMA information is unavailable. This change impacts
rte_eth_dev_socket_id() in the same manner.

Signed-off-by: Olivier Matz <olivier.matz@6wind.com>
2022-10-06 21:26:55 +02:00
..
pci_init.h pci: move resource mapping to the PCI bus 2020-09-21 10:12:10 +02:00
pci_uio.c drivers: check interrupt file descriptor validity 2021-11-08 17:32:42 +01:00
pci_vfio.c bus: hide bus object 2022-09-23 16:14:34 +02:00
pci.c drivers/bus: set device NUMA node to unknown by default 2022-10-06 21:26:55 +02:00