[dpdk-stable] [dpdk-dev] [PATCH] bus: clarify log for non-NUMA-aware devices
Stephen Hemminger
stephen at networkplumber.org
Tue Jun 15 17:12:29 CEST 2021
On Tue, 15 Jun 2021 13:51:55 +0300
Dmitry Kozlyuk <dkozlyuk at nvidia.com> wrote:
> diff --git a/drivers/bus/pci/pci_common.c b/drivers/bus/pci/pci_common.c
> index 35d7d092d1..bf06f81229 100644
> --- a/drivers/bus/pci/pci_common.c
> +++ b/drivers/bus/pci/pci_common.c
> @@ -190,7 +190,7 @@ rte_pci_probe_one_driver(struct rte_pci_driver *dr,
> }
>
> if (dev->device.numa_node < 0) {
> - RTE_LOG(WARNING, EAL, " Invalid NUMA socket, default to 0\n");
> + RTE_LOG(INFO, EAL, " Device is not NUMA-aware, defaulting socket to 0\n");
Also if RTE_MAX_NUMA_NODES is 1 then this message should be silenced.
It would be normal in that case.
More information about the stable
mailing list