From patchwork Wed Jun 30 02:04:12 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Feifei Wang X-Patchwork-Id: 95021 Return-Path: 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 83A7AA0A0F; Wed, 30 Jun 2021 04:04:24 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 090C940E01; Wed, 30 Jun 2021 04:04:24 +0200 (CEST) Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by mails.dpdk.org (Postfix) with ESMTP id 242F840DF6 for ; Wed, 30 Jun 2021 04:04:23 +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 8844CD6E; Tue, 29 Jun 2021 19:04:22 -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 264763F694; Tue, 29 Jun 2021 19:04:20 -0700 (PDT) From: Feifei Wang To: Cc: dev@dpdk.org, nd@arm.com, Feifei Wang Date: Wed, 30 Jun 2021 10:04:12 +0800 Message-Id: <20210630020415.95411-1-feifei.wang2@arm.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Subject: [dpdk-dev] [PATCH v2 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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 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) Feifei Wang (2): net/i40e: improve performance for scalar Tx net/i40e: improve performance for vector Tx drivers/net/i40e/i40e_rxtx.c | 26 +++++++++++++++++++++---- drivers/net/i40e/i40e_rxtx_vec_common.h | 11 +++++++++++ 2 files changed, 33 insertions(+), 4 deletions(-)