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 2841A42A41 for ; Tue, 2 May 2023 17:45:25 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 1FA2342B8E; Tue, 2 May 2023 17:45:25 +0200 (CEST) Received: from NAM02-DM3-obe.outbound.protection.outlook.com (mail-dm3nam02on2079.outbound.protection.outlook.com [40.107.95.79]) by mails.dpdk.org (Postfix) with ESMTP id D36C240ED8; Tue, 2 May 2023 17:45:22 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ZtxSX4M8+AP6bXeOFLbom0T3XFSCCpIy41mEAsLo77lCpBlcxQpHaXgBBYlvDMSFuyOgxftX7UU/GlCheKTU+NoWr7EFE6B5Scjp+b0OKosFdI6d7s8FgvmiAq8smzNdxnO/qYRR2Gd42Feb1c4yr3BbgCunjiVJ9WtN/735CsVfOFd4reAidDbx7ik0dNM6YAhp4UdXXr2gTUSPzDLpSON1jO6mDYPa63XJf6weKTQ95oACsfUaRPjySXDJZjVhb3pcaddOLu+0UDBPZ/FKk+2E14pxTttLN3CkpX4hAly1bHO/jMXZ3vq+Zldes/FlSkHkQdZmXdsKuJYJQSzeHg== 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=pfjPFPhHK0l2vmZoG4bejt0Xpo7INrIOVq3Ed0dnnG0=; b=RWtbscjg3iQc7Tx8fVNMFh/+usjnR1p5ZBuZDFnPKwCaWmIJWQVc5eS4T45PRe6kMp3O4C7jPefL5uMT+Doo1zUvXQxPqhwd2lAILcVNqf/ytGaQ11/6zfHPSavcBfm3ibwX2gibbDlKi/BPQyNJ8bZigR8DO0X6BNog+Dt0N+dNz5r3SkSatmH/brin5xap5NoNcZjtgDhdVVcot5sY1sdhMhHBd1yN5t4XAv4E8moLcgHeBzVhxbPTrFpkQJvzytt+cdT44OWncXq778Gf6Na+HQxyMMerrlmdlXxXXKw4NwMWn/tqqZK1jTM04yS0o8N+zcZsmz7JSADBa6zGJA== 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=pfjPFPhHK0l2vmZoG4bejt0Xpo7INrIOVq3Ed0dnnG0=; b=x4mw3cwV3ah3QRfSFi0rEgi3B6GYBo5A0wxaZwKIQlVw8aANSK7RMfHJbKQqjtqoygRSpJOZLwBQxBlgxM2kqViTDSXPYqSScj8OvJcKbIuG4yzOVnokcCxh+LgrCLFKXmfMf80QhRV+3BL8bcZIfm0PgPOrFs0nSS+78zrZPb4= 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 IA1PR12MB6483.namprd12.prod.outlook.com (2603:10b6:208:3a8::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6340.30; Tue, 2 May 2023 15:45:20 +0000 Received: from CH2PR12MB4294.namprd12.prod.outlook.com ([fe80::e818:77ea:75b5:f8cc]) by CH2PR12MB4294.namprd12.prod.outlook.com ([fe80::e818:77ea:75b5:f8cc%5]) with mapi id 15.20.6340.031; Tue, 2 May 2023 15:45:20 +0000 Message-ID: <920a91f8-531a-e75a-3135-c4675c3cea42@amd.com> Date: Tue, 2 May 2023 16:45:09 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.10.1 Subject: Re: [PATCH] net/mana: use RTE_LOG_DP for logs on datapath Content-Language: en-US To: longli@linuxonhyperv.com Cc: dev@dpdk.org, Ajay Sharma , Long Li , stable@dpdk.org References: <1677012145-3559-1-git-send-email-longli@linuxonhyperv.com> From: Ferruh Yigit In-Reply-To: <1677012145-3559-1-git-send-email-longli@linuxonhyperv.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-ClientProxiedBy: LO4P123CA0393.GBRP123.PROD.OUTLOOK.COM (2603:10a6:600:18f::20) To CH2PR12MB4294.namprd12.prod.outlook.com (2603:10b6:610:a9::11) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: CH2PR12MB4294:EE_|IA1PR12MB6483:EE_ X-MS-Office365-Filtering-Correlation-Id: 25a48618-534e-4c92-42a9-08db4b243bf4 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: hoRIBV/baT3E8RWRyPs9Z196jrCeCBtyUtdIxpQQwA3qvqmtkPhlMDaJeV9CT0U5j0r2tNtNhEW/uqQAPG6R3rJUjGrxyz9/OuTSzSzsdnkFHQrrfLd+g5OmnNCMb3bHIi+EWM8C5LMCFkcx/pu7BD2OYydXwZtsjbuLPgL55LelbsQaNrhMiLSUJB8hAM7/TAbkuadRxF2k/FovZ0dIFmhPxAymMac63vzEVBllPFhmIXW3eBWb5JpmDf+ooGwwM9omgaNufq9LeMiJeIii9C5HTrVS6dFKHowd7Zoogqp5JgHlNZr7EC1KEaqdxwv8ovZ8QmArn9+k3M5AUAmxtmhBBo5IM+cTuj22ek73gnZyk/0Rx/4+5EMZpCcYMTvEYcOd74RkEsYY80oc5PVuNMMYKNEoqSxkHMyNOXl3wj0MBJl+DgGF/i1mwlji60FkioBCrAICwWZFVzxbjSFujx1bPOVmFsUF8O1tYxHq9TPAo5NchfaDsOxVKTUZ/Njs3mBxmOjR2+sSPQ6bBniGyuUZ7xmsNbJW0CqfY9Q5ZOCYNycc6dkR8+5vYoNUOTxcXHmbBLdaU/5SYh7kq2j6FIc/K7+5WMjwlFzLFGITdOtiOZxv2umZN4wjoV4AIgxPQfyOeqkMZI62rOVTYQQTQQ== 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:(13230028)(4636009)(366004)(39860400002)(136003)(376002)(396003)(346002)(451199021)(36756003)(31696002)(86362001)(38100700002)(8676002)(66946007)(66476007)(5660300002)(8936002)(4326008)(6916009)(41300700001)(316002)(44832011)(66556008)(2906002)(4744005)(2616005)(6486002)(45080400002)(6666004)(54906003)(478600001)(6506007)(186003)(6512007)(26005)(53546011)(31686004)(45980500001)(43740500002); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?ZnZLQjZlUHJXNnpScDNDaGd0YnppdDFxMmZXMnZIYzdxUDBBZllxOTJXMzhJ?= =?utf-8?B?L3J3ZzUySFZjUUxPOGl0NzBuek1FM1NvNEUxdkx2azVkWUNrNzV6KytNVGpD?= =?utf-8?B?aGF3NnBtVUVjZzNjSVFJMkI3ZTQ2WkdqVFZaR1VkdzZBWTFES0xOMUhWZHFV?= =?utf-8?B?OEFrcUF6ejJqdWN4cVl0QXdzTDdqS1FrZ2hhVE9iQWpUV2hKTGI5RHRsRFZN?= =?utf-8?B?K1JJcDBycURtcUtZNEpZRElKWEJuakZrRWZ0VGxxeGljTnNTRUR4SUVsbFU4?= =?utf-8?B?TUZReGMxZUtMOEZrVU5JVXhxYXVDemdncWIwWW1KOExFT2E4NTF5QlNmUVpS?= =?utf-8?B?MldkZ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-Exchange-CrossTenant-Network-Message-Id: 25a48618-534e-4c92-42a9-08db4b243bf4 X-MS-Exchange-CrossTenant-AuthSource: CH2PR12MB4294.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 02 May 2023 15:45:20.5163 (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: xs6WvtWgZTeVI8e7Xar6qhICLY2KicCOgdkNNy/XaoBC3paRquNS7YnNf0PUPimq X-MS-Exchange-Transport-CrossTenantHeadersStamped: IA1PR12MB6483 X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-bounces@dpdk.org On 2/21/2023 8:42 PM, longli@linuxonhyperv.com wrote: > From: Long Li > > Change all the logging statements on the datapath to use RTE_LOG_DP() to > reduce CPU overhead when logging is not enabled for datapath. > > Fixes: 517ed6e2d5 ("net/mana: add basic driver with build environment") > Cc: stable@dpdk.org > Signed-off-by: Long Li Applied to dpdk-next-net/main, thanks.