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 A0807454EF for ; Tue, 25 Jun 2024 14:23:09 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 9A12A41132; Tue, 25 Jun 2024 14:23:09 +0200 (CEST) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by mails.dpdk.org (Postfix) with ESMTP id CFAAD40668 for ; Tue, 25 Jun 2024 14:23:07 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1719318187; 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=LzjACohi/0by2j7faEAK2TWQnrFAiIh5BaMdbpKYGLI=; b=PHoB0LtEYWdsxI2OB4PpmHV6tkzwom0oN1mCA9vdrSsm1cNFzxFfVqSp0m5H+WFq9GO5rX CGSxWufGzYTNNWoNLPVkHzLF3VAwGljYOFqPhn6ZNrIsXM1l9zI+Xvg5AZUXutdTcWZjB1 04FryjGGDoLpB6MkK3rGeuiMXI7eiBE= Received: from mx-prod-mc-02.mail-002.prod.us-west-2.aws.redhat.com (ec2-54-186-198-63.us-west-2.compute.amazonaws.com [54.186.198.63]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-617-1xXM2HFKPGSlEkzzlre_NA-1; Tue, 25 Jun 2024 08:23:05 -0400 X-MC-Unique: 1xXM2HFKPGSlEkzzlre_NA-1 Received: from mx-prod-int-02.mail-002.prod.us-west-2.aws.redhat.com (mx-prod-int-02.mail-002.prod.us-west-2.aws.redhat.com [10.30.177.15]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mx-prod-mc-02.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS id 6D3BA195608F; Tue, 25 Jun 2024 12:23:04 +0000 (UTC) Received: from dmarchan.redhat.com (unknown [10.45.225.3]) by mx-prod-int-02.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTP id 571E11956087; Tue, 25 Jun 2024 12:23:02 +0000 (UTC) From: David Marchand To: dev@dpdk.org Cc: stable@dpdk.org, Jochen Behrens , Stephen Hemminger Subject: [PATCH] net/vmxnet3: fix init logs Date: Tue, 25 Jun 2024 14:22:52 +0200 Message-ID: <20240625122252.1065677-1-david.marchand@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.0 on 10.30.177.15 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII"; x-default=true X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-bounces@dpdk.org All logs for this driver are emitted under pmd.net.vmxnet3.driver while two logtypes exist. This issue comes from the conversion to dynamic logtypes change. Redirect PMD_INIT_LOG to pmd.net.vmxnet3.init. Fixes: 79daffdcb6ac ("net/vmxnet3: implement dynamic logging") Cc: stable@dpdk.org Signed-off-by: David Marchand --- drivers/net/vmxnet3/vmxnet3_logs.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/vmxnet3/vmxnet3_logs.h b/drivers/net/vmxnet3/vmxnet3_logs.h index e2127988f6..5962325d62 100644 --- a/drivers/net/vmxnet3/vmxnet3_logs.h +++ b/drivers/net/vmxnet3/vmxnet3_logs.h @@ -7,7 +7,7 @@ extern int vmxnet3_logtype_init; #define PMD_INIT_LOG(level, fmt, args...) \ - rte_log(RTE_LOG_ ## level, vmxnet3_logtype_driver, \ + rte_log(RTE_LOG_ ## level, vmxnet3_logtype_init, \ "%s(): " fmt "\n", __func__, ## args) #define PMD_INIT_FUNC_TRACE() PMD_INIT_LOG(DEBUG, " >>") -- 2.45.2