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 4F740433B8 for ; Fri, 24 Nov 2023 10:55:46 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 4192343272; Fri, 24 Nov 2023 10:55:46 +0100 (CET) Received: from out5-smtp.messagingengine.com (out5-smtp.messagingengine.com [66.111.4.29]) by mails.dpdk.org (Postfix) with ESMTP id 7CFA840283; Fri, 24 Nov 2023 10:55:43 +0100 (CET) Received: from compute7.internal (compute7.nyi.internal [10.202.2.48]) by mailout.nyi.internal (Postfix) with ESMTP id B46095C0113; Fri, 24 Nov 2023 04:55:42 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute7.internal (MEProxy); Fri, 24 Nov 2023 04:55:42 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= cc:cc:content-transfer-encoding:content-type:content-type:date :date:from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:sender:subject:subject:to:to; s=fm1; t= 1700819742; x=1700906142; bh=67YI/JYzcG/zs/65zDEDc0yy8edWa8MtSBH jp60OSU8=; b=Kr17VXA631jl6jAF2xb18S30cAcYQlGtoN1ab+m0WDsnE0saQ2j eDdQsvgiIbAaEyHXyz6gEqNe7GmG1RJ075WggsLDnnlcxe1a0xwEm65ogXcJfMHh YXt0mjNw/DnlHyQxXFpaxb5oz5CDPQMpyq5+LcGEAFqT/zWxcYfFDW632uevfTmf tnYmDUZRWS491nSmpq+N82nUb7X70mbaEfjejVQI2vyMaHRXW8H8XkYuiXmzQJOS gDejIL7AcKlHgOA2eIA/R3493qWac3xa11jAxP4bVnglgweQqMk1rCHA5WQcLae+ UKHEJnh7Mgp4oGLrpWUH+sa2wkp79V2e1aQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:sender:subject:subject:to:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t= 1700819742; x=1700906142; bh=67YI/JYzcG/zs/65zDEDc0yy8edWa8MtSBH jp60OSU8=; b=TLLj7KfTTvxsaCU3jH8VG5zoYGcr+URZkvbnUwEy2zlwTdW3uAr +T3A5yN6nOSn0TgbuV7jYZfstP2w5LrzgNP9DY875iHQxW01Gw/3bL9iZ6QQa4MW +C6hrZyo4KlmUlaDRZfuBYstBw/KK22FNzIBblo71Pqa1d+Hbm441WTe72yJZvaF oR6nDeSFP9r/Nu+1zcSaWuPfohrFnEQ66rkRT1Aawl47u2C23OQ/EWfdG5fKPmYv jtuiMVanN9xz1ZofTLRNUNkQQnLJEgCGb8s5z8pP3xQfpelb1CHG4Oz5oz6eGs9r 5cz7fsDtxy3rga2EQuVsWtyxTXT2S6bbPvg== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvkedrudehhedgtdelucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvvefufffkjghfggfgtgesthfuredttddtvdenucfhrhhomhepvfhhohhm rghsucfoohhnjhgrlhhonhcuoehthhhomhgrshesmhhonhhjrghlohhnrdhnvghtqeenuc ggtffrrghtthgvrhhnpedtjeeiieefhedtfffgvdelteeufeefheeujefgueetfedttdei kefgkeduhedtgfenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfh hrohhmpehthhhomhgrshesmhhonhhjrghlohhnrdhnvght X-ME-Proxy: Feedback-ID: i47234305:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Fri, 24 Nov 2023 04:55:41 -0500 (EST) From: Thomas Monjalon To: "Power, Ciara" Cc: "dev@dpdk.org" , "Ji, Kai" , "stable@dpdk.org" , "De Lara Guarch, Pablo" Subject: Re: [PATCH v2] crypto/ipsec_mb: fix getting process ID per job Date: Fri, 24 Nov 2023 10:55:39 +0100 Message-ID: <5066814.taCxCBeP46@thomas> In-Reply-To: References: <20231123170701.901946-1-ciara.power@intel.com> <20231123171544.906577-1-ciara.power@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" 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 > > 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. > > > > Instead, set the process ID value per lcore. > > This is read when processing the burst, instead of per job. > > > > Fixes: 9593d83e5d88 ("crypto/ipsec_mb: fix aesni_mb multi-process session > > ID") > > Cc: stable@dpdk.org > > > > Signed-off-by: Ciara Power > > Acked-by: Pablo de Lara Applied, thanks.