patch 'net/mana: add missing new line to data path logs' has been queued to stable release 22.11.4

Xueming Li xuemingl at nvidia.com
Sun Oct 22 16:22:14 CEST 2023


Hi,

FYI, your patch has been queued to stable release 22.11.4

Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet.
It will be pushed if I get no objections before 11/15/23. So please
shout if anyone has objections.

Also note that after the patch there's a diff of the upstream commit vs the
patch applied to the branch. This will indicate if there was any rebasing
needed to apply to the stable branch. If there were code changes for rebasing
(ie: not only metadata diffs), please double check that the rebase was
correctly done.

Queued patches are on a temporary branch at:
https://git.dpdk.org/dpdk-stable/log/?h=22.11-staging

This queued commit can be viewed at:
https://git.dpdk.org/dpdk-stable/commit/?h=22.11-staging&id=a8fd5060ac766daf159e1d42bea52a4191c36e5e

Thanks.

Xueming Li <xuemingl at nvidia.com>

---
>From a8fd5060ac766daf159e1d42bea52a4191c36e5e Mon Sep 17 00:00:00 2001
From: Long Li <longli at microsoft.com>
Date: Fri, 13 Oct 2023 13:37:21 -0700
Subject: [PATCH] net/mana: add missing new line to data path logs
Cc: Xueming Li <xuemingl at nvidia.com>

[ upstream commit ee15bf9db2fb70d81d9c4b8f25622def7989b552 ]

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

Fixes: e2d3a3c060c4 ("net/mana: use datapath logging")

Signed-off-by: Long Li <longli at 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 cd877afcf9..f70a3e0b3d 100644
--- a/drivers/net/mana/mana.h
+++ b/drivers/net/mana/mana.h
@@ -462,7 +462,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.25.1

---
  Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- -	2023-10-22 22:17:38.184668400 +0800
+++ 0105-net-mana-add-missing-new-line-to-data-path-logs.patch	2023-10-22 22:17:34.376723700 +0800
@@ -1 +1 @@
-From ee15bf9db2fb70d81d9c4b8f25622def7989b552 Mon Sep 17 00:00:00 2001
+From a8fd5060ac766daf159e1d42bea52a4191c36e5e Mon Sep 17 00:00:00 2001
@@ -4,0 +5,3 @@
+Cc: Xueming Li <xuemingl at nvidia.com>
+
+[ upstream commit ee15bf9db2fb70d81d9c4b8f25622def7989b552 ]
@@ -9 +11,0 @@
-Cc: stable at dpdk.org
@@ -17 +19 @@
-index 9bff90ab77..6836872dc2 100644
+index cd877afcf9..f70a3e0b3d 100644
@@ -20 +22 @@
-@@ -467,7 +467,7 @@ extern int mana_logtype_init;
+@@ -462,7 +462,7 @@ extern int mana_logtype_init;


More information about the stable mailing list