numam-dpdk/drivers/bus/auxiliary
Dmitry Kozlyuk e9b3d79b06 bus: clarify log for non-NUMA-aware devices
PCI, vmbus, and auxiliary drivers printed a warning
when NUMA node had been reported as (-1) or not reported by OS:

    EAL:   Invalid NUMA socket, default to 0

This message and its level might confuse users because the configuration
is valid and nothing happens that requires attention or intervention.
It was also printed without the device identification and with an indent
(PCI only), which is confusing unless DEBUG logging is on to print
the header message with the device name.

Reduce level to INFO, reword the message, and suppress it when there is
only one NUMA node because NUMA awareness does not matter in this case.
Also, remove the indent for PCI.

Fixes: f0e0e86aa3 ("pci: move NUMA node check from scan to probe")
Fixes: 831dba47bd ("bus/vmbus: add Hyper-V virtual bus support")
Fixes: 1afce3086c ("bus/auxiliary: introduce auxiliary bus")
Cc: stable@dpdk.org

Signed-off-by: Dmitry Kozlyuk <dkozlyuk@nvidia.com>
Reviewed-by: Viacheslav Ovsiienko <viacheslavo@nvidia.com>
Reviewed-by: Xueming Li <xuemingl@nvidia.com>
Acked-by: Andrew Rybchenko <andrew.rybchenko@oktetlabs.ru>
2021-08-04 11:33:31 +02:00
..
linux bus/auxiliary: introduce auxiliary bus 2021-07-05 18:11:28 +02:00
auxiliary_common.c bus: clarify log for non-NUMA-aware devices 2021-08-04 11:33:31 +02:00
auxiliary_params.c bus/auxiliary: introduce auxiliary bus 2021-07-05 18:11:28 +02:00
meson.build bus/auxiliary: introduce auxiliary bus 2021-07-05 18:11:28 +02:00
private.h bus/auxiliary: introduce auxiliary bus 2021-07-05 18:11:28 +02:00
rte_bus_auxiliary.h bus/auxiliary: introduce auxiliary bus 2021-07-05 18:11:28 +02:00
version.map bus/auxiliary: introduce auxiliary bus 2021-07-05 18:11:28 +02:00