All of lore.kernel.org
 help / color / mirror / Atom feed
From: David Hunt <david.hunt@intel.com>
To: Miao Li <miao.li@intel.com>, <dev@dpdk.org>
Cc: <bruce.richardson@intel.com>
Subject: Re: [PATCH v2] examples/l3fwd-power: add wakeup log
Date: Wed, 17 Nov 2021 08:57:27 +0000	[thread overview]
Message-ID: <e2719e4d-27f7-487f-85f7-95a389ba7bbd@intel.com> (raw)
In-Reply-To: <20211117103531.152630-1-miao.li@intel.com>


On 17/11/2021 10:35 AM, Miao Li wrote:
> 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@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;
>   


Acked-by: David Hunt <david.hunt@intel.com>




  reply	other threads:[~2021-11-17  8:57 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]
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=e2719e4d-27f7-487f-85f7-95a389ba7bbd@intel.com \
    --to=david.hunt@intel.com \
    --cc=bruce.richardson@intel.com \
    --cc=dev@dpdk.org \
    --cc=miao.li@intel.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.