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 785F145F20; Mon, 23 Dec 2024 11:36:41 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 83CD540B95; Mon, 23 Dec 2024 11:36:34 +0100 (CET) Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.12]) by mails.dpdk.org (Postfix) with ESMTP id 11BE540144 for ; Fri, 20 Dec 2024 03:17:07 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1734661028; x=1766197028; h=from:to:cc:subject:date:message-id:references: in-reply-to:mime-version; bh=1YGB0+mmrYeUFGlJoC9ZdHEekOYyV7C1eVFNELyUQ8o=; b=dYuz/tge0EBLL26MPIyGoHq4FEhX4BOzXrDherdZm1JKAaUtsl5qdVsW J+1bj2vJDxnrBIgoGta6xffEwrLjzAeOqR/YGlyujzfTRHjo5JX24Xed6 B9NI+3XugA6t7BbXajNQz0+tdGcylsBNL8j6ksnqu/7Nta9HkREZOnz7p 2ulKHTN1eKiCkn7X73ThVVPViilWnxhgk1MG+oHyqSJC9RkC4k48tLHCH ytK0o1HOA2zJIHxEF8wJ8HSCPLAeuvCV1FE3CAXiFaEHdOnynRfjqqFvY 3WbRgOLNc4TGBDqoZfyV3RO88F7p0PTIRLwqpV2fEO3x3R6Xs9L8oGhUT w==; X-CSE-ConnectionGUID: m/zPO2ZbQcu2yWOp+6ykjw== X-CSE-MsgGUID: W4wtyCnHQpOmxdmIapeogg== X-IronPort-AV: E=McAfee;i="6700,10204,11291"; a="46585727" X-IronPort-AV: E=Sophos;i="6.12,249,1728975600"; d="scan'208,217";a="46585727" Received: from orviesa004.jf.intel.com ([10.64.159.144]) by orvoesa104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 19 Dec 2024 18:17:07 -0800 X-CSE-ConnectionGUID: qnShsxGQQxWxbYZpjW4Z9A== X-CSE-MsgGUID: whZsO8sERaup16pnQFcFTw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.12,249,1728975600"; d="scan'208,217";a="103362966" Received: from orsmsx603.amr.corp.intel.com ([10.22.229.16]) by orviesa004.jf.intel.com with ESMTP/TLS/AES256-GCM-SHA384; 19 Dec 2024 18:17:07 -0800 Received: from orsmsx603.amr.corp.intel.com (10.22.229.16) by ORSMSX603.amr.corp.intel.com (10.22.229.16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.44; Thu, 19 Dec 2024 18:17:06 -0800 Received: from ORSEDG602.ED.cps.intel.com (10.7.248.7) by orsmsx603.amr.corp.intel.com (10.22.229.16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.44 via Frontend Transport; Thu, 19 Dec 2024 18:17:06 -0800 Received: from NAM12-MW2-obe.outbound.protection.outlook.com (104.47.66.42) by edgegateway.intel.com (134.134.137.103) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.44; Thu, 19 Dec 2024 18:17:06 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=bwoJv3cBF1IkeYt79AHllLj+3S87NTYeNmoXhJFwYv18sIya19QKv6yQZoZrstlTlL+8Gy8pIAAE6L4ovPOqfpAdPkQgJC9RB6OqkU78h7gNMBxfMdEuhGEzWT3fTFbZCuTbRi6z6BejHAGJWjf6zdYYNGSPshfu8j7tOtoWiOmpILbGFtOyE3X/l6aId+GTLD17KYiJYbNVvhGwR5McWstOpMYn7kJ937/LOPx+9O4fO50HC/sqGZ/D1XqZHxpsxyw2gtqZ0JGFuRnnpOgl1QBBgB8AzJ+Nbn+Dd2FxOUidyf1C45o1k0VlAGG28InNSYcwLQ+AppB4EDE41emqsg== 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=SiQsJfZU8OUFiA3fqKhlP33UQPyZXAW+ivgMudlE+YM=; b=wug/x5Hk0xTaK+/58K7Jnqsp9aSr4APMgdGit5fGDxq7zYPLHjPr3yqJyXHyYRrQpBcJacoUQQVEkkY/rC4G5pxUMi/FIStj0/6Idb9qnHpsKzI31mI5o9Y2JGAWgo33wrZLwHFx8n1ZvvJm+jChri0sZY4D06Ily0ph5jDGDSI4zX+DAr+TclsUN8axi2gc0aQP5vK7c8rr+9k2E01S/hPj/9BB9lGlD2onZRiROJhCOdsUJ2dV3WvEK4sB+OMInh+cFdfkgbVZYODskepopb2i77Pl3PS7D4EBPccBefITiOx2wb6kzww0X7Ob6J/fwfBSwEJITczJbipJxrc7rw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none Received: from PH0PR11MB5784.namprd11.prod.outlook.com (2603:10b6:510:129::22) by SJ2PR11MB8402.namprd11.prod.outlook.com (2603:10b6:a03:545::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8272.13; Fri, 20 Dec 2024 02:17:04 +0000 Received: from PH0PR11MB5784.namprd11.prod.outlook.com ([fe80::312a:fedf:d334:d76b]) by PH0PR11MB5784.namprd11.prod.outlook.com ([fe80::312a:fedf:d334:d76b%4]) with mapi id 15.20.8251.015; Fri, 20 Dec 2024 02:17:04 +0000 From: "Hu, Zhigang" To: Thomas Monjalon CC: "dev@dpdk.org" , "Dong, Yao" , "Richardson, Bruce" , "mattias.ronnblom@ericsson.com" , "Liu1, Kai" , "Chautru, Nicolas" Subject: Re: The question for the modification against (lib/cryptodev/rte_cryptodev.h) in commit 719834a6 Thread-Topic: The question for the modification against (lib/cryptodev/rte_cryptodev.h) in commit 719834a6 Thread-Index: AQHbUe8IHz1nT12nDE2awuQgVWUU8bLtc+AAgADxlM0= Date: Fri, 20 Dec 2024 02:17:04 +0000 Message-ID: References: <867324726.0ifERbkFSE@thomas> In-Reply-To: <867324726.0ifERbkFSE@thomas> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: msip_labels: authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=intel.com; x-ms-publictraffictype: Email x-ms-traffictypediagnostic: PH0PR11MB5784:EE_|SJ2PR11MB8402:EE_ x-ms-office365-filtering-correlation-id: 8ad5fe49-70ea-4a41-f075-08dd209c655c x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; ARA:13230040|366016|376014|1800799024|8096899003|7053199007|38070700018; x-microsoft-antispam-message-info: =?iso-8859-1?Q?lopaMcPRlp/G8Sb7/gahxznXV/jHVHRIu4H3sKXr7pcJJTUMiOihHWNvZ7?= =?iso-8859-1?Q?OlM0DVNFl8DXsrYJCX0iGU7i90I0Xy8ahTR09jkDnQD0Den/CYNYKkssVb?= =?iso-8859-1?Q?1gZwIWJ/v16W6Ech6s93DEqjw4pO1QDUGoXybNv+W36xeTWIQVN6j6VM5F?= =?iso-8859-1?Q?EpoUnhOwFptrbMagyy8wZ/J8T5nQ0dDaqC65MRqRNTg04UZy4MMXDi7425?= =?iso-8859-1?Q?134lrs2jnAHO2lK3u/in7Lh1KH7JQNxVO5ZuMU83uOaswhZXdgSSChReZj?= =?iso-8859-1?Q?3q/Ja2+SI+bwZbPYra1Y1mRw6Rdcv7Pcs4na/dcM5oBBReCzaq2VOmXkpI?= =?iso-8859-1?Q?N8gdZq1nQ4+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A0re?= =?iso-8859-1?Q?G+v1tOWrwrAQn0JNwsuDf08kqZ5+e50/942Brj/Fnn3imD+aEhHHzwC9zm?= =?iso-8859-1?Q?uRGWBjvkbsevZfJYDGsYZYFk9GkjRidDcaj6PmRSIm/WvxGzjcNZL2qfN4?= =?iso-8859-1?Q?FoLum57+3wcJgq3TGNZTP8fyeQPHWhJcJAJ+iMg964pC3DmuZ2cvp0kZDC?= =?iso-8859-1?Q?/c2cvcbty9nUOTb1pEY11TojgWHRCW6gwt+arA=3D=3D?= x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:PH0PR11MB5784.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230040)(366016)(376014)(1800799024)(8096899003)(7053199007)(38070700018); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?iso-8859-1?Q?GLM6Twp/Iz/beuwbDO0OCqvi6n4tddkLhBE666B70Ckr6yuOI64S5mgLFz?= =?iso-8859-1?Q?N4vZWoirR8Mn8hUzCX0D6G/JX0oWw3dML5z935JIRMhI6bRjIB9L96/7oN?= =?iso-8859-1?Q?9wD3TF0+oXMUUMNLKYqny79a9eQE5OFowZXlch0snH7ksMcVHWs9l0Ke1T?= =?iso-8859-1?Q?Q+p3dl/m8ri6edyWCdCFOuMme3HSn+xlwgOVNJO+nA/EoZXu62rfRdh0F7?= =?iso-8859-1?Q?QrWLeXkQnHbYT27170l8t+8lfdKXLiK5IVg7/Rn4IVNXrhYJxfcFOxUqmy?= =?iso-8859-1?Q?dQkpcmfLAd1Y9bJp1rxvxadk/qxAjoBqSrkzThXWXLPhVQ669OlP0duJIr?= =?iso-8859-1?Q?07ZaiVch1TkLVzDu18eNP2WebKS8WJg5EApXv1mt94xpOGXDcHDlLkwvvS?= =?iso-8859-1?Q?J89iBsXXCs7/saqqm4Sc8qwwyvlJiFxfcQpuhzHIZJJwZO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7NYalOYBv5G0lUOiuJ2/p5EmxHK7tNXTnmbXbW1MWIxVHPg?= =?iso-8859-1?Q?rhq3D0VgoH80t3IMvt551J4u4C6RhMu41cJ4vasCManeNZ4oyK41U6+D2R?= =?iso-8859-1?Q?bgn9MoLvJMsL0byI/mLnAR+pfxXl40UvZdT+WvOH1DDQjjw5AIerwAviS2?= =?iso-8859-1?Q?CbtvssoYW6zzPV4c97DWQqIXGTzctBgkSYrPkOrXC0uZRZP1TgTsFBidBP?= =?iso-8859-1?Q?a8PN3cMN3MXe1InzZespkofJgkuqs+yyTKVT1Zf8tAu0leBiBOyGKqCeyW?= =?iso-8859-1?Q?QrGpoKnI0VugfimyGAGbSkTSgrKBT9tI5X?= Content-Type: multipart/alternative; boundary="_000_PH0PR11MB5784408D11DB69898A1BA1D788072PH0PR11MB5784namp_" MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: PH0PR11MB5784.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 8ad5fe49-70ea-4a41-f075-08dd209c655c X-MS-Exchange-CrossTenant-originalarrivaltime: 20 Dec 2024 02:17:04.3647 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: bx/KNKd6sEffAdA7GcIKjpCjPHF/3xo3CDW8HIbPrTh+3fnrBBl+D6+bmByv5I5ep5WJ9liDMVQJUdgVmPnrTQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SJ2PR11MB8402 X-OriginatorOrg: intel.com X-Mailman-Approved-At: Mon, 23 Dec 2024 11:36:30 +0100 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 --_000_PH0PR11MB5784408D11DB69898A1BA1D788072PH0PR11MB5784namp_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi Thomas, Thank you for your quick response. Your v1 patch works fine in my test. We are looking forward to your v2 patc= h. Best Regards, Zhigang ________________________________ From: Thomas Monjalon Sent: Thursday, December 19, 2024 7:48 PM To: Hu, Zhigang Cc: dev@dpdk.org ; Dong, Yao ; Richardson= , Bruce ; mattias.ronnblom@ericsson.com Subject: Re: The question for the modification against (lib/cryptodev/rte_c= ryptodev.h) in commit 719834a6 19/12/2024 11:41, Hu, Zhigang: > Hi, experts, > > My C++ program calls some functions defined in lib/cryptodev/rte_cryptode= v.h. After upgrading dpdk from 23.11 to 24.11, my C++ program failed to be = complied. It looks like that the cimmit 719834a6 caused my issue. Yes, you're right. Thanks for reporting. Please could you try this fix? https://patches.dpdk.org/project/dpdk/patch/20241219114555.406331-1-thomas@= monjalon.net/ --_000_PH0PR11MB5784408D11DB69898A1BA1D788072PH0PR11MB5784namp_ Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Hi Thomas,

Thank you for your quick response.

Your v1 patch works fine in my test. We are looking forward to your v2= patch.

Best Regards,
Zhigang

From: Thomas= Monjalon <thomas@monjalon.net>
Sent: Thursday, December 19, 2024 7:48 PM
To: Hu, Zhigang <zhigang.hu@intel.com>
Cc: dev@dpdk.org <dev@dpdk.org>; Dong, Yao <yao.dong@i= ntel.com>; Richardson, Bruce <bruce.richardson@intel.com>; mattias= .ronnblom@ericsson.com <mattias.ronnblom@ericsson.com>
Subject: Re: The question for the modification against (lib/cry= ptodev/rte_cryptodev.h) in commit 719834a6
 
19/12/2024 11:41, = Hu, Zhigang:
> Hi, experts,
>
> My C++ program calls some functions defined in lib/cryptodev/rte_crypt= odev.h. After upgrading dpdk from 23.11 to 24.11, my C++ program failed to = be complied.  It looks like that the cimmit 719834a6 caused my issue.<= br>
Yes, you're right.
Thanks for reporting.

Please could you try this fix?
https://patches.dpdk.org/pr= oject/dpdk/patch/20241219114555.406331-1-thomas@monjalon.net/




--_000_PH0PR11MB5784408D11DB69898A1BA1D788072PH0PR11MB5784namp_--