From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 04DBAA0C43; Tue, 16 Nov 2021 05:56:30 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id E6FE140141; Tue, 16 Nov 2021 05:56:29 +0100 (CET) Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by mails.dpdk.org (Postfix) with ESMTP id E9BA140040 for ; Tue, 16 Nov 2021 05:56:27 +0100 (CET) X-IronPort-AV: E=McAfee;i="6200,9189,10169"; a="220510981" X-IronPort-AV: E=Sophos;i="5.87,237,1631602800"; d="scan'208";a="220510981" Received: from orsmga005.jf.intel.com ([10.7.209.41]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 15 Nov 2021 20:56:27 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.87,237,1631602800"; d="scan'208";a="671824013" Received: from limiao-icelake.sh.intel.com ([10.67.115.126]) by orsmga005.jf.intel.com with ESMTP; 15 Nov 2021 20:56:26 -0800 From: Miao Li 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 Message-Id: <20211116130013.146137-1-miao.li@intel.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org 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 --- 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