From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <dev-bounces@dpdk.org>
Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124])
	by inbox.dpdk.org (Postfix) with ESMTP id 29F28A0C44;
	Tue, 15 Jun 2021 17:12:40 +0200 (CEST)
Received: from [217.70.189.124] (localhost [127.0.0.1])
	by mails.dpdk.org (Postfix) with ESMTP id E5A8A4067A;
	Tue, 15 Jun 2021 17:12:39 +0200 (CEST)
Received: from mail-pl1-f173.google.com (mail-pl1-f173.google.com
 [209.85.214.173])
 by mails.dpdk.org (Postfix) with ESMTP id 1115740140
 for <dev@dpdk.org>; Tue, 15 Jun 2021 17:12:38 +0200 (CEST)
Received: by mail-pl1-f173.google.com with SMTP id h12so8624564plf.4
 for <dev@dpdk.org>; Tue, 15 Jun 2021 08:12:38 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=networkplumber-org.20150623.gappssmtp.com; s=20150623;
 h=date:from:to:cc:subject:message-id:in-reply-to:references
 :mime-version:content-transfer-encoding;
 bh=ZVamWCJl2GyF9F7k4BBswcUmvsEX3FTXDyJFQjw7VVQ=;
 b=rpXSZbdochbB6el7tQpTu4KGGam96XeSLv1aTGQARhYIvxQCDChf31E6v8occU6Q0O
 rKzZNQSB9SunpmcHGZ0EXZdZK0g9lYpGK7HA1NxaFLnj6P3KY4JJdm5Q2SCjf2VGxJrL
 Z3uk0tD5nGp6W24+E7owKZUi0dSqmmLJCZaHsgMmSxlPcuUn9z9txrcvcWmMOfEO2o4S
 xeNbKrulXKeIXt9DzTk5jkizzouavj+xqJP3hk6f6wqJ1ywTm1jmVpNjhk4QmkBJl7Nc
 wWv9i4Lz873aHVzwJoFpKPV/rCcN//X0hf6C+iMw1OyH/GyVGYDODNb9zOn6sUrgXvTA
 E3og==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:date:from:to:cc:subject:message-id:in-reply-to
 :references:mime-version:content-transfer-encoding;
 bh=ZVamWCJl2GyF9F7k4BBswcUmvsEX3FTXDyJFQjw7VVQ=;
 b=B5s66ls5WI7WNU8UWFG+WI3sWq19vPOt+Rs2S0AuiO7S09qiakRDPzNqKG3EpN+yVy
 TYGff9/uPyf7YOaubwdSNmST2BtmC/pOsVJNZVushvR8WE9SKTVE9h9TuGemlpuCx6xK
 s2genh0BW8HxzJIt+tM5X0P1DdFR0B5H8s+3EZH6690E7vbqpifV2JJ0iVwhnNtc5RjF
 VjiOHdsl77sat5GO+3gBhuk9J3sM8+5d4yx2zoGuB8qmx7i4B/1kUoN7PGDblEpS5CSF
 ZaGTkjsEhhgoEdvg+0vXfa3vsPZuKoCRpghMpd57Q/LAG29Ma7gBu3cvGgHKtMQh+qjo
 E0bg==
X-Gm-Message-State: AOAM532dMfV3mqDtWm2xJTgIXDSIklKPn990uSZQHFpJeUAEpuEf1LG4
 LVBZXmd/emjfaJnNePEKtclY4A==
X-Google-Smtp-Source: ABdhPJzbwz4JJ/wbSE4sjpr6M/lLV7/dIDVIFoILkwg9veWJ6d1Z/HIpRbuf9nAkrMDVQMtYv3/aLg==
X-Received: by 2002:a17:90a:a116:: with SMTP id
 s22mr25432605pjp.218.1623769958113; 
 Tue, 15 Jun 2021 08:12:38 -0700 (PDT)
Received: from hermes.local (76-14-218-44.or.wavecable.com. [76.14.218.44])
 by smtp.gmail.com with ESMTPSA id w59sm15659085pjj.13.2021.06.15.08.12.36
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Tue, 15 Jun 2021 08:12:37 -0700 (PDT)
Date: Tue, 15 Jun 2021 08:12:29 -0700
From: Stephen Hemminger <stephen@networkplumber.org>
To: Dmitry Kozlyuk <dkozlyuk@nvidia.com>
Cc: <dev@dpdk.org>, Xueming Li <xuemingl@nvidia.com>, <stable@dpdk.org>,
 Marcin Wojtas <mw@semihalf.com>, Michal Krawczyk <mk@semihalf.com>, Guy
 Tzalik <gtzalik@amazon.com>, Evgeny Schemeilin <evgenys@amazon.com>, Igor
 Chauskin <igorch@amazon.com>, Stephen Hemminger <sthemmin@microsoft.com>,
 Long Li <longli@microsoft.com>, Sergio Gonzalez Monroy
 <sergio.gonzalez.monroy@intel.com>
Message-ID: <20210615081229.1e473407@hermes.local>
In-Reply-To: <20210615105156.760308-1-dkozlyuk@nvidia.com>
References: <20210615105156.760308-1-dkozlyuk@nvidia.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Subject: Re: [dpdk-dev] [PATCH] bus: clarify log for non-NUMA-aware devices
X-BeenThere: dev@dpdk.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: DPDK patches and discussions <dev.dpdk.org>
List-Unsubscribe: <https://mails.dpdk.org/options/dev>,
 <mailto:dev-request@dpdk.org?subject=unsubscribe>
List-Archive: <http://mails.dpdk.org/archives/dev/>
List-Post: <mailto:dev@dpdk.org>
List-Help: <mailto:dev-request@dpdk.org?subject=help>
List-Subscribe: <https://mails.dpdk.org/listinfo/dev>,
 <mailto:dev-request@dpdk.org?subject=subscribe>
Errors-To: dev-bounces@dpdk.org
Sender: "dev" <dev-bounces@dpdk.org>

On Tue, 15 Jun 2021 13:51:55 +0300
Dmitry Kozlyuk <dkozlyuk@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.