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 C22A44401A; Mon, 13 May 2024 15:08:22 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id A3FD840A8B; Mon, 13 May 2024 15:08:22 +0200 (CEST) Received: from NAM12-DM6-obe.outbound.protection.outlook.com (mail-dm6nam12on2083.outbound.protection.outlook.com [40.107.243.83]) by mails.dpdk.org (Postfix) with ESMTP id 04230402EC for ; Mon, 13 May 2024 15:08:20 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=LyncdvnAx4TzfSbSZE0DpRX9lw2ExMIduh6CCheXx50IhGc8EzY1Zc/LVGBIYYsMXWovAvVAuUTXrKjDrWwiX82GWCUtu4dHCSK7/4Xwpi3bY6TK8DXbJNfiirSquSCcSn59QG9IrLTgC8Adu5+B/S6L4q31NwLx02Xg80rLUdI1/T3vESp8iVmI5mWEs8N3HHXr/e3tID1kVp0Oo3GOgXa1tQpxk3htKA49UCcoxS8MwLHvupElnCBAO5wvE2aKHy2d1ATfvjThTg1pl7fFGlpCAWOZ9xElPZF34MfpUo/LWSJvpN0iYggeDtJIzhIJCZIn8n8fnso9v8oALkNgJg== 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=aFnRgqYBHkqpC8pWPKlRHA8TjEbAmklxe6JGPz3zf6M=; b=TEEqQZDvX3KcIpdx2G3SX+h5JxIHWanX+0WwWu/bOW2uI5dn2y5mDVEaL8xwxZxVVvyQBKfLt1bzV82w8P2odRQJMPq1fYY3Pu0rdjf4Gs/AbqDuhRa7W4Espg3J2avYtc7MmrAYNdRfGFT3CVFfer+fYVo4ALaLc0I1X3RBjqocwxLvbyJ7mgvlZ49P8L7zBjqmZyBNDbu/1LKq80DNOUAdFSGOac2P4HvAJGEL7ERg5U949wCU/+9vUJ9PM/m7YjgBlPY7aMZRfh5IU3Am64ztPUxyoeuDgeVrvPOG+d4mDXuGoO0T5P6UXZh1Zs3rE19PbMWEpA4qC7+3RV4Rcg== 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=aFnRgqYBHkqpC8pWPKlRHA8TjEbAmklxe6JGPz3zf6M=; b=ZDj1qrJiJm0uGYu2qPOfz0rDqx7Q1hG850/a2P1DpAT3uMAcA8PZh/8viQmtWrD1Vo9C/7LCHe9CyxQot8exA4mYFGSCLKYVxdSc7mE1XZwjVve2Vc5Z7Ayeg5kq1kJRUn3InG8PDEdODflCttS9OiogkQhuTX7TfwxgVBdYAF0= 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 DM6PR12MB4140.namprd12.prod.outlook.com (2603:10b6:5:221::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7544.55; Mon, 13 May 2024 13:08:11 +0000 Received: from CH2PR12MB4294.namprd12.prod.outlook.com ([fe80::282f:29d3:cac1:cde3]) by CH2PR12MB4294.namprd12.prod.outlook.com ([fe80::282f:29d3:cac1:cde3%7]) with mapi id 15.20.7544.052; Mon, 13 May 2024 13:08:11 +0000 Message-ID: Date: Mon, 13 May 2024 14:08:07 +0100 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v4] devtools: add .clang-format file To: =?UTF-8?B?QWJkdWxsYWggw5ZtZXIgWWFtYcOn?= , dev@dpdk.org Cc: stephen@networkplumber.org References: <20240508211934.1143124-1-aomeryamac@gmail.com> Content-Language: en-US From: Ferruh Yigit Autocrypt: addr=ferruh.yigit@amd.com; keydata= xsFNBGJDD3EBEAC/M7Tk/DfQSmP1K96vyzdhfSBzlCaGtcxNXorq4fALruqVsD3oi0yfyEz9 4YN8x7py0o9EL8ZdpOX0skc0AMCDAaw033uWhCn0GLMeGRKUbfOAPvL6ecSDvGD7CJIO9j0J eZUvasBgPdM/435PEr9DmC6Ggzdzt8IuG4PoLi5jpFSfcqxZFCCxLUDEo/w0nuguk2FTuYJg B2zEZ4JTBZrw7hIHiFh8D8hr6YA6a5uTofq1tr+l048lbtdFUl8TR0aIExVzE4Z8qKZlcE+9 RQaewjK5Al1jLE4sHdmd3GN+IvgDF3D/fLsi25SKJDeGSdeHkOmaX0qGeM4WKIfU6iARRCiQ N3AmBIxZ/A7UXBKLaOyZ+/i3sE6Wb53nrO4i8+0K2Qwyh6LjTeiJAIjYKN43ppxz3DaI+QwQ vI+uyHr4Gg0Da9EPPz/YyKauSeOZCfCB5gIfICO0j6x0SCl8uQ2nLpjxcZkf0gjcwUzP3h+S 3x6NfDji9YEij0zczW/dcSpGgZ6vsFpPrtnP9ZXy6J53yp0kJtOJoOlkEFFdU2yCZnCDseum CoudmGLZVvS0/DzHDJejq+3kK3FDGktZBOxZIIpal+nFqS7lVgOZc4+huVv3jyhzoAUOEyXA XK5j6o7g8STUY+z33QNnHpdLvecMwuzmvqy0jR54yAbZ64mB9QARAQABzSNGZXJydWggWWln aXQgPGZlcnJ1aC55aWdpdEBhbWQuY29tPsLBlwQTAQgAQQIbAwULCQgHAgYVCgkICwIEFgID AQIeAQIXgAIZARYhBEm7aYjps5XGsPHCElRTPtCKKm/6BQJkdyEEBQkE3meNAAoJEFRTPtCK Km/6UdcP/0/kEp49aIUhkRnQf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reply-To: <20240508211934.1143124-1-aomeryamac@gmail.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-ClientProxiedBy: LO2P265CA0122.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:9f::14) To CH2PR12MB4294.namprd12.prod.outlook.com (2603:10b6:610:a9::11) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: CH2PR12MB4294:EE_|DM6PR12MB4140:EE_ X-MS-Office365-Filtering-Correlation-Id: dea103da-210f-4323-dae5-08dc734dbd7f X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230031|376005|366007|1800799015; X-Microsoft-Antispam-Message-Info: =?utf-8?B?Znl5dkdhZktaM2kxZVRjZ3VqOGNDYkM0UGlvUnBpTVhTQWIxTHlhaDNrZFh4?= =?utf-8?B?MHdQUkMyNzVndERJa1ZEeVJGUDI2elVQbDVOVHFUMVhqemR0TDVXUjF6QlRQ?= =?utf-8?B?RWhaZkV0Vzlnc1lyRnZiaTlnVXB2STdOeDNRbG83QW1HaTYzNFQrbFdoVFM4?= =?utf-8?B?cTlUV0ZtN2oyL1UxZEpoTmdIa1I5endqNWpNSEEzSWVkRU93WUQrWkhnYndi?= =?utf-8?B?Vm52TU5DeXhXdHozOUI3aFpEVDJmbVIyWXVrMTB0TksrTmFhUWFTZ2tRY0ww?= =?utf-8?B?T25lR3QrMGU1NHZmYUlYM2paaWd4czI3V2x1UHBnME9FWUxRY3JUU253Vmh3?= =?utf-8?B?QlBiNFJ4aERpRjRsUll1NXlqNE9hWnZlMzYzOHlkZUNxKzVDMFBoWEpJNEtW?= =?utf-8?B?TEZreDRqNjNVUkl0aHJUWEtZOTR4WkhNb0pyMWh3ZDdRUy9MVG43NFJSTWFw?= =?utf-8?B?SUE2Sk1jODl0QVpoWjhVQjBZdWhpaE9sMWFXbERVRGIwK1dGSVg1Ym9hMDBI?= =?utf-8?B?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MbUF6Y0lMTmd5?= =?utf-8?B?NWtZckRzRHBBN1gxcm1DTHhlQ0pOamxlWFJxUXlCRW95aFJERzNVT0h2M094?= =?utf-8?B?dGZtU0hhQjBJM2pzZ0ZoeGpNVmtha3RMc29xZktIK0lGeC9XSDYvOTIwWi9v?= =?utf-8?B?aVJpVXdwWHBJYlRrRjNaN2tqUHdYaHpBUlRtdWxndE5lNXdsMEVQdGNsa0RP?= =?utf-8?B?R0IwdE8rblpHMjVaNFZIRzFxTUJ4UjVYM2E4QzBwZzNXSGVvc0pOZkU2UlBQ?= =?utf-8?B?QU1FL0tJeWRJR1l1Y2dUcjV6NzF1NDhwUTJwOFJSQW1STFhwcHlnbjZRPT0=?= 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:(13230031)(376005)(366007)(1800799015); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?UHNWT3pZTHZIUkxOOEVOUkliTzY0QXpDVTZjZWFZa0FwQnBRdmQ5Z1JLNUp2?= =?utf-8?B?SStuZGdXbytNMU9nandKT1RKR3FJOWJ4R1hkc1lmeTJsenM0QnU3azF6R2dr?= =?utf-8?B?bWl4ZXlTd3VOVzloUmJkRDh4VFBvTDFDWG1DMm91QWh5bUo4azRLZWROV1ZI?= =?utf-8?B?VW4wdFN3ZWtpU0RvNGQwUkJhajdEZVoybU0ya29EQ0JEOTV3aXdxbDdRREw3?= =?utf-8?B?NTNOajlVSHJXL3FiV0pjd1Y3MVJQWXlYU1JDWHFYQkdKQVphVjlGVmlwSTFO?= =?utf-8?B?NDNjNER1cVhRWDB0bVpiNVMyN1FQbTd1SG9ySXM4WS9Zb1BYTllTaXBnR2cy?= =?utf-8?B?NGRYRFJKdllLa3VUcG1xMWx4ck1ZVE04SH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-dae5-08dc734dbd7f X-MS-Exchange-CrossTenant-AuthSource: CH2PR12MB4294.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 13 May 2024 13:08:11.1643 (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: BoO7/UAn0TBmvXinfHpcv0vMzK+QE2kUtGB3eOqdGO8J38tqtcSQySQSyNXtzcxd X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR12MB4140 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 5/8/2024 10:19 PM, Abdullah Ömer Yamaç wrote: > clang-format is a tool to format C/C++/Objective-C code. It can be used > to reformat code to match a given coding style, or to ensure that code > adheres to a specific coding style. It helps to maintain a consistent > coding style across the DPDK codebase. > > .clang-format file overrides the default style options provided by > clang-format and large set of IDEs and text editors support it. > > Signed-off-by: Abdullah Ömer Yamaç > Hi Omer, I tried on ethdev.c (clang-format -i ./lib/ethdev/rte_ethdev.c), I will highlight a few issues below (not all of them), I hope it is OK to continue step by step, fixing these issues. 1. clang format failed for following options, not sure why, am I using a wrong version: LineEnding: LF InsertNewlineAtEOF: true I commented them out to continue the test. And for 'ColumnLimit', I prefer default 80 with the flexibility to go 100 when makes sense, so I will got with 'ColumnLimit: 80'; but I don't want to start this discussion. 2. Double tab indentation vs parenthesis align if (iter->bus != NULL && - /* not in middle of rte_eth_dev iteration, */ - iter->class_device == NULL) { + /* not in middle of rte_eth_dev iteration, */ + iter->class_device == NULL) { DPDK coding guide suggests double tab, but also accepts alignment by spaces. But as far as I can see most of code has double tab. Majority of the diff caused because of this rule. 3. enum merged into single line -enum { - STAT_QMAP_TX = 0, - STAT_QMAP_RX -}; +enum { STAT_QMAP_TX = 0, STAT_QMAP_RX }; 4. split message strings - RTE_ETHDEV_LOG_LINE(ERR, - "Cannot initialize iterator from NULL device description string"); + RTE_ETHDEV_LOG_LINE(ERR, "Cannot initialize iterator from NULL " + "device description string"); 5. Empty open parenthesis - RTE_ETHDEV_LOG_LINE(ERR, - "Cannot get next device from NULL iterator"); + RTE_ETHDEV_LOG_LINE( + ERR, "Cannot get next device from NULL iterator"); 6. space before macro arguments - RTE_ETH_FOREACH_DEV(p) + RTE_ETH_FOREACH_DEV (p) 7. some lists get merged (this seems similar to 3.) - RTE_PTYPE_L2_MASK, - RTE_PTYPE_L3_MASK, - RTE_PTYPE_L4_MASK, - RTE_PTYPE_TUNNEL_MASK, - RTE_PTYPE_INNER_L2_MASK, - RTE_PTYPE_INNER_L3_MASK, + RTE_PTYPE_L2_MASK, RTE_PTYPE_L3_MASK, + RTE_PTYPE_L4_MASK, RTE_PTYPE_TUNNEL_MASK, + RTE_PTYPE_INNER_L2_MASK, RTE_PTYPE_INNER_L3_MASK, Thanks, ferruh