From: Miao Li Date: Wed, 17 Nov 2021 10:35:31 +0000 (+0000) Subject: examples/l3fwd-power: add wakeup log X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=931e3a994597acb9ffa827376206e8aa324476b7;p=dpdk.git examples/l3fwd-power: add wakeup log 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 Acked-by: David Hunt --- diff --git a/examples/l3fwd-power/main.c b/examples/l3fwd-power/main.c index b8b3be2b8a..5c5825166d 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;