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 2A11443E86; Tue, 16 Apr 2024 18:29:34 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id E07C840268; Tue, 16 Apr 2024 18:29:33 +0200 (CEST) Received: from NAM02-DM3-obe.outbound.protection.outlook.com (mail-dm3nam02on2073.outbound.protection.outlook.com [40.107.95.73]) by mails.dpdk.org (Postfix) with ESMTP id 396A540262 for ; Tue, 16 Apr 2024 18:29:32 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=DxybF+jlBg1yhX9oyf3tcJ0qGEokWvbdRyR0hiSTtOBk0eznAXEvVjfSr07IPBN3lIA4aqrJvefEAHoXkrdN4BcK99Fqm1ugbL5+ar7ell/VAA/M2OI/l7IzhT5mBRGZBaqZDZK3QDFnN+z/+m7UvXX9n8pGNJEHHEI/cakiZXFpXLPuhrd2U1GsBiOkGMQU2G+9iUIccEMGwdwFPBbHl2Xea85yyjUCcP7xP7yjvDVyWK8LCEu52GnCZWuYSM8eb1J4dSYZBsbRZv+flj2EJpGlZe/XL0b0dnLgF634nCPGFbzzBfE4wycPID6Q6CHO1kKz/2cYLEKuPJnzAUoKag== 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=PqxYGDhEhjx5vD2FJeB1IzoYu+VQy0kw6i8wARBUgkY=; b=NyrsnFzhgsUhHEyTS7d9YBX2wJME4teh0Jqr54cGQbPxmzq5VHD5NQ2tRFWNRddTpFPOVfob1VMgHRMRE7yLKQpMUQAfUYu9sR3CSQ207iHbNmBNr6+6DOiTkeacMWBBapipV0KN89ODGg6WOdTf0qyOQzQvEDPfYnwe8iyaKJhjIMfL3hMBkFAqeg8m+Udo425P7cRuhqAcYLYs9M2UezcyabWa7ZqX3hHC498kjaZG52wzjLdUULge1RndqvHV1hZwTN1iFLO9uGwEuHN6y+RnBVHwLU1OBa5R5sMQ3dkPV3XA/Q1jYxM+KxgGgi5CwZ7JNtW0xw/Z5jA9fIxDVg== 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=PqxYGDhEhjx5vD2FJeB1IzoYu+VQy0kw6i8wARBUgkY=; b=ejCoh5Dn/2YP0xE88UM4Je0Bp3RudvEUoy3xSIjjHDGWa1nmR8/IroxRgdP+yujTR1SyNLmgVo9WsI0i5mE2yF8sGoYVkmL028YtOzbCvFgL9ncF95U48XUrYHUUCIzkBMQar3ITADQ2cDadcX1VUSkoEU3ZQTo3WV4JTyiMNvg= 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 IA0PR12MB8905.namprd12.prod.outlook.com (2603:10b6:208:484::6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7452.50; Tue, 16 Apr 2024 16:29:30 +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.7452.049; Tue, 16 Apr 2024 16:29:29 +0000 Message-ID: <5db982a1-b126-41a9-9641-c46e97d2e1bc@amd.com> Date: Tue, 16 Apr 2024 17:29:25 +0100 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH 5/5] drivers/net: use RTE_DIM To: Stephen Hemminger , dev@dpdk.org Cc: Shepard Siegel , Ed Czeck , John Miller , Ajit Khaparde , Somnath Kotur , Jingjing Wu , Rosen Xu , Jiawen Wu , Harman Kalra , Jian Wang References: <20240416152124.69590-1-stephen@networkplumber.org> <20240416152124.69590-6-stephen@networkplumber.org> 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 aXQgPGZlcnJ1aC55aWdpdEBhbWQuY29tPsLBlwQTAQgAQQIbAwULCQgH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8c4VIZewdIjkzAhmmbxl+8rM/LKBH dZUMTzME5PFCXJIZ83qkZQ795MTe2YScp9dIV7fsS5tpDwIs7BZNVM1l3NAdK+DLHqNxKuyO 8Zk= In-Reply-To: <20240416152124.69590-6-stephen@networkplumber.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-ClientProxiedBy: LO6P265CA0003.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:339::10) To CH2PR12MB4294.namprd12.prod.outlook.com (2603:10b6:610:a9::11) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: CH2PR12MB4294:EE_|IA0PR12MB8905:EE_ X-MS-Office365-Filtering-Correlation-Id: 87260a22-21d5-4c61-6afb-08dc5e3263e2 X-LD-Processed: 3dd8961f-e488-4e60-8e11-a82d994e183d,ExtAddr X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: xb5wq59lNw4HZbChDbJUTATOHt+lcG5TDAYFqV22VhnuTb0RcALLCtEJ/qGS5+ubmPDfKdXKfmIlApVrzfZM0Ch2ptiG//Gntm1FutU7g2pzAbxgjVCMCMlr5A1VKrONIvzpwiSFDmTzeZd7CdB84u9LhKKgj/CTnaHtN8UNnZMfY5CLL2w2MLUOFIrexxE/0ki9TFejpXxWPRkazYb4NZyKGWDqNzBWvefxeITa96uo3Td1qDthq6MwUgokoIHpTpWdfOE1398Si4v44CmuPFbSEbXUA/YGsCP3BELf+Oo/X30VeNyjY0BSFG2IYwZ4MrMokEAk7lfVugnqXKYE95dMc8h4eXB5RtJvdHPPAOoQnn/NcIcHngsgXAsA6kjt1abKXq5owLbDf3h9zvVR4Blty1np13N5+hM8n3t7z18Pzm8XH4rRvhsQNEVMU85rpQfWQDndKXM5DJd2txhD/GuXd2B2cJN/4tPOfi5mar/Puuzu2VBuKayG9h5fnHKxRblp63Iu8hbppEZAc6CT2v18OadAaCuEBxLM4fUfe6jQhMT1sghE5NC151Vq/1mlIoFSk/Y13iInB4iZ6LX4Efuap4vQwuv0J89cyIXtMJhGiPz1UzdULIjt+cOpZJNj09VxRQ/yJRFW5jrrrrFVhlYr4DeyGevwPfn4wvkRMZc= 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)(1800799015)(366007)(7416005)(376005); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?T2VJcWJ1NFozNjZ4RWlBY1dPd29NaU44dEhSaERNQVF0RDhHaStPTnh6RDB0?= =?utf-8?B?UkdFUW1rQVRhSWM5TmVScUphbGZkTVYrVk5EMzFKNkY0UmRDNXdNOVpoZG1m?= =?utf-8?B?VHRCcDRhbE9lbk1zUGQxNndvcGZyVEg4cmJwSmo1amU3OWIwbGZEcFVmL0lk?= =?utf-8?B?WmthT0J1ZHd0MHVCVEFpZ0dseGpHNCtDa2VrT0dmT0FBcUwwZnFNQ0xPWDFO?= =?utf-8?B?dllhS28rbnRRalZ5cHJ6K0N3N1BiVG4yc1RYU1orWWRpbjNhRXNaTXg1N1lM?= =?utf-8?B?bFp3aHo1NzZJaFN1MEM4aDZRdnU2Yi9tWVlnTkxiRkZoWERrRTR3d3dJK1py?= =?utf-8?B?UHBmVXF3QUhIaVhqQzZaSXc4MjVrdFlhMndVeC9LaGFzdm1BQ29XRVUrM1Zr?= =?utf-8?B?N1Fub2tXeEVxMG93NnNmM2Z0bXhscG81aDJwR2FHMHpTbGRxNWFJaGZLRzZM?= =?utf-8?B?bFRWeEVCWmcyK2pjWVY3V1JWUEpBL1lncWEyenhGTTRPczEzOVQ4MUhXZFhQ?= =?utf-8?B?UmpaUS81eUl0bEJ6UjU0dS9nSllIQThFeHpDbjBkRzNCQ3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syT3VtWnRiaVk5L2JldHU5L1IrMFJQNjV4bmtPZjN2KzlV?= =?utf-8?B?enNvSW5jTS92elRQakdldmZzQWtWZFJ2VU5TRUtra1dESVM1bmpHRFpJZEg0?= =?utf-8?B?SDVmLzYxaFpyVEpLdDFsRHBCS1gyZStvcERCNlhQbGVTdUpKdno2WnVOckQw?= =?utf-8?B?Lzg2K3F0bU43WVh6bUU3ZkdQekp5NlN3YTBvdUN4aXYyS1cranpiYnpwZlpJ?= =?utf-8?B?NUpGcVcvdnhwMk5PQThyU0trZk5JVnlDbUI0N1U4Y3lhZHl4TWVveHVMZFNW?= =?utf-8?B?Nmt1cm0wc0ZQY24ycFd0aWFydXlFRTE5NjlBYlp2SUtxT1FiSG1jQ2JHZHNq?= =?utf-8?B?bGlJOUt4QTR1bnpXVzlrVEFSb09Ybno2MmJuZU9qa2ZBUUkrRlJCMzBacEE1?= =?utf-8?B?MDY4bFRXa25keEtaWm1wUFBjMU4vQm5GNms2dnZNVm5jTjQwbEJDdXhNQlla?= =?utf-8?B?OGtFTHExb0ZRdVNJNzJDT05wSjdocDNEUmk5Z1JFd0NVS05OYWpWOXNBZVBh?= =?utf-8?B?N00vMGVPT2RESHYxU2VySE1xTVNTZ05rOEs5dHZpWXgyVlUxWTNaaWZiTnVY?= =?utf-8?B?K25WNWZLZ2JHMkx5TnBhNmVqcUNLeVNVZ0dlSUFDSFQyTGZHc2x4TE1NMklP?= =?utf-8?Q?7VtdTqdNlwKCH7JzdwFDvBvab?= X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-Network-Message-Id: 87260a22-21d5-4c61-6afb-08dc5e3263e2 X-MS-Exchange-CrossTenant-AuthSource: CH2PR12MB4294.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 16 Apr 2024 16:29:29.8910 (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: emwIP7TnyH4QhgflCxytSRgn/br/TjiThLGA0xqzUeA7wxlBUOoYsaFHiJaXiMes X-MS-Exchange-Transport-CrossTenantHeadersStamped: IA0PR12MB8905 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 4/16/2024 4:19 PM, Stephen Hemminger wrote: > Use RTE_DIM instead of computing directly with sizeof. > Patch automatically generated via cocci/rte_dim.cocci. > Code in base/ subdirectory manually excluded. > > Signed-off-by: Stephen Hemminger > Updated ones looks good to me, but I can see a few more, I don't know if you excluded base file one intentionally, searched as `git grep "sizeof.*\[0\]" drivers/net/` - drivers/net/bnxt/tf_core/cfa_tcam_mgr.h:28:#define ARRAY_SIZE(_array) (sizeof(_array) / sizeof(_array[0])) - drivers/net/hinic/base/hinic_pmd_nicio.c:449: / sizeof(hinic_hw_rx_buf_size[0]); - drivers/net/ice/ice_ethdev.c:330:#define ICE_NB_MBUF_XSTATS (sizeof(ice_mbuf_strings) / sizeof(ice_mbuf_strings[0])) - drivers/net/i40e/i40e_ethdev.c:554:#define I40E_NB_MBUF_XSTATS (sizeof(i40e_mbuf_strings) / sizeof(i40e_mbuf_strings[0])) - drivers/net/i40e/base/i40e_adminq.h:126: if (!((u32)aq_rc < (sizeof(aq_to_posix) / sizeof((aq_to_posix)[0])))) - drivers/net/ipn3ke/ipn3ke_representor.c:506: / sizeof(ipn3ke_rpst_hw_port_strings[0])) drivers/net/ipn3ke/ipn3ke_representor.c:517: / sizeof(ipn3ke_rpst_rxq_prio_strings[0])) drivers/net/ipn3ke/ipn3ke_representor.c:530: / sizeof(ipn3ke_rpst_txq_prio_strings[0])) - drivers/net/ixgbe/base/ixgbe_x550.c:443: for (i = 0; i < sizeof(ixgbe_fw_map) / sizeof(ixgbe_fw_map[0]); ++i) { drivers/net/ixgbe/base/ixgbe_x550.c:700: for (i = 0; i < sizeof(ixgbe_fw_map) / sizeof(ixgbe_fw_map[0]); ++i) { - drivers/net/ixgbe/base/ixgbe_x550.c:3338: bufsz = sizeof(buf) / sizeof(buf[0]); - drivers/net/mlx5/hws/mlx5dr_internal.h:52:#define ARRAY_SIZE(x) (sizeof(x) / sizeof((x)[0]))