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 BE0BC41C5B; Fri, 10 Feb 2023 07:54:31 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id A22BF40EE6; Fri, 10 Feb 2023 07:54:31 +0100 (CET) Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by mails.dpdk.org (Postfix) with ESMTP id DB8DD40EE3 for ; Fri, 10 Feb 2023 07:54:30 +0100 (CET) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id CDB6F4B3; Thu, 9 Feb 2023 22:55:12 -0800 (PST) Received: from ampere-altra-2-1.usa.Arm.com (ampere-altra-2-1.usa.arm.com [10.118.91.158]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id 244833F8C6; Thu, 9 Feb 2023 22:54:30 -0800 (PST) From: Kamalakshitha Aligeri To: Yuying.Zhang@intel.com, beilei.xing@intel.com, olivier.matz@6wind.com, andrew.rybchenko@oktetlabs.ru, bruce.richardson@intel.com, mb@smartsharesystems.com, konstantin.ananyev@huawei.com, Honnappa.Nagarahalli@arm.com, ruifeng.wang@arm.com, feifei.wang2@arm.com Cc: dev@dpdk.org, nd@arm.com, Kamalakshitha Aligeri Subject: [PATCH v2 0/2] Integrated mempool cache zero-copy API's Date: Fri, 10 Feb 2023 06:54:05 +0000 Message-Id: <20230210065407.209567-1-kamalakshitha.aligeri@arm.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230209062501.142828-1-kamalakshitha.aligeri@arm.com> References: <20230209062501.142828-1-kamalakshitha.aligeri@arm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 In i40e PMD, for fast_free path in Tx, freeing mbufs need to do an extra memcpy due to the special structure of ‘txep’. Thus, replaced the put_bulk function with the zero-copy put API to avoid the cost of this memcpy. On Ampere-altra server, for single-core DPDK l3fwd test, throughput improves by 5% with the new API v2: Fixed the code for n > RTE_MEMPOOL_CACHE_MAX_SIZE (Morten Brorup) v1: 1. Integrated the zc_put API in i40e PMD 2. Added mempool test cases with the zero-cpoy API's Kamalakshitha Aligeri (2): net/i40e: replace put function test/mempool: add zero-copy API's .mailmap | 1 + app/test/test_mempool.c | 81 ++++++++++++++++++------- drivers/net/i40e/i40e_rxtx_vec_common.h | 28 +++++++-- 3 files changed, 84 insertions(+), 26 deletions(-) -- 2.25.1