<html><head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body>
<p>Hi Li,<br>
</p>
<div class="moz-cite-prefix">On 16/11/2021 1:00 PM, Miao Li wrote:<br>
</div>
<blockquote type="cite" cite="mid:20211116130013.146137-1-miao.li@intel.com">
<pre class="moz-quote-pre" wrap="">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 <a class="moz-txt-link-rfc2396E" href="mailto:miao.li@intel.com"><miao.li@intel.com></a>
---
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;
</pre>
</blockquote>
<p><br>
</p>
<p>It's probably better to say "lcore %u is <b>reading </b>port %d
queue %d".</p>
<p>Regards,<br>
Dave.<br>
</p>
</body>
</html>