Message ID | 20230221055205.22984-1-kamalakshitha.aligeri@arm.com (mailing list archive) |
---|---|
Headers |
Return-Path: <dev-bounces@dpdk.org> X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 5E40641CF8; Tue, 21 Feb 2023 06:52:22 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 12A8C4313C; Tue, 21 Feb 2023 06:52:22 +0100 (CET) Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by mails.dpdk.org (Postfix) with ESMTP id 5686940E5A for <dev@dpdk.org>; Tue, 21 Feb 2023 06:52:20 +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 B3709FEC; Mon, 20 Feb 2023 21:53:02 -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 8C59D3F881; Mon, 20 Feb 2023 21:52:19 -0800 (PST) From: Kamalakshitha Aligeri <kamalakshitha.aligeri@arm.com> 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 <kamalakshitha.aligeri@arm.com> Subject: [PATCH v4 0/2] Integrated mempool cache zero-copy API's Date: Tue, 21 Feb 2023 05:52:03 +0000 Message-Id: <20230221055205.22984-1-kamalakshitha.aligeri@arm.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230210065407.209567-2-kamalakshitha.aligeri@arm.com> References: <20230210065407.209567-2-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 <dev.dpdk.org> List-Unsubscribe: <https://mails.dpdk.org/options/dev>, <mailto:dev-request@dpdk.org?subject=unsubscribe> List-Archive: <http://mails.dpdk.org/archives/dev/> List-Post: <mailto:dev@dpdk.org> List-Help: <mailto:dev-request@dpdk.org?subject=help> List-Subscribe: <https://mails.dpdk.org/listinfo/dev>, <mailto:dev-request@dpdk.org?subject=subscribe> Errors-To: dev-bounces@dpdk.org |
Series |
Integrated mempool cache zero-copy API's
|
|
Message
Kamalakshitha Aligeri
Feb. 21, 2023, 5:52 a.m. UTC
In i40e PMD, for fast_free path in Tx, freeing mbufs firstly 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 v4: Added the Depends-on tag v3: Fixed the way mbufs are accessed from txep (Morten Brorup) 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 | 27 +++++++-- 3 files changed, 83 insertions(+), 26 deletions(-) -- 2.25.1