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 048DB455F8; Tue, 16 Jul 2024 19:33:44 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id A3338433BE; Tue, 16 Jul 2024 19:33:39 +0200 (CEST) Received: from NAM10-DM6-obe.outbound.protection.outlook.com (mail-dm6nam10on2042.outbound.protection.outlook.com [40.107.93.42]) by mails.dpdk.org (Postfix) with ESMTP id CB8984335B for ; Tue, 16 Jul 2024 19:33:37 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=eOD8yXZGwwaFvwagUW/+ioBQ8sWdNKKk1hQPZRLF+YvvVk0+gzF+ClX0YxZteJcSo1VCyuR0obhdzH+Tf2+uZAH2WmmLdYqTohO+TICGNOdKTpifm+dCMySP78H8OSG52ypawfPRkR6yR/va/XneVXzUOgFH88SIYj06/1fXvjt2nsdJHe8Z366DrpcUlL3f9oliIpl66yruZw0rsqYZs49nUdbs/HPV4/3fxmC38T/bj75CIev78AeOOaqtrJPgfU1VOlr48b1P5lDhBnxQby2amip8YWuxVfXiIOCLVlkmr16YETYIN9D3boi1EOW/c1vyWBAg9L4yXz0XOM7aZA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; 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=GVIeFdXyG/s4DQehw33Mmna+E1f57hJ/danycJXGPF4=; b=vljg3arwsyB8cf1GmQtn3Rbdn14B4dhj5cdx1i/e5EYEFmLeqTufTAz8rIqbMUd5mbfbA7Ied9YASYpiINQ+OfL93x8DKv/iYK/fmA4wqbKq4tLaSloid6xjxcqsVEjB/0wPt0B1Kdff79NkzR3PDODPSs+HJF4Xu+Oz2poj6+4YLo029ZOxaAhYeaql3iRPedQLzmJCDvF7f3e2mKqgr7EK3SwVBriIoLyV8XEZqm65+D3FYB4soFCLRZaImGO/Bty1J9plZqft6GJ4Fhidl0H7sfwaISancWlwzR7/66SyWs216F5NErB4pFczKIj6VDZVFEXeo5gKjobZPEvDzA== 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=GVIeFdXyG/s4DQehw33Mmna+E1f57hJ/danycJXGPF4=; b=IJbH4EiJbGpdDt4PHCMduAzCJPi2/39wUAqfcJiD55pxxZ83x4/nrfd9whw6ki0QVD9gvJeWfk9KMU3Hlp4IEWaYKc9fV0Gx/Yo6q3SJooYpVwyaE1jjgdnYXNz26VlsknjSqkbhgtboJgDk6Um1qa8vJcaSGUWHwYRMuGeSpgk= 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 SA3PR12MB9131.namprd12.prod.outlook.com (2603:10b6:806:395::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7741.36; Tue, 16 Jul 2024 17:33:35 +0000 Received: from CH2PR12MB4294.namprd12.prod.outlook.com ([fe80::ebfb:2f9f:f9ca:82cd]) by CH2PR12MB4294.namprd12.prod.outlook.com ([fe80::ebfb:2f9f:f9ca:82cd%4]) with mapi id 15.20.7762.027; Tue, 16 Jul 2024 17:33:35 +0000 Message-ID: <3e260189-079f-4794-956b-416580144e1b@amd.com> Date: Tue, 16 Jul 2024 18:33:33 +0100 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v9 14/21] net/ntnic: add clock profile for the NT200A0X smartNIC To: Serhii Iliushyk , dev@dpdk.org Cc: mko-plv@napatech.com, ckm@napatech.com, andrew.rybchenko@oktetlabs.ru References: <20240530144929.4127931-1-sil-plv@napatech.com> <20240716120216.3032484-1-sil-plv@napatech.com> <20240716120216.3032484-14-sil-plv@napatech.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 AQIeAQIXgAIZARY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dZUMTzME5PFCXJIZ83qkZQ795MTe2YScp9dIV7fsS5tpDwIs7BZNVM1l3NAdK+DLHqNxKuyO 8Zk= In-Reply-To: <20240716120216.3032484-14-sil-plv@napatech.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-ClientProxiedBy: LO2P265CA0156.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:9::24) To CH2PR12MB4294.namprd12.prod.outlook.com (2603:10b6:610:a9::11) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: CH2PR12MB4294:EE_|SA3PR12MB9131:EE_ X-MS-Office365-Filtering-Correlation-Id: 87501b88-1522-4d63-c58c-08dca5bd6b6a X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|376014|1800799024|366016; X-Microsoft-Antispam-Message-Info: =?utf-8?B?VnltdlJZdHpBZVY4K2U3a1RIMzE3YXZnYlBRSXFwV09rbmJNaFlaM0R1Qi9y?= =?utf-8?B?SUJwdFN4dGR3LzVxeTZxT0QxNFBubnM3ekVINFEzMHhOaWZtR0lmWUdSR2Za?= =?utf-8?B?ZnFncm1SMGR0cVVjZFZtdUNBSVRJSlVsdWwxd3RTZndGZDhka0VEclZLa0s5?= =?utf-8?B?clpCK3hlRzhtRHArMDducys0eW9VeTN5SEhzVW1xMmxLTUlSamJFWklzQUwx?= =?utf-8?B?SHhyVmJwcW15MXJ1YnZqemlheHlidUFmeUlkS1I1eDFkeVlyRldJclFGeVBF?= =?utf-8?B?eDB3UnlaM0cyeXRDeEZrLzZqekdzSzFLUW1tcmI1S05OQnJVZmZrUXlhR2Q0?= =?utf-8?B?U2hQTDlDV29jWENyTVJBNXIvc3o2RUtydXZER0RxUGpZSGt6ME5PMnFyRnYw?= =?utf-8?B?V0NQVDYzeUx3UndMUk9CNXdWQnRQOG50MXROejZ1dDA4UHB0elBDRDVxZmNs?= =?utf-8?B?elJsWT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DZE?= =?utf-8?B?dzlRTjd2enBHd212UjRvQkwyOFdWRTMxODRjYnd0dnYvakpDR1g2ajg0cTRt?= =?utf-8?B?TDJXU21HelhhWm0vZGkySEkvZjZrVzZ2dHRodXZOTjR5U2x0RWFWRHV0emxI?= =?utf-8?B?bE4vdmJHbkFjbkNyaUptZjhhcFJLTHArUXF4NjZnQWZWQXVJb09zQTBaREov?= =?utf-8?B?MThvVXZRSTkwa3JxNHRXOTJ1RTJPbU8zd1VqK0F5WnY4UFkwV2xoZzRKblBq?= =?utf-8?B?aVZMRUJrNFBkc1Q0SHNteG50dzg3dXFKMFVOaUVsMEtWaTV1QXVtdStpME5a?= =?utf-8?B?YVdGNVU1K1M2cTIwSmFJUVhmek83TWRnWHV4NngxeVVGeVhTTzFPaXBVbEVz?= =?utf-8?B?bUhHNmtGM0tDUzA1M0ZHb3Z5OUZrdytkWElISFoyd0NKRGU2b3NFelFKSitD?= =?utf-8?B?L3crbVI1bWpPQnlLSDRGQT09?= 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:(13230040)(376014)(1800799024)(366016); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?R2dnMHcveHVGUGs3MStqczJTVFN3S3JhUm43UHFEOVdRanY4Y3gvVUY0dVUz?= =?utf-8?B?ZEk4NHExSFh2QmM2TFRwajd1c0NtdXJBeHZwcDNPellRSTdxWE9waFNtT2kr?= =?utf-8?B?bVU3cy83UHVWZURqaWUyUkJCZGpsMlhyMXlwVDRKSnJHY3hCY3ZacFRhZk5L?= =?utf-8?B?aGN1TUFXaW1qL0h6Y3krWmNhaEJsN0VHYkp1QlRyaEpIcUQxb2ZEdWZkdUxV?= =?utf-8?B?QmpYSXVBQXhYRjlkU2tBWXRpVVpi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WpW?= =?utf-8?B?c2JkTlVJSnFGdFVjYVpsbE1VR0gxc05IZS9yWGNDNE9JbyszYWFvamNrK1VN?= =?utf-8?Q?qKO+cCJyiHW8o/6PA2GDwu9Hy?= X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-Network-Message-Id: 87501b88-1522-4d63-c58c-08dca5bd6b6a X-MS-Exchange-CrossTenant-AuthSource: CH2PR12MB4294.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 16 Jul 2024 17:33:35.2759 (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: 3wu9brHUDsJB5auwaLPycJCsCP52IubHxnD0UdrIujhIwlL1ahh9TihRBzmHpf+e X-MS-Exchange-Transport-CrossTenantHeadersStamped: SA3PR12MB9131 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 7/16/2024 1:02 PM, Serhii Iliushyk wrote: > diff --git a/drivers/net/ntnic/nthw/core/nt200a0x/clock_profiles/nthw_fpga_clk9563.c b/drivers/net/ntnic/nthw/core/nt200a0x/clock_profiles/nthw_fpga_clk9563.c > new file mode 100644 > index 0000000000..a957581bf3 > --- /dev/null > +++ b/drivers/net/ntnic/nthw/core/nt200a0x/clock_profiles/nthw_fpga_clk9563.c > @@ -0,0 +1,47 @@ > +/* > + * SPDX-License-Identifier: BSD-3-Clause > + * Copyright(c) 2023 Napatech A/S > + */ > + > +#include "ntnic_mod_reg.h" > + > +/* > + * Clock profile for NT200A02 FPGA 9563 > + */ > +#define si5340_revd_register_t type_9563_si5340_nt200a02_u23_v5 > +#define si5340_revd_registers data_9563_si5340_nt200a02_u23_v5 > +#include "NT200A02_U23_Si5340_adr0_v5-Registers.h" > +#ifdef __cplusplus > +static_assert(sizeof(type_9563_si5340_nt200a02_u23_v5) == sizeof(clk_profile_data_fmt2_t), > + clk_profile_size_error_msg); > +#endif /* __cplusplus */ > As project compiled with C11 standard, C supports static assert, keyword by spec is '_Static_assert' but it is aliased to 'static_assert', please check 'rte_common.h', so it should be OK to use 'static_assert' directly without "#ifdef __cplusplus". Or DPDK macro for it is 'RTE_BUILD_BUG_ON', both are OK, up to you.