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 5EF244601A; Wed, 8 Jan 2025 10:55:55 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id EF8DF40150; Wed, 8 Jan 2025 10:55:54 +0100 (CET) Received: from mx0b-0016f401.pphosted.com (mx0b-0016f401.pphosted.com [67.231.156.173]) by mails.dpdk.org (Postfix) with ESMTP id 1EF114014F for ; Wed, 8 Jan 2025 10:55:52 +0100 (CET) Received: from pps.filterd (m0431383.ppops.net [127.0.0.1]) by mx0b-0016f401.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 5089pvKh012215; Wed, 8 Jan 2025 01:55:52 -0800 Received: from nam12-dm6-obe.outbound.protection.outlook.com (mail-dm6nam12lp2168.outbound.protection.outlook.com [104.47.59.168]) by mx0b-0016f401.pphosted.com (PPS) with ESMTPS id 441q3s805e-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 08 Jan 2025 01:55:52 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=tin0yQUywksqxIRk1K7U2PblPly3p8cjfndMhn3rj/e466alFiCqziDIj/O35mTDN3oMU49AwP66UW7Ue/3PEEX8Ov1UAudv2o/R6uPoKN4CJv4Ip/zKNdVwD4AuRVZ0SWFPtXtCbT/lNaZ5OyXvApBmT0RjxWNqCKXq5zW5wEUIaZLhqmnnfN2SnTR1wal+dxrVt3+2qpzS2DcN/cwxDDDUYTz+4I34qB303HdPznF+slSWYCHR2OU8N122rBIbvRz1PRHw9eP7dIrCptkz8iFwBh9M5a2W0asTt4njR7LmSb2XesZzsVCxr+3FSfnJeagWwzet6bvZjLFYtkyh7g== 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=I4KXEDnuruZMIQMe+ACCDTEMMejkwhZEbY7iNwqydRk=; b=EI/mosmmdBitMrcGq+rcGDMiADG41QvKRfCeQjparHMdzY7vQMLaOEvE1d1pPiQyBpE924p2bfab2tnC4MQ3kJfO55+ZV3Jl1PtyA61/OoGCxdaWeCiC9CQEniO8ns883oNG+gR4Fc50qLZG7t7wB4b3yNgEg3itdEwzPjKU/qAHHHkx1OIgDK5dGbK2+KN9osiCbuAh/gJiThlYWtFhZkn8lymLrOTDbpz/cAbWLLMszRAeUdyf2kpa0smh1G850Y87vdIwZypdAzj/btO+/5uefB2O2IzcFCaha8NFMPr+Xgj/wWb2YJZSZIhrCGpm+RlMyWCj3K4JRrbuW9bCMQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=marvell.com; dmarc=pass action=none header.from=marvell.com; dkim=pass header.d=marvell.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=I4KXEDnuruZMIQMe+ACCDTEMMejkwhZEbY7iNwqydRk=; b=N9TecxcAwPBOatH14O3pMOPDAClT919dISTbRC6B2PQCnaXaTHGjJDt1hDVOoCRK7nzZTwwmqsiWLYGoqlQZwbTclx90TJmReX5xYRGeT4VMOqfTwexDC/8bDK5Uypvse7A7PIROPQwTK60CSrPNGUAEMevpn/YGTMadUGITaiU= Received: from CO6PR18MB4484.namprd18.prod.outlook.com (2603:10b6:5:359::9) by LV8PR18MB5729.namprd18.prod.outlook.com (2603:10b6:408:1e4::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8314.16; Wed, 8 Jan 2025 09:55:45 +0000 Received: from CO6PR18MB4484.namprd18.prod.outlook.com ([fe80::3c98:dd36:4897:a51d]) by CO6PR18MB4484.namprd18.prod.outlook.com ([fe80::3c98:dd36:4897:a51d%4]) with mapi id 15.20.8335.010; Wed, 8 Jan 2025 09:55:44 +0000 From: Akhil Goyal To: =?utf-8?B?TWF0dGlhcyBSw7ZubmJsb20=?= , "dev@dpdk.org" , Fan Zhang CC: "hofors@lysator.liu.se" , David Marchand , Thomas Monjalon Subject: RE: [EXTERNAL] [PATCH] cryptodev: allow use of global variables from C++ Thread-Topic: [EXTERNAL] [PATCH] cryptodev: allow use of global variables from C++ Thread-Index: AQHbUjW/WvGgHHNB1U2CtGMgq1dumrMMwY4w Date: Wed, 8 Jan 2025 09:55:44 +0000 Message-ID: References: <20241219163523.164992-1-mattias.ronnblom@ericsson.com> In-Reply-To: <20241219163523.164992-1-mattias.ronnblom@ericsson.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-publictraffictype: Email x-ms-traffictypediagnostic: CO6PR18MB4484:EE_|LV8PR18MB5729:EE_ x-ms-office365-filtering-correlation-id: a50c717e-a366-446d-cc18-08dd2fca9ebd x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; ARA:13230040|1800799024|376014|366016|38070700018; x-microsoft-antispam-message-info: =?utf-8?B?Z3REOFY5bWdmOVVkeUFiZVhnZWpjRzc0UHlESis3K0ZvZjZPSERoMlpjMkxu?= =?utf-8?B?U2dIL01vckI4SDZYTnpocmdlMHZKZzJsTnQyVmlEY2M2cmM5MjlrdjN1OWov?= =?utf-8?B?MFpZYWUvRWF2eXAvaWxxZU9GSURZK1Eva3Y5UW9PZ2hZcVBwWWJnR0ZXV0Ni?= =?utf-8?B?cE9yQ3ErMFRERnE1TWp1cTZGNHlNQlBaTlk1VE02VVllSTJzckVqTTZDMWlO?= =?utf-8?B?a0d6VVJGWlA4V28we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outlook.com; PTR:; CAT:NONE; SFS:(13230040)(1800799024)(376014)(366016)(38070700018); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?utf-8?B?OG04a1lmU0pZcUxTTVRyWENyRVFNUGpSYys3Z0xUVkVLNTcvd0JJZFphd0VD?= =?utf-8?B?NUQycFFBaW1QMzYzc3dXai9yTXdyTFdVaGJzK0NkNmpranYrbWFObWhHODd5?= =?utf-8?B?MjdHQW9DNVlneUk0Z1cxYktIYXcvU1VXQUdua0pQNEZULzNpYUpGVTdFMjZR?= =?utf-8?B?SjArSXlXUzBqM09kdmlHSXlDU0VFVFFrSlNFMUlHYWRUclFYcnZMbFpwWkZm?= =?utf-8?B?SkhWUHFxSjZYVkJJVkE0a2FXM0xNS3NEMUFTRGpwWnRRaWE4V2hkTzAwTUl2?= =?utf-8?B?S1RrWkN4OGZYQnpnWEhSdzZlYlpaUXhYWko0UnBBdHN0UVBpZkRDNXV0RXEy?= =?utf-8?B?MVlaaVNEek1OOUFtM2I0RWJyak5YMlFsWERkZ3ZyRDU5ZytCRFVLS0VYMk91?= =?utf-8?B?S200VHZKcDBLN1RldXZ6S0owNUo4YlVWWU45MkJkanljQlM2VER2UTBoRnJG?= =?utf-8?B?V0pPdDZJZytaaXdyaUxTTXZWQUNhRXBFWStNd2pHWm14bEZqSitFQmViUnMy?= =?utf-8?B?cDhscU9CSWFvelNXdTlSOW5YNytTVUw1UXhZV2NNdkF4Ykh1NnJmYTRZMzJm?= =?utf-8?B?SWNRWk5PN2FLZkxpTUl0Ykh1QSs3eHUzWm9iZ2YrMjMrMnR2YXpBSVg1L2Fv?= =?utf-8?B?QnJFbkRHNzFrc045UzdtTEg0Sk81UEVqcks3YldCSUx6b0Y0d2hLdFFhUHpM?= =?utf-8?B?SlhCOG1kL3pCcTJTYTFDTmZ5RUpsL29SV25JUXNCWERpTkhmbTYrZjV1UlpV?= =?utf-8?B?V0NmQmpRQnlKMzhU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-8?B?cnNic2lCSjBNS1RoNFZ2WG9aVDIvVDFPa1VVUEs2WHVocVZnYUhnbDZOSUYv?= =?utf-8?B?V3lpWVVjcU9Wa1hHTGlpWnl1bG9FSHJyajQ1Q1h3VjVjaTFVa21Gak9WQzZa?= =?utf-8?B?T3ZjYnVnNS9LT3hWTzhDZXRuZjcraHBVd05rdzh6MlZtc2MxbHprSmFZcm9G?= =?utf-8?B?NnhvQy9HYXJyR2dZQXJ4MG5QVTdVQThkeDNoaERGZlQwOXJjdERjVkdvSjly?= =?utf-8?B?K0xEZHdYYTFmd1lWT214bStmNWc2ZVpCWHZraE8rb1lsc05tSkR4SjVmbzB2?= =?utf-8?B?RHdVRHVGbVV2Q095SkFxTVVwd1BZQU5Obnd5TDhOanNaUm5oOGx2QjhFeFFV?= =?utf-8?B?VTJoZmZBWFhZNEEwVkZqNkpZbDdZTW9Xd2tUQjc0RVA3Z2RiSUY1ZEE5dkdH?= =?utf-8?Q?xfQ4=3D?= Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: marvell.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: CO6PR18MB4484.namprd18.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: a50c717e-a366-446d-cc18-08dd2fca9ebd X-MS-Exchange-CrossTenant-originalarrivaltime: 08 Jan 2025 09:55:44.8994 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 70e1fb47-1155-421d-87fc-2e58f638b6e0 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: fD/aBsnJb7nljCc+8WhPN5vjnwXY1D7tWFWbu3EVtjS9Z1J/aQpbU+Yr2qLNTN1dbbeeIkg/e9GojmCwKFjwTQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: LV8PR18MB5729 X-Proofpoint-ORIG-GUID: 5LYqt3IkdH1yLwteC-FBv4TcP7BkGXE- X-Proofpoint-GUID: 5LYqt3IkdH1yLwteC-FBv4TcP7BkGXE- X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.687,Hydra:6.0.235,FMLib:17.0.607.475 definitions=2020-10-13_15,2020-10-13_02,2020-04-07_01 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 PiBBdm9pZCBDKysgbmFtZSBtYW5nbGluZyBvZiB0aGUgdHdvIGdsb2JhbCB2YXJpYWJsZXMgYmVp bmcgZXhwb3J0ZWQNCj4gZnJvbSA8cnRlX2NyeXB0b19hc3ltLmg+Lg0KPiANCj4gU3VnZ2VzdGVk LWJ5OiBEYXZpZCBNYXJjaGFuZCA8ZGF2aWQubWFyY2hhbmRAcmVkaGF0LmNvbT4NCj4gU2lnbmVk LW9mZi1ieTogTWF0dGlhcyBSw7ZubmJsb20gPG1hdHRpYXMucm9ubmJsb21AZXJpY3Nzb24uY29t Pg0KPiAtLS0NCj4gIGxpYi9jcnlwdG9kZXYvcnRlX2NyeXB0b19hc3ltLmggfCA4ICsrKysrKysr DQo+ICAxIGZpbGUgY2hhbmdlZCwgOCBpbnNlcnRpb25zKCspDQo+IA0KPiBkaWZmIC0tZ2l0IGEv bGliL2NyeXB0b2Rldi9ydGVfY3J5cHRvX2FzeW0uaCBiL2xpYi9jcnlwdG9kZXYvcnRlX2NyeXB0 b19hc3ltLmgNCj4gaW5kZXggYWViNDZlNjg4ZS4uOTc4N2I3MTBlNyAxMDA2NDQNCj4gLS0tIGEv bGliL2NyeXB0b2Rldi9ydGVfY3J5cHRvX2FzeW0uaA0KPiArKysgYi9saWIvY3J5cHRvZGV2L3J0 ZV9jcnlwdG9fYXN5bS5oDQo+IEBAIC0yNSw2ICsyNSwxMCBAQA0KPiANCj4gIHN0cnVjdC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