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 995CF42350; Fri, 13 Oct 2023 07:41:41 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 240F0402CB; Fri, 13 Oct 2023 07:41:41 +0200 (CEST) Received: from dkmailrelay1.smartsharesystems.com (smartserver.smartsharesystems.com [77.243.40.215]) by mails.dpdk.org (Postfix) with ESMTP id 13C0E402AE for ; Fri, 13 Oct 2023 07:41:40 +0200 (CEST) Received: from smartserver.smartsharesystems.com (smartserver.smartsharesys.local [192.168.4.10]) by dkmailrelay1.smartsharesystems.com (Postfix) with ESMTP id C670620633; Fri, 13 Oct 2023 07:41:39 +0200 (CEST) Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Subject: RE: [PATCH v12 1/2] mempool cache: add zero-copy get and put functions X-MimeOLE: Produced By Microsoft Exchange V6.5 Date: Fri, 13 Oct 2023 07:41:34 +0200 Message-ID: <98CBD80474FA8B44BF855DF32C47DC35E9EF42@smartserver.smartshare.dk> In-Reply-To: <38429008.J2Yia2DhmK@thomas> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [PATCH v12 1/2] mempool cache: add zero-copy get and put functions Thread-Index: AdnDqNtlpY7AYrjtTlWPhH6xsacfSQ57tktQ References: <20230705180233.880203-2-kamalakshitha.aligeri@arm.com> <20230721162836.1208772-1-dharmikjayesh.thakkar@arm.com> <38429008.J2Yia2DhmK@thomas> From: =?iso-8859-1?Q?Morten_Br=F8rup?= To: "Thomas Monjalon" , "Olivier Matz" , "Andrew Rybchenko" Cc: , , "Kamalakshitha Aligeri" , "Dharmik Thakkar" , "Ruifeng Wang" , "Konstantin Ananyev" , "Chengwen Feng" , "Dharmik Thakkar" 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 > From: Thomas Monjalon [mailto:thomas@monjalon.net] > Sent: Monday, 31 July 2023 14.17 >=20 > Olivier, Andrew, any comments? What is the status with this patch series? The DPDK 23.11 deadline is = coming up very soon. >=20 >=20 > 21/07/2023 18:28, Dharmik Thakkar: > > From: Morten Br=F8rup > > > > Zero-copy access to mempool caches is beneficial for PMD = performance. > > Furthermore, having a zero-copy mempool API is considered a > precondition > > for fixing a certain category of bugs, present in some PMDs: For > > performance reasons, some PMDs had bypassed the mempool API in order > to > > achieve zero-copy access to the mempool cache. This can only be = fixed > > in those PMDs without a performance regression if the mempool = library > > offers zero-copy access APIs, so the PMDs can use the proper mempool > > API instead of copy-pasting code from the mempool library. > > Furthermore, the copy-pasted code in those PMDs has not been kept up > to > > date with the improvements of the mempool library, so when they = bypass > > the mempool API, mempool trace is missing and mempool statistics is > not > > updated. > > > > Bugzilla ID: 1052 > > > > Signed-off-by: Morten Br=F8rup > > Signed-off-by: Kamalakshitha Aligeri > > Signed-off-by: Dharmik Thakkar > > Reviewed-by: Ruifeng Wang > > Acked-by: Konstantin Ananyev > > Acked-by: Chengwen Feng >=20 >=20 >=20