[v3,0/2] net/i40e: improve free mbuf for Tx
Message ID | 20210630064036.105151-1-feifei.wang2@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 175EDA0A0F; Wed, 30 Jun 2021 08:40:46 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 8D42D40040; Wed, 30 Jun 2021 08:40:45 +0200 (CEST) Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by mails.dpdk.org (Postfix) with ESMTP id 647E74003C for <dev@dpdk.org>; Wed, 30 Jun 2021 08:40:44 +0200 (CEST) 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 AA38F6D; Tue, 29 Jun 2021 23:40:43 -0700 (PDT) Received: from net-x86-dell-8268.shanghai.arm.com (net-x86-dell-8268.shanghai.arm.com [10.169.210.141]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id 46FEC3F5A1; Tue, 29 Jun 2021 23:40:42 -0700 (PDT) From: Feifei Wang <feifei.wang2@arm.com> To: Cc: dev@dpdk.org, nd@arm.com, Feifei Wang <feifei.wang2@arm.com> Date: Wed, 30 Jun 2021 14:40:34 +0800 Message-Id: <20210630064036.105151-1-feifei.wang2@arm.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210527081714.1367611-1-feifei.wang2@arm.com> References: <20210527081714.1367611-1-feifei.wang2@arm.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dpdk-dev] [PATCH v3 0/2] net/i40e: improve free mbuf for Tx 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 Sender: "dev" <dev-bounces@dpdk.org> |
Message
Feifei Wang
June 30, 2021, 6:40 a.m. UTC
For i40e Tx path, use bulk free of the buffers when mbuf fast free mode is enabled. This can efficiently improve the performance. v2: 1. fix bug when tx_rs_thres > RTE_I40E_TX_MAX_FREE_BUF_SZ (Beilei) v3: 1. change variable name for more readable (Beilei) Feifei Wang (2): net/i40e: improve performance for scalar Tx net/i40e: improve performance for vector Tx drivers/net/i40e/i40e_rxtx.c | 30 ++++++++++++++++++++----- drivers/net/i40e/i40e_rxtx_vec_common.h | 11 +++++++++ 2 files changed, 35 insertions(+), 6 deletions(-)