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 601F9A0C41; Wed, 17 Nov 2021 09:57:40 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id DD31B4068C; Wed, 17 Nov 2021 09:57:39 +0100 (CET) Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by mails.dpdk.org (Postfix) with ESMTP id 4D8E340040 for ; Wed, 17 Nov 2021 09:57:38 +0100 (CET) X-IronPort-AV: E=McAfee;i="6200,9189,10170"; a="257674365" X-IronPort-AV: E=Sophos;i="5.87,241,1631602800"; d="scan'208";a="257674365" Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 17 Nov 2021 00:57:37 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.87,241,1631602800"; d="scan'208";a="735746723" Received: from orsmsx606.amr.corp.intel.com ([10.22.229.19]) by fmsmga006.fm.intel.com with ESMTP; 17 Nov 2021 00:57:37 -0800 Received: from orsmsx607.amr.corp.intel.com (10.22.229.20) by ORSMSX606.amr.corp.intel.com (10.22.229.19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.12; Wed, 17 Nov 2021 00:57:36 -0800 Received: from orsmsx604.amr.corp.intel.com (10.22.229.17) by ORSMSX607.amr.corp.intel.com (10.22.229.20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.12; Wed, 17 Nov 2021 00:57:36 -0800 Received: from ORSEDG602.ED.cps.intel.com (10.7.248.7) by orsmsx604.amr.corp.intel.com (10.22.229.17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.12 via Frontend Transport; Wed, 17 Nov 2021 00:57:36 -0800 Received: from NAM11-BN8-obe.outbound.protection.outlook.com (104.47.58.170) by edgegateway.intel.com (134.134.137.103) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2242.12; Wed, 17 Nov 2021 00:57:35 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=GJDUBrhQQXLjk6PFCoN3mLVWiKhErGJ0CfKPB0gJQxJvaOD1aJ4QEJMk9oYKSGyc63qP25SxV5X5Oz2baIjZhxvTYIG4ifSAuNGC+xEGZjctRdAaVdmGvG4oRno1c9oEh00fX7bnGRs1QY4o8FWuZRDHkpvuQInFZmKi710t+dYqIzSPlKazDWlGTg+W1TEAdbSleKnubt9whWOTLbxEso7B26Qc7Yj1XBpW1BBhcbBu0icjvwnDpBfGxuu1E7LTQcGvYAdBxmuXpUHQ18xb91QOiCMJD7XpfXEarQJ+Ij9zpXwlAc+WodydhSPNm15PIWBQ5Cp3RDYjdx0XX0J18w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=K07LGryFDiYdI9Sze14P1+A57fs8Wnhg+FryBt56GZQ=; b=Kslj0do4Xy7f7pOGRAdTsvuCSOA2jKbtDkTAYVcHtfO41UADUW+639oqi1Z+sLYVQ73egw0LWCEyfFEQXWVvbciAdk6urFnX0uJ6J1hb/pqAJw8l4k2+i97b/gO6fr6bc01ouchSsAieyqa6uEUSSv8OPvUJB+9mgb2f5YvJmHMbXzc8qUH+NB04g2Wcwwc3txF26wErMAFi9fnMZzc6qW55+JlbnP/l06ZM/6GEtaFa5sD8f2RdPAXKaEyDH/CUHwziGUJ4r+hUhgW/yvOfShp8MxsHNVEsOsxwSSVQIEtfZIZ+aEHoNv1++c/lQ/VXUgd3E0ebUi0e23wxlOMIeg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel.onmicrosoft.com; s=selector2-intel-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=K07LGryFDiYdI9Sze14P1+A57fs8Wnhg+FryBt56GZQ=; b=vTjr9zhZWv5b/8qqd3uu9+b2WvEiqGKMwN9YbQYhGeE2DcYjQouMLQREBjzzjcbmFH65wE2/iNrbiElndJWFY1NPzUUJjw4Ev7Ur7L6pOIyS+qIbchYTXyOlxRF/uXVEny/4Nuj6q16Ec8VcdVFfIytuvyUzDv9Jpb3dwYzRH8k= Authentication-Results: intel.com; dkim=none (message not signed) header.d=none;intel.com; dmarc=none action=none header.from=intel.com; Received: from PH0PR11MB5047.namprd11.prod.outlook.com (2603:10b6:510:3c::18) by PH7PR11MB5794.namprd11.prod.outlook.com (2603:10b6:510:131::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4587.22; Wed, 17 Nov 2021 08:57:32 +0000 Received: from PH0PR11MB5047.namprd11.prod.outlook.com ([fe80::f1a0:809a:3d2e:e13c]) by PH0PR11MB5047.namprd11.prod.outlook.com ([fe80::f1a0:809a:3d2e:e13c%9]) with mapi id 15.20.4690.027; Wed, 17 Nov 2021 08:57:32 +0000 Message-ID: Date: Wed, 17 Nov 2021 08:57:27 +0000 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Firefox/91.0 Thunderbird/91.3.1 Subject: Re: [PATCH v2] examples/l3fwd-power: add wakeup log To: Miao Li , CC: References: <20211116130013.146137-1-miao.li@intel.com> <20211117103531.152630-1-miao.li@intel.com> From: David Hunt In-Reply-To: <20211117103531.152630-1-miao.li@intel.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-ClientProxiedBy: DU2P251CA0010.EURP251.PROD.OUTLOOK.COM (2603:10a6:10:230::25) To PH0PR11MB5047.namprd11.prod.outlook.com (2603:10b6:510:3c::18) MIME-Version: 1.0 Received: from [192.168.1.2] (86.42.124.153) by DU2P251CA0010.EURP251.PROD.OUTLOOK.COM (2603:10a6:10:230::25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4690.17 via Frontend Transport; Wed, 17 Nov 2021 08:57:31 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 91211b0b-271a-4c65-8c0e-08d9a9a84a81 X-MS-TrafficTypeDiagnostic: PH7PR11MB5794: X-LD-Processed: 46c98d88-e344-4ed4-8496-4ed7712e255d,ExtAddr X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:3044; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: Wj35dwifRdPkL0D5VXQQ2kf6bo/BMItYmcRuFc1Mu5s/EZ7rOZaysPzevuf5YXSHClm6FcESlsqHLs1TETLXuKRkyPRQIlWGofsgac5xU7nvPaLxJ+v57JcYA8cMfONy3qczfLPkSjR4y8u8h6fE8Laync3YPtW/VuEGVUU+93fUb1DQx+PBoSVRMxEtFHcxYQZWSAp2GzoMlhhbgxCcMu6yZJwXlWLJosVk80ClO0scdQzCIwf/MC0Ba9dzBkmV42Rdz+Jw4K7AgtjzXcuuJz8TkApLV1R4+9jEzkoqNtFFiuFFVP4MZmKVQV3clIMyuxjiM+GCnqIqQYpfhj7tTq0rBG2ia34Mp9pXbsrNn7bNTdiK3UguXTjyMhXNyV1IEEEGwy1sxaF1u4ccmxE2VxHJi/cLiJ80sGL2cdgRd7AMu8Of0cEGvoIz6PySr+rFm64hwaSDLDZEylEjp3V/4YEo1lCEJxGA3d/1iPZqEEdTWCFHJ1URCOqDNAuiVwCuj2liSSbgvS9JJXkGF/UQyZrZtvqOPMxEBveQUq9oNDX2zZqcukKB7rTLoS2n6WV+9GDYErqHEzmMYpei17Ue6MO2H25rP9kcd8v370+Zn56jiElaX9RyJouZ6McZPEqw3YAVs3ttPOPJg8eEy7eop77Qulgca/r4LA7cHWRDpimni4lR1mU2ioKz8eq33n59tCXiOZ0up/ylO7WJ1pBVqkKta+AajRS7Tlk5+S6/cQqoKWEQhOJ30aWXqcAfKX/6 X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:PH0PR11MB5047.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(366004)(8676002)(86362001)(316002)(66946007)(4326008)(508600001)(2616005)(66556008)(66476007)(44832011)(6666004)(36756003)(5660300002)(16576012)(2906002)(107886003)(53546011)(8936002)(31686004)(82960400001)(26005)(83380400001)(31696002)(6486002)(4744005)(186003)(38100700002)(956004)(43740500002)(45980500001); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?MEN6S01GVzJnNE9kTlZCOG16N09yTnRzbkZKYmJQVDhkQXQyViszYkh5K1VJ?= =?utf-8?B?MDJvR2p2S0xJZE1yMjhIYUxJcUp4Y3VCT3JmSzM3b3IyUHNzSlJQaXgySnNT?= =?utf-8?B?OHdqNUpGS1hzc0g0QXlheGRoaDQ4RFBGZTlCdXFvL2ZSRDdkOCthdXl5YUVy?= =?utf-8?B?U1BVQVBHdjNRcGowWjJpSDVlR0lPTHdVais0c3c5RkExUUM2S1BqSHZUeElk?= =?utf-8?B?MnJ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?utf-8?B?eHBQMy95cmVTb1MvYXZpcGlHNUw2U09vOGhhSlUvb0tzMiswVlFQNndDQjZp?= =?utf-8?B?dSsrZDNjNzhGRUxFb0VET09PeHNKM3MrVEtKZnoyMkJRVmZNVzkxM3pzb242?= =?utf-8?B?dFh5bkM4RForeDY2ZjRWZFFlVlFob1FaYUV3emdRcUNiZzVxMXBpS0pkemlk?= =?utf-8?B?aTBLMHRLNU9CdHU4amU0RmR0eFFJRStkeW9IWjRvUThHWUhqMHJGdUI5MVNB?= =?utf-8?B?UGpKc2UvV3hvVlVNSTFPb3J0ZDAySXVyN0l0NlpyQ0cwMHh1dzkvajIvcFRF?= =?utf-8?B?L2R6MjU0NmpYSUNZVklFQTBEc0VEcjZSSDBrUytTcnVKVXlZQVFsSU91eTNo?= =?utf-8?B?eHQ0dHRQWTlkWHp1YWR2bUdqRjc2bU9NY05NRzB6ek9CNk44VDlOOTZiTlRE?= =?utf-8?B?cElKQlU5SCt1ZVR4QmRETDNUejA5YzZONFRrOGpxZjVpN1k5Zmx4bjZNWVYy?= =?utf-8?B?S0JBSlRxdS9LUzZSVW9SQ0dLRU55MGxVY1BKRWY0Um4xNXNKQU5wU0tIUTg2?= =?utf-8?B?dnpEa0FtaGZQdkthMUhZZTJzbjJLWVVTbXZ3SmN2dzJjSTdWTXhGUjRjRWlD?= =?utf-8?Q?/5Iems2E2G5AJYgzmakzE9dwf8iZLKw80E8gPtI?= X-MS-Exchange-CrossTenant-Network-Message-Id: 91211b0b-271a-4c65-8c0e-08d9a9a84a81 X-MS-Exchange-CrossTenant-AuthSource: PH0PR11MB5047.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 17 Nov 2021 08:57:32.1917 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: 8dfc/jKqR5P00L7+4UMDXH0RICoB3yRmGV2f8dZXgJmfp28xL+DO/UNDO01s2Rigz0/UZ4WU7rWYIMR8NHM8tQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH7PR11MB5794 X-OriginatorOrg: intel.com 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 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 > --- > 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