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 D20EC433AD for ; Thu, 23 Nov 2023 18:11:07 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id C267542F37; Thu, 23 Nov 2023 18:11:07 +0100 (CET) Received: from mgamail.intel.com (mgamail.intel.com [134.134.136.65]) by mails.dpdk.org (Postfix) with ESMTP id 506A242F0B; Thu, 23 Nov 2023 18:11:02 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1700759465; x=1732295465; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=uCtJT6jOAx07OYehLhxC8TDChsl0WGU31BvNIsx3G1g=; b=Y6JsSLIDg0sb6zCoo0IOQQgdoB+qKGhTPTwxQZJhMe+7iHVVY5cioj+9 MIhjQDddAp/DkYwPh7MrY7t6Fv6gwzs2pWNVGxQUd6wfyV0FeG9Wb7ec6 YSP5kzaI336N10CqRTmVQRKXLoYpwf3k0fCGGf4fn3SHASkepSxocRxGc awdXKiuOR6SX3GFUKTgSRTvTIInqMYsuDac6P2iUKjNVAzkkMFF7zPW9U 7mvB3gah8qO7uWs0H8FtL5ZR+AA+UZT/BfP8/QLBKJJlnii9TmtFnfjY9 eUK71C65eaA/6Pltsef2V+yPIzyrI4FpF++8d8MOFvfw+kLw4CVL2iKZb w==; X-IronPort-AV: E=McAfee;i="6600,9927,10902"; a="396205531" X-IronPort-AV: E=Sophos;i="6.04,222,1695711600"; d="scan'208";a="396205531" Received: from orviesa001.jf.intel.com ([10.64.159.141]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 23 Nov 2023 09:11:01 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.04,222,1695711600"; d="scan'208";a="15395490" Received: from orsmsx603.amr.corp.intel.com ([10.22.229.16]) by orviesa001.jf.intel.com with ESMTP/TLS/AES256-GCM-SHA384; 23 Nov 2023 09:10:59 -0800 Received: from orsmsx611.amr.corp.intel.com (10.22.229.24) 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.34; Thu, 23 Nov 2023 09:10:56 -0800 Received: from orsmsx612.amr.corp.intel.com (10.22.229.25) by ORSMSX611.amr.corp.intel.com (10.22.229.24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.34; Thu, 23 Nov 2023 09:10:54 -0800 Received: from ORSEDG601.ED.cps.intel.com (10.7.248.6) by orsmsx612.amr.corp.intel.com (10.22.229.25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.34 via Frontend Transport; Thu, 23 Nov 2023 09:10:54 -0800 Received: from NAM10-BN7-obe.outbound.protection.outlook.com (104.47.70.101) by edgegateway.intel.com (134.134.137.102) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.34; Thu, 23 Nov 2023 09:10:54 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Ak1y8SXOe7aaI32HlIcKYp/A/FQra6YWkhRFXT3zWBMpLLuX2hFoBqmc0/xDGtatKumz5EoupfSxs/AH9qfAKhoF3ifx4uo2GaIt2ZNApaD8ZkHe0OWRC2llxqYydIQtUDasmEtEpyUgGTvfm/RbURRDEbVcfJ2FZNqCn3LSDmgkhqhsvpyWCiXD2INoXfdlsYDA5GQOIFILLvrKIpaMEi33HnyWNmn8pcKYdowQ0b7iumYbVCBKOuzU13gWxO6cOq7EWViwHttAErOGGrKgu/vRQlaadQ+XVh0dWecCuCzZ1BebSxoC9vAwsLhiYvQbJsFuFFk5rqFAVq/mfk9rPg== 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=uCtJT6jOAx07OYehLhxC8TDChsl0WGU31BvNIsx3G1g=; b=UDu/52iYOJg4GmADZqYeLv6lvrrCTW2RIvZIIO8tj0MoAQLWIfrj9zbbI8p6wdKiHTzKpZt5KxNboZIvuOuePHlQYMQd6Jtu0O1UM7+C9aH2myPeLZHTaF/coHVMhQae1YzbRwcHd7q4O+lk2RSH4MrKhs6z0fAq4H+E/INMzSqd5M57pNvleuhKvct/CIEuwP2wmvf1eFNJo769ecKxQgujLlt5POzp//v09kn3hJTcJSroJ38jpjyYv04VBTePmH4yE1naZLXzLy+tggxd6mB0FCKN3BnaBhR/NFNnf9ctFwUMmccH7rvogp/+S2cjko/OqdaIBUARwpP/pFagjQ== 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 DM8PR11MB5591.namprd11.prod.outlook.com (2603:10b6:8:38::23) by CY5PR11MB6390.namprd11.prod.outlook.com (2603:10b6:930:39::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7025.20; Thu, 23 Nov 2023 17:10:52 +0000 Received: from DM8PR11MB5591.namprd11.prod.outlook.com ([fe80::562c:9cac:9327:79c3]) by DM8PR11MB5591.namprd11.prod.outlook.com ([fe80::562c:9cac:9327:79c3%7]) with mapi id 15.20.7025.020; Thu, 23 Nov 2023 17:10:52 +0000 From: "De Lara Guarch, Pablo" To: "Power, Ciara" , "dev@dpdk.org" CC: "thomas@monjalon.net" , "Ji, Kai" , "stable@dpdk.org" Subject: RE: [PATCH] crypto/ipsec_mb: fix getting process ID per job Thread-Topic: [PATCH] crypto/ipsec_mb: fix getting process ID per job Thread-Index: AQHaHi+EOfQz5Bg8y0aTWfTXzES4ArCIIsvA Date: Thu, 23 Nov 2023 17:10:52 +0000 Message-ID: References: <20231123170701.901946-1-ciara.power@intel.com> In-Reply-To: <20231123170701.901946-1-ciara.power@intel.com> Accept-Language: en-US, en-IE, en-GB 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=intel.com; x-ms-publictraffictype: Email x-ms-traffictypediagnostic: DM8PR11MB5591:EE_|CY5PR11MB6390:EE_ x-ms-office365-filtering-correlation-id: f824a293-bece-45f1-52f7-08dbec472597 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: Mg+JyspaMNrXaGiLpYxGf5Mxsme+eIN4brDZOEYGriB3o7UGjzxYlyTVM5KFXLDY6iwIao0SRQVJsXbqWSgIAKLx63tcG3cSjTlTa49wiRck4hDGB0wSj581tCLjcqzl+HvDk3qrevezllmgHmt5/zfM5pjmcL1Q8g9qxZoXwdU7E7gh4VtwJ7id/57IWcIWSGh5D8zPumlbPv7gxpL2fTzaln08CUnWpcNi7InPvRmscLeaNhX6HerIY34dCsMa/NcUeBnM0ZBRmO5MRW2WVVVEEQlrcCBu0tzfVIvuKXeiaY4SbUTLKTYfTzv7r5dePZOx/BV4ygfpMAaeAolijDHut9DwyyHCx8WZOR63kvCbOwqUrbPp4Jkm01voxOtTnkeYxNYaw3xvmD7xI7s7xpPsqf/FcyxQbelTO6z7uBng/lh6NOZap5VCtQ2qTTjoJRkMYqKuBeIuEhCHjBoPJUdkopRr6rxXlqTw8mi405QWf9x3kbPAjS0En2wfujNtQ6MyMAx9t9XaOV/oxNMRr6PQRvcSPUyWyr0H2mCXxtG8Pe016t4kdoHd8ccCBuliOB/c6biPDipFKhAU5/ZrBCqdV3KARBjlDqkUY0L4HzYSFoLeDEhqyWhuKH4tzN1c x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DM8PR11MB5591.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230031)(396003)(346002)(376002)(136003)(366004)(39860400002)(230922051799003)(186009)(1800799012)(64100799003)(451199024)(55016003)(9686003)(26005)(122000001)(82960400001)(86362001)(38070700009)(33656002)(38100700002)(83380400001)(5660300002)(4744005)(2906002)(53546011)(6506007)(7696005)(71200400001)(55236004)(54906003)(8936002)(8676002)(64756008)(4326008)(316002)(66556008)(66476007)(66446008)(66946007)(478600001)(52536014)(41300700001)(110136005)(76116006); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?0p1IuM4c1GrI0KwYFfh0voOL6+sxS0KjBir1Z64+at0DCgGgbECe6Sua9fSv?= =?us-ascii?Q?c9siOoyiDxllYM41sieTGXkCCBuD0plCtwhE77aYddVIm8H9jUuxhPogrglj?= =?us-ascii?Q?kMxlbyK5G4323HK+KSSRnBkespwIclHwHs3MWA1/oH+1Q//K7fVMkUychuGd?= =?us-ascii?Q?R9P2bARKQahvaIuhke7Huye/ZXctzRs0eCFguRO2D/+hmjczV34y86689bBf?= =?us-ascii?Q?yqkBCPgQzkMzAiNsv0WSOmhh81MfAcnX3Sb8raId2swa+weR8yza8nJyllX8?= =?us-ascii?Q?q73gg4IXkAxppSPnrS9n03IRZFUxtwPRZ/ejuvGV1xMxiUFeKBK5KMywjUS/?= =?us-ascii?Q?/v7HZfOxnb9O1Pqu/itCwv2pSn+gcrh2pkjjHHT4Nuz7ArZnvzm2qcn51MZt?= =?us-ascii?Q?w3MLLrFaSbdlHPMrimauFKs8iazj1+TpiSnwlL4vC76AJuRtWtSaoOpWr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/0pKUTImXBgMAXPUmGc+KPw?= =?us-ascii?Q?5A9VdVrZdP7MD0vP2cMmFdwwcuVjmpNiRbXvcLah/6rOvDYA4MUwsqtYn6Jb?= =?us-ascii?Q?D4UpKPinwz9ghJBIK58C1QXBla7RFEP0nGHPh9MZ+hE0FOgbli4kw3oWjuDI?= =?us-ascii?Q?maeoqvv6hGPakv2bNJCEgFghKKeui3saTI5cSq4ch9TEmaZxYK8UGFYVZV/e?= =?us-ascii?Q?RLi+dMIyoZbwF2aEecBmL0lgbWG1T/AAbsejDCtPPEs53Nlh+RNS4c+MRW2u?= =?us-ascii?Q?6A=3D=3D?= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: DM8PR11MB5591.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: f824a293-bece-45f1-52f7-08dbec472597 X-MS-Exchange-CrossTenant-originalarrivaltime: 23 Nov 2023 17:10:52.0492 (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: lHR6dDKKl5gVD4Z10cHRMtrj8vrEmLVPCk/k82J3tJlg1fbmh/ZfZ59YCKnSvHo5Xtha72/5Qc8uMtd1qa7uGoxM+nwR//ToFjBUHJ+zfIc= X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY5PR11MB6390 X-OriginatorOrg: intel.com X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-bounces@dpdk.org > -----Original Message----- > From: Power, Ciara > Sent: Thursday, November 23, 2023 5:07 PM > To: dev@dpdk.org > Cc: thomas@monjalon.net; Ji, Kai ; De Lara Guarch, Pabl= o > ; Power, Ciara ; > stable@dpdk.org > Subject: [PATCH] crypto/ipsec_mb: fix getting process ID per job >=20 > Currently, when using IPsec-mb 1.4+, the process ID is obtained for each = job in > a burst with a call to getpid(). > This system call uses too many CPU cycles, and is unnecessary per job. >=20 > Instead, set the process ID value per lcore. > This is read when processing the burst, instead of per job. >=20 > Fixes: 9593d83e5d88 ("crypto/ipsec_mb: fix aesni_mb multi-process session > ID") > Cc: stable@dpdk.org >=20 > Signed-off-by: Ciara Power Acked-by: Pablo de Lara