DPDK patches and discussions
 help / color / mirror / Atom feed
* [PATCH] net/mana: add missing \n to DP logs
@ 2023-10-13 20:37 longli
  2023-10-16 10:41 ` Ferruh Yigit
  0 siblings, 1 reply; 2+ messages in thread
From: longli @ 2023-10-13 20:37 UTC (permalink / raw)
  To: Ferruh Yigit, Andrew Rybchenko; +Cc: dev, Ajay Sharma, Long Li

From: Long Li <longli@microsoft.com>

Add a missing "\n" to DP logs. This makes the logs correctly formatted.

Signed-off-by: Long Li <longli@microsoft.com>
---
 drivers/net/mana/mana.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/net/mana/mana.h b/drivers/net/mana/mana.h
index 9bff90ab77..6836872dc2 100644
--- a/drivers/net/mana/mana.h
+++ b/drivers/net/mana/mana.h
@@ -467,7 +467,7 @@ extern int mana_logtype_init;
 		__func__, ## args)
 
 #define DP_LOG(level, fmt, args...) \
-	RTE_LOG_DP(level, PMD, fmt, ## args)
+	RTE_LOG_DP(level, PMD, fmt "\n", ## args)
 
 #define PMD_INIT_LOG(level, fmt, args...) \
 	rte_log(RTE_LOG_ ## level, mana_logtype_init, "%s(): " fmt "\n",\
-- 
2.34.1


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

* Re: [PATCH] net/mana: add missing \n to DP logs
  2023-10-13 20:37 [PATCH] net/mana: add missing \n to DP logs longli
@ 2023-10-16 10:41 ` Ferruh Yigit
  0 siblings, 0 replies; 2+ messages in thread
From: Ferruh Yigit @ 2023-10-16 10:41 UTC (permalink / raw)
  To: longli, Andrew Rybchenko; +Cc: dev, Ajay Sharma, Long Li

On 10/13/2023 9:37 PM, longli@linuxonhyperv.com wrote:
> From: Long Li <longli@microsoft.com>
> 
> Add a missing "\n" to DP logs. This makes the logs correctly formatted.
> 
> Signed-off-by: Long Li <longli@microsoft.com>
> 

    Fixes: e2d3a3c060c4 ("net/mana: use datapath logging")
    Cc: stable@dpdk.org

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


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

end of thread, other threads:[~2023-10-16 10:41 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-10-13 20:37 [PATCH] net/mana: add missing \n to DP logs longli
2023-10-16 10:41 ` 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).