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 3E1DB46134; Wed, 29 Jan 2025 22:08:00 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id F07564026B; Wed, 29 Jan 2025 22:07:58 +0100 (CET) Received: from NAM12-MW2-obe.outbound.protection.outlook.com (mail-mw2nam12on2049.outbound.protection.outlook.com [40.107.244.49]) by mails.dpdk.org (Postfix) with ESMTP id 7135840156 for ; Wed, 29 Jan 2025 22:07:57 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=R0Aa/WVXnIHRG5HZfSDpi8UR48NpeOwBmDFm81NtdM1rbG7SwgMGOwoGIeo1/Mb6Lmy2XxOtIKe0LRq5KEA2i7nVlhGFL8tSgUbE3LsAJOQNCL43xLVeqCB4ykf4+di97qKTu/rzs3QFWHCIzaXcmpKczfWd4q4ZDwed2K9dHU+YJDYRUUqDdU2sLmHyikxPiJTEDf/CVMcLwz3KC8C99JvcVPmB4Vperv+4ORXMf4dSUNuXwdZowso3cuQXqiidf+xHcS+SH3Tx3eM/N4aLJ0FhbUXYM87TsHp3Y4VnhGwGvV/P+1/JNfRn5rQ9CIRv4/qMgyI+DwGxQpuIOjpwYw== 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=k5xdpfc1h85872TuVSWotqzO6TZNq2KPeM35Ioib4SE=; b=MKBG5AX6Pp6B50mYH32su6WnCVEXCDJ4xdkE4Gs52ri4vOM3p2+ZCuRMw98WSsZge7gHTdlDg2iS+oUXVVb49jljMaQVAAemWHhhZB2Zo6RoELppqU2pt5SQW81WAd/JFiFJ6g+0bVuXApc4djd7qh9GGecJAe73shqO9yonKrR5bGraYnAMVNk1PrdeEgbmpRHMGb3apG6p+JbeuotTPpA26ISC5/rrnahggA290+8USnXWbBAH2fOysi9H1SFVE9OeKDAEq2ZfE3raQhB136R+IuiIUk5JytkUQAO9+33R3JT8iKacZlXzHas5ROtyMS9myAdq3liAzqVkBKo1DA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nvidia.com; dmarc=pass action=none header.from=nvidia.com; dkim=pass header.d=nvidia.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Nvidia.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=k5xdpfc1h85872TuVSWotqzO6TZNq2KPeM35Ioib4SE=; b=mfbWN26y+pCdjehvmuEz4E5WAe7tPwDp1r0KcslBw/cPEIt5XWdu648O7Tsq8AXZ/dX0xf2PM2iEYhbPqp3QkylN2KVGlW2gufrwY31x2c8+SXf0IWVIwiFzwMU3aHAwmKfpTqVQRiL6325F7a+aLKrN0xQhC+pz3By6C6TzcnHjUN0G2iuwwIgBwgmqlbIxxTPjOlVuRRfCsh4VX51S6vp4oguRksYHMOm+j6TxgbxmeViv1J1U8vpUyUZug2TlNRbcgv3VLCIFl4Boxvi2UeSC9saBARoDomSMfRAYsI/omxtLuTM0W7bLgnI/6AuQFc1jflPS/dJwrMuD8kqKGw== Received: from PH7PR12MB9173.namprd12.prod.outlook.com (2603:10b6:510:2ee::9) by CH3PR12MB9098.namprd12.prod.outlook.com (2603:10b6:610:19e::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8398.18; Wed, 29 Jan 2025 21:07:55 +0000 Received: from PH7PR12MB9173.namprd12.prod.outlook.com ([fe80::f397:98d7:65a7:3286]) by PH7PR12MB9173.namprd12.prod.outlook.com ([fe80::f397:98d7:65a7:3286%7]) with mapi id 15.20.8377.021; Wed, 29 Jan 2025 21:07:55 +0000 From: Ali Alnubani To: Andre Muezerie CC: "dev@dpdk.org" , "stephen@networkplumber.org" , "bruce.richardson@intel.com" Subject: RE: [PATCH v16 3/3] drivers/net: add diagnostics macros to make code portable Thread-Topic: [PATCH v16 3/3] drivers/net: add diagnostics macros to make code portable Thread-Index: AQHbbFTyb7r1uCDtiEezB+4zOBPjq7MuSXFg Date: Wed, 29 Jan 2025 21:07:54 +0000 Message-ID: References: <1735263196-2809-1-git-send-email-andremue@linux.microsoft.com> <1737498970-4631-1-git-send-email-andremue@linux.microsoft.com> <1737498970-4631-4-git-send-email-andremue@linux.microsoft.com> In-Reply-To: <1737498970-4631-4-git-send-email-andremue@linux.microsoft.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nvidia.com; x-ms-publictraffictype: Email x-ms-traffictypediagnostic: PH7PR12MB9173:EE_|CH3PR12MB9098:EE_ x-ms-office365-filtering-correlation-id: 37b102e3-9f83-42af-1eb4-08dd40a90000 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; ARA:13230040|1800799024|366016|376014|7053199007|38070700018; x-microsoft-antispam-message-info: =?utf-8?B?bXhqV0R2QVdPT1drYVN6eG1FVXp3TWx2bnYzeWZGRHJGTTMvb251TlNVdCtE?= =?utf-8?B?QU45MEtyQXBrb1B6MzJOcGlTak1ndldmYXZzVXlDRmRENlJhbEpuWFJCeXdY?= =?utf-8?B?cnFEblVkSTVsTUJQdVNlSTZMK1BvZGkvRG0waVpudGduSFhnWTNkZ0JlTEY0?= =?utf-8?B?WWlWRExldHdueEhvdEpkTHlqZE1iMUxhNnBneHZFbnFUTkNubnJsaFNjNFBr?= =?utf-8?B?S0k5eGxjMGg3S2tIRHo3SFV6L3haTTFlTGd2MGkxMEh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AT:NONE; SFS:(13230040)(1800799024)(366016)(376014)(7053199007)(38070700018); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?utf-8?B?VWFBL004cGxQWE8yemhTWHIwYldpekhwQTN5b2JmakdWOU92Z2lSbkJCQWFB?= =?utf-8?B?WVJHcUhzNC9ZNWNRV1JudHBCc0JTQnFjL2grNS9xTGJrakk4V1N4ZGJYMkcx?= =?utf-8?B?cGIwVFh0SXc4a0I5SXptNFMxaDhJVlV3MmlISlQrbWlhblRBQk9MenUwWW81?= =?utf-8?B?YnFzeHdweVpHMDBaRHc5alM0aXJYQ2c0OTFVZEV4U283ckhYNU0vV1JEazFI?= =?utf-8?B?TklJalU1S1U0YjlETFNheVBiL2d1TWswTVM5MHhFVFJvalR0M1NwYllmNEFV?= =?utf-8?B?Q2NFYld1VDd5Tzl1REM5YWQ1dTFNb3JUd0FNNUo3QU0xek1WckRsOEMxblhM?= =?utf-8?B?RlFibzU1Vk1ZU040QXFVTmVQcG80Sk1wSHFlMmxDcE5LSFZjekgwaFBPNnp3?= =?utf-8?B?cURrRVFIWUFmNUxJZHNkbXlqdjcvZHJVTkhOQVlETmZvbm1HVlhta1lpMFlo?= =?utf-8?B?L1I5bGpmTUgzbTY3d2s1ODlmU2w4Q0h3VDBId0o5ZzRoMDJqQlR6c3M1UXpJ?= =?utf-8?B?OGdXSExJYjVQZ2E4UlAzcFljanAwVkdLWHYraS81ZGhNTzJObW15RHE3cXVu?= =?utf-8?B?cWZuKysvY2NMOVZhNlN0Wnh0clBHUVduc0ZmaGRENWt0NDZ5R3pXaVBYVVYr?= =?utf-8?B?bWdlanl3MFQrSDZkeWl0c1J0NktHMVVBY0JSbzBkd1dhNkdmK0hQcTgvbUd1?= =?utf-8?B?MGJkZ05VbkNYZWRMZ0lxalErbEpOMXgxMzNLZzJOR0pwRmM1Qmh5NGwrMXB2?= =?utf-8?B?ajZNcExGcDNCWmorN3d4TjE1SF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i9HT0VRYWtsRlNzMlJQcEFFb1lHRk5kRzBrUElua0Y2UXkyNkg0dkpw?= =?utf-8?B?Q2lBQ09sM1QyWlh5cHVHeDFqNjBOSXZ0Z1FYUHFSQU4xTnhWOHVPQXlKVmdT?= =?utf-8?B?NlpZQXh0V3p4MnVjdGxqQ0F4czlZV3RrYTNOdzVlemRkMkhCVmhySGFybmdx?= =?utf-8?B?eWdEb3ZYQkxTNlZCZE5GVlRCcldjYnlkS2YxcEhyd3c0RlQ1ZzJrTEI4M0NE?= =?utf-8?B?R1l5VmxpTlpEYUNYOW4yYnY4aFBqZ1FTcmdmZGFaZ05HcGRDa25wcXdqaHFS?= =?utf-8?B?MHd3R0pMMTFGNlZndHhJTzNZZlVuZWVXYTBKTjNGSGVlNUs3S1ltY0czWS9I?= =?utf-8?B?QnVJSGkvNkg3cWl0V04yOXlvenZTTDgwVmJUOU1HWmxFWDNkY1dGSFkxS2xF?= =?utf-8?Q?r0RU=3D?= Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: PH7PR12MB9173.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 37b102e3-9f83-42af-1eb4-08dd40a90000 X-MS-Exchange-CrossTenant-originalarrivaltime: 29 Jan 2025 21:07:55.0059 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: wgV2rDBm+/UqFrCeXwe4EAiqE1vZtT9W7f2DpWBoRPr3x30x1D9NE+UsZm1PHAnzO9jp9RfUXAAC/S+JinXgJg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: CH3PR12MB9098 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 PiAtLS0tLU9yaWdpbmFsIE1lc3NhZ2UtLS0tLQ0KPiBGcm9tOiBBbmRyZSBNdWV6ZXJpZSA8YW5k cmVtdWVAbGludXgubWljcm9zb2Z0LmNvbT4NCj4gU2VudDogV2VkbmVzZGF5LCBKYW51YXJ5IDIy LCAyMDI1IDEyOjM2IEFNDQo+IFRvOiBhbmRyZW11ZUBsaW51eC5taWNyb3NvZnQuY29tDQo+IENj OiBkZXZAZHBkay5vcmc7IHN0ZXBoZW5AbmV0d29ya3BsdW1iZXIub3JnOyBicnVjZS5yaWNoYXJk c29uQGludGVsLmNvbQ0KPiBTdWJqZWN0OiBbUEFUQ0ggdjE2IDMvM10gZHJpdmVycy9uZXQ6IGFk ZCBkaWFnbm9zdGljcyBtYWNyb3MgdG8gbWFrZSBjb2RlDQo+IHBvcnRhYmxlDQo+IA0KPiBJdCB3 YXMgYSBjb21tb24gcGF0dGVybiB0byBoYXZlICJHQ0MgZGlhZ25vc3RpYyBpZ25vcmVkIiBwcmFn bWFzDQo+IHNwcmlua2xlZCBvdmVyIHRoZSBjb2RlIGFuZCBvbmx5IGFjdGl2YXRlIHRoZXNlIHBy YWdtYXMgZm9yIGNlcnRhaW4NCj4gY29tcGlsZXJzIChnY2MgYW5kIGNsYW5nKS4gQ2xhbmcgc3Vw cG9ydHMgR0NDJ3MgcHJhZ21hIGZvcg0KPiBjb21wYXRpYmlsaXR5IHdpdGggZXhpc3Rpbmcgc291 cmNlIGNvZGUsIHNvICNwcmFnbWEgR0NDIGRpYWdub3N0aWMNCj4gYW5kICNwcmFnbWEgY2xhbmcg ZGlhZ25vc3RpYyBhcmUgc3lub255bXMgZm9yIENsYW5nDQo+IChodHRwczovL2NsYW5nLmxsdm0u b3JnL2RvY3MvVXNlcnNNYW51YWwuaHRtbCkuDQo+IA0KPiBOb3cgdGhhdCBlZmZ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