From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 974E1A0C4E; Tue, 16 Nov 2021 21:34:14 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 62E0E41104; Tue, 16 Nov 2021 21:34:14 +0100 (CET) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [216.205.24.124]) by mails.dpdk.org (Postfix) with ESMTP id 6948140141 for ; Tue, 16 Nov 2021 21:34:13 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1637094852; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=0szO2GuKJoMNSn7RxS16nE9UewCiq2YRB7isfOd/98g=; b=H45HJgtxIjXhR/ujBrv2qC/35uusScdIVcrbBcVDG9yN9SBKJUWAebdctRcwCcHmDDO7iq I9+hCBJRr8ZVJLuQHKnKwRO2Ndj6dD/NLd+cvrwCnFRj7goUzhYRA3+gDuYQCjoBQ+F9V7 Fqa0klvQrn6+zqADCHZzhDJQ+AgMw4I= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-593-XbbeIYwMNYyf-H4KQQ2O6g-1; Tue, 16 Nov 2021 15:34:07 -0500 X-MC-Unique: XbbeIYwMNYyf-H4KQQ2O6g-1 Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.phx2.redhat.com [10.5.11.16]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id E441880A5C3; Tue, 16 Nov 2021 20:34:05 +0000 (UTC) Received: from dmarchan.remote.csb (unknown [10.40.192.8]) by smtp.corp.redhat.com (Postfix) with ESMTP id F1D4F5C25D; Tue, 16 Nov 2021 20:34:03 +0000 (UTC) From: David Marchand To: dev@dpdk.org Cc: thomas@monjalon.net, ferruh.yigit@intel.com, Matan Azrad , Viacheslav Ovsiienko , Suanming Mou Subject: [PATCH] common/mlx5: decrease log level for hlist creation Date: Tue, 16 Nov 2021 21:33:54 +0100 Message-Id: <20211116203354.14167-1-david.marchand@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.16 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=david.marchand@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Initialising mlx5 devices in OVS, I get the following logs: 2021-11-16T20:08:37Z|00021|dpdk|INFO|EAL: Probe PCI driver: mlx5_pci (15b3:101d) device: 0000:3b:00.0 (socket 0) 2021-11-16T20:08:37Z|00022|dpdk|INFO|common_mlx5: RTE_MEM is selected. 2021-11-16T20:08:38Z|00023|dpdk|WARN|mlx5_pci: Size 0xFFFF is not power of 2, will be aligned to 0x10000. Those logs just make no sense for a final user and were raised to WARN level recently. Lower them back to DEBUG. Fixes: 961b6774c451 ("common/mlx5: add per-lcore cache to hash list utility") Signed-off-by: David Marchand --- drivers/common/mlx5/mlx5_common_utils.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/common/mlx5/mlx5_common_utils.c b/drivers/common/mlx5/mlx5_common_utils.c index 775fabd478..c83333b4b4 100644 --- a/drivers/common/mlx5/mlx5_common_utils.c +++ b/drivers/common/mlx5/mlx5_common_utils.c @@ -406,7 +406,7 @@ mlx5_hlist_create(const char *name, uint32_t size, bool direct_key, /* Align to the next power of 2, 32bits integer is enough now. */ if (!rte_is_power_of_2(size)) { act_size = rte_align32pow2(size); - DRV_LOG(WARNING, "Size 0x%" PRIX32 " is not power of 2, will " + DRV_LOG(DEBUG, "Size 0x%" PRIX32 " is not power of 2, will " "be aligned to 0x%" PRIX32 ".", size, act_size); } else { act_size = size; -- 2.23.0