[PATCH v2] examples/l3fwd-power: add wakeup log
Miao Li
miao.li at intel.com
Wed Nov 17 11:35:31 CET 2021
This patch adds a log in main telemetry loop to show the thread has
woken up and begun to send and receive packets.
Signed-off-by: Miao Li <miao.li at 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..547785dafb 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 has woken up on port %d queue %d\n",
+ rte_lcore_id(), portid, queueid);
if (unlikely(nb_rx == 0))
continue;
--
2.25.1
More information about the dev
mailing list