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 5469941C97; Tue, 14 Feb 2023 19:14:40 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 3598541141; Tue, 14 Feb 2023 19:14:40 +0100 (CET) Received: from NAM02-DM3-obe.outbound.protection.outlook.com (mail-dm3nam02on2086.outbound.protection.outlook.com [40.107.95.86]) by mails.dpdk.org (Postfix) with ESMTP id 862B440EE4 for ; Tue, 14 Feb 2023 19:14:38 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=WlGQZYep6KKXntqlEEr3TvYUtosIiIwj8z86LGIXjUIVNEikg1cqyWFiwL8sJIFT/X0JrH1b1j/GSuHnmBfih2ajs1YFRVf2O50NhYFTR+rAqd/Li5QC/k3OCirCikcQSjKukjvyELHV+6p3JNDN9Hr9fjtFbpLGCy0g8lhfukEyxlpOzbO+g5wHICLWQ7TKnkaOmgPRQJlTV+5L/eFEZ5BcTXCyLSvobrEnlhr66+yuSz2aC5DxA73iIDQbYl6uDk6WkAONDnlO0OU0pKAKyn+Vin+cTvKeBAE7t9tqOPrHs8cEVyRUbxBQzxAC9p7Qed+p1BgR+CYu2NK8Oiy3Bg== 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=D2I7ZPtX+HC9pUom+BCQs1GdQwJiWEi2tVib1pcXeTo=; b=WIkyY0WoA61t7EJXHq6et3QrKpx4/VLRQHNIKjgjZ3N1X/+K8lisibfgk/MgQyzFz2zIflquz3YfT4yJxd6zqQYr0RHbcxnPGsMzafSy0JQiVixTw7FwSGdM6kytCugbfwMogvXdhEqRNgRKwlvzHftIxpssgWZTw63S4WXZRVJiO8mkgHRNpqo8WZC5KgXBdLQTyjlGWqGZ7RDki82juCu+OUkpwAObU9t5CeYuin5o6V6ahnoUzus4eNfeOSDvw8IyUIkmkPX/RXBs+Yasrj0mW9ALufxeTh7w9PfdM/ads9RPPwd5kY79vYYSXvzVTw7G+ZGnjgMF6HqKzL8UVg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=amd.com; dmarc=pass action=none header.from=amd.com; dkim=pass header.d=amd.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amd.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=D2I7ZPtX+HC9pUom+BCQs1GdQwJiWEi2tVib1pcXeTo=; b=oKAlC9uKxF5SgtNHlza8tWYazjAc03MFl2Bt+3XKU7bfbSdQ4aPCaFFKRRdsnpEvGrShmCCcZzFQG/hRXoJj5T8PB0khY80+grDDGepbC57Ptf/YQR3MpjRQP7lmeCVSNgI31UVV6cFqWLR27oeGZxLLcJ8LhcuxwK9KOnDOMLk= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=amd.com; Received: from CH2PR12MB4294.namprd12.prod.outlook.com (2603:10b6:610:a9::11) by BN9PR12MB5083.namprd12.prod.outlook.com (2603:10b6:408:134::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6086.17; Tue, 14 Feb 2023 18:14:36 +0000 Received: from CH2PR12MB4294.namprd12.prod.outlook.com ([fe80::3614:22ed:ed5:5b48]) by CH2PR12MB4294.namprd12.prod.outlook.com ([fe80::3614:22ed:ed5:5b48%8]) with mapi id 15.20.6086.026; Tue, 14 Feb 2023 18:14:36 +0000 Message-ID: <41625e82-f098-f33f-4a19-34551d0b7b2c@amd.com> Date: Tue, 14 Feb 2023 18:14:30 +0000 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.7.2 Content-Language: en-US To: David Marchand , dev@dpdk.org Cc: Aman Singh , Yuying Zhang , Robin Jarry References: <20230124104742.1265439-1-david.marchand@redhat.com> <20230124104742.1265439-2-david.marchand@redhat.com> From: Ferruh Yigit Subject: Re: [PATCH 1/6] app/testpmd: factorize core cycles record In-Reply-To: <20230124104742.1265439-2-david.marchand@redhat.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-ClientProxiedBy: LO2P265CA0040.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:61::28) To CH2PR12MB4294.namprd12.prod.outlook.com (2603:10b6:610:a9::11) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: CH2PR12MB4294:EE_|BN9PR12MB5083:EE_ X-MS-Office365-Filtering-Correlation-Id: 023381ff-e146-429e-fe3b-08db0eb75466 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: TQBZn0xtHIPnH4DbAV9N2Hstz4G/2wywFwYfnzhSZc0J8kuK/kXsA07pBXMMXYJlLBoN2kGCO/9F3wklRP3zY8qLCvLfQL1CcW/4x7BWEjKDh48F39L1jH0echa8A5ee6k1WJgaqPqoD8+e3cvuX251l83p8CcqPuVqcXJD2hpW0PNDnTmD1rxJpuDxnar4ZQWdkDMAVdczSmJWgLc6kCeRcy/Xq5xzWeK21qLZHBl409F9L9H08H5gS+FnISIyZdYkeZgfnjY+w2mwrRrCIWKGzD4b8rzoxqsdu5tGHGAn9TeRUUTGEMpQjZlmCLK5nxVDk2eLCOmA4/F3iP1VHmao5yZuVdpf3mJTzNyJakYmYQaZQkzoz00S8dGTq9wUUbCnegRnA3XsrOO48ENEJFbOL/ZoNzYKV+N+Uig2VZj/VL9u2JwtIAa7fvTV4aPbl5OIUO9vrBJy/gpSUPXSL/+Z2My6IG2y6GV/eklKA6ljw5AFi7jVAvwrptGo4bmSxehyiig2vXXspRhxVUPLNUZW1fnE1mPo6KMdc3m5TnIOih4xBKdxKmKHN981I5IEsLn5i/MI8eHBPriCFUIMuvsvN+IGdSHjrsOVSsb4Nx/jfvSrkkNL0rUWPKklRq4BZf9AGpcDvEToVUaCNkJ3ZQMSGHr/kAffxR6TslukkUCxJwO0a+e47ZQ/C4ogfdpIfqDHbyaLfjYUpAGLUfuT6mR9IhBCgzgB6ebKD3kqz5Zk= X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:CH2PR12MB4294.namprd12.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230025)(4636009)(346002)(396003)(366004)(136003)(39860400002)(376002)(451199018)(53546011)(8936002)(6666004)(316002)(186003)(6506007)(26005)(6512007)(2906002)(5660300002)(4744005)(478600001)(44832011)(36756003)(54906003)(86362001)(6486002)(31696002)(66899018)(31686004)(66556008)(41300700001)(66476007)(4326008)(8676002)(66946007)(2616005)(38100700002)(45980500001)(43740500002); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?OWlZMXY1QkFTOXAxQUdrV09MdGEvM09HNGphemNiWC9pcFNoYW5HYlpxRDhW?= =?utf-8?B?QXJpd1k5UVJIWERnU1dUajcwdWp3eFZ6V3VsbzI3aWI0Q2ZBbFNJMkk1TGZP?= =?utf-8?B?bklSRjB6allWanJiU3U1Ym1rRE0xWm9ZcFRKMUw3UzlhWjBJd012Y1NIYUEz?= =?utf-8?B?N1lEMjcxazFSQWZMa2xnTjNhSWpZNmc4dmFFTFQ4RmxzSWpjQkt6d3hSV3RS?= =?utf-8?B?b3BVeForSjEvWnRuNWg2UlViZzJBcEdOdjVDTHo0ZzE1UzErZ0lJUnp2OC9G?= =?utf-8?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doMW82RXRCTm1rVEt6SlIzTEV2?= =?utf-8?Q?lQy5AORXLjjxaJIDLAC2rK64C?= X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-Network-Message-Id: 023381ff-e146-429e-fe3b-08db0eb75466 X-MS-Exchange-CrossTenant-AuthSource: CH2PR12MB4294.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 14 Feb 2023 18:14:36.4347 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: UW8VVCriyMKBiltdaJcGjbHcHhLSb6B04TeXaoe0uR7FBYNIm8AyiHD6Mstm0GQp X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN9PR12MB5083 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 1/24/2023 10:47 AM, David Marchand wrote: > Rather than have each forward engines deal with core cycles recording, > move this to testpmd common code. > fwd engines just need to report that they did some busy work. > > Signed-off-by: David Marchand Reviewed-by: Ferruh Yigit