DPDK patches and discussions
 help / color / mirror / Atom feed
* [PATCH v1] examples/l3fwd-power: add wakeup log
@ 2021-11-16 13:00 Miao Li
  2021-11-16  9:14 ` David Hunt
  2021-11-17 10:35 ` [PATCH v2] " Miao Li
  0 siblings, 2 replies; 8+ messages in thread
From: Miao Li @ 2021-11-16 13:00 UTC (permalink / raw)
  To: dev; +Cc: david.hunt

This patch adds a log in main telemetry loop to show the thread is
waked up and begins to send and receive packets.

Signed-off-by: Miao Li <miao.li@intel.com>
---
 examples/l3fwd-power/main.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/examples/l3fwd-power/main.c b/examples/l3fwd-power/main.c
index 6988a0ed34..b8c020fb91 100644
--- a/examples/l3fwd-power/main.c
+++ b/examples/l3fwd-power/main.c
@@ -1156,6 +1156,9 @@ main_telemetry_loop(__rte_unused void *dummy)
 			ep_nep[nb_rx == 0]++;
 			fp_nfp[nb_rx == MAX_PKT_BURST]++;
 			poll_count++;
+			RTE_LOG(INFO, L3FWD_POWER,
+				"lcore %u is waked up on port %d queue %d\n",
+				rte_lcore_id(), portid, queueid);
 			if (unlikely(nb_rx == 0))
 				continue;
 
-- 
2.25.1


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

end of thread, other threads:[~2021-11-24 13:02 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-16 13:00 [PATCH v1] examples/l3fwd-power: add wakeup log Miao Li
2021-11-16  9:14 ` David Hunt
2021-11-17 10:35 ` [PATCH v2] " Miao Li
2021-11-17  8:57   ` David Hunt
2021-11-17  9:53     ` Thomas Monjalon
2021-11-23 15:57   ` [PATCH] examples/power: revert "add wakeup log" David Hunt
2021-11-24 12:17     ` Pattan, Reshma
2021-11-24 13:02       ` Thomas Monjalon

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).