From patchwork Wed Nov 17 10:35:31 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Li, Miao" X-Patchwork-Id: 104430 Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 4FE6DA0C41; Wed, 17 Nov 2021 03:31:50 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 108C84068C; Wed, 17 Nov 2021 03:31:50 +0100 (CET) Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by mails.dpdk.org (Postfix) with ESMTP id 0A6D440040 for ; Wed, 17 Nov 2021 03:31:47 +0100 (CET) X-IronPort-AV: E=McAfee;i="6200,9189,10170"; a="233702530" X-IronPort-AV: E=Sophos;i="5.87,239,1631602800"; d="scan'208";a="233702530" Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 16 Nov 2021 18:31:46 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.87,239,1631602800"; d="scan'208";a="645680706" Received: from limiao-icelake.sh.intel.com ([10.67.115.126]) by fmsmga001.fm.intel.com with ESMTP; 16 Nov 2021 18:31:45 -0800 From: Miao Li To: dev@dpdk.org Cc: david.hunt@intel.com, bruce.richardson@intel.com Subject: [PATCH v2] examples/l3fwd-power: add wakeup log Date: Wed, 17 Nov 2021 10:35:31 +0000 Message-Id: <20211117103531.152630-1-miao.li@intel.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20211116130013.146137-1-miao.li@intel.com> References: <20211116130013.146137-1-miao.li@intel.com> MIME-Version: 1.0 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 has woken up and begun to send and receive packets. Signed-off-by: Miao Li Acked-by: David Hunt --- 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;