DPDK patches and discussions
 help / color / mirror / Atom feed
* [PATCH] net/vmxnet3: fix init logs
@ 2024-06-25 12:22 David Marchand
  2024-07-06 18:51 ` Ferruh Yigit
  0 siblings, 1 reply; 2+ messages in thread
From: David Marchand @ 2024-06-25 12:22 UTC (permalink / raw)
  To: dev; +Cc: stable, Jochen Behrens, Stephen Hemminger

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 <david.marchand@redhat.com>
---
 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


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] net/vmxnet3: fix init logs
  2024-06-25 12:22 [PATCH] net/vmxnet3: fix init logs David Marchand
@ 2024-07-06 18:51 ` Ferruh Yigit
  0 siblings, 0 replies; 2+ messages in thread
From: Ferruh Yigit @ 2024-07-06 18:51 UTC (permalink / raw)
  To: David Marchand, dev; +Cc: stable, Jochen Behrens, Stephen Hemminger

On 6/25/2024 1:22 PM, David Marchand wrote:
> 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 <david.marchand@redhat.com>
> 

Reviewed-by: Ferruh Yigit <ferruh.yigit@amd.com>

Applied to dpdk-next-net/main, thanks.


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-07-06 18:51 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-06-25 12:22 [PATCH] net/vmxnet3: fix init logs David Marchand
2024-07-06 18:51 ` Ferruh Yigit

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).