From: Miao Li <miao.li@intel.com>
To: dev@dpdk.org
Cc: david.hunt@intel.com
Subject: [PATCH v1] examples/l3fwd-power: add wakeup log
Date: Tue, 16 Nov 2021 13:00:13 +0000 [thread overview]
Message-ID: <20211116130013.146137-1-miao.li@intel.com> (raw)
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
next reply other threads:[~2021-11-16 4:56 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-11-16 13:00 Miao Li [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20211116130013.146137-1-miao.li@intel.com \
--to=miao.li@intel.com \
--cc=david.hunt@intel.com \
--cc=dev@dpdk.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).