From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (xvm-189-124.dc0.ghst.net [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id A8402A09FF; Wed, 6 Jan 2021 09:34:32 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 36C59160800; Wed, 6 Jan 2021 09:34:32 +0100 (CET) Received: from mellanox.co.il (mail-il-dmz.mellanox.com [193.47.165.129]) by mails.dpdk.org (Postfix) with ESMTP id E3FDD1607A8 for ; Wed, 6 Jan 2021 09:34:29 +0100 (CET) Received: from Internal Mail-Server by MTLPINE1 (envelope-from viacheslavo@nvidia.com) with SMTP; 6 Jan 2021 10:34:29 +0200 Received: from nvidia.com (pegasus12.mtr.labs.mlnx [10.210.17.40]) by labmailer.mlnx (8.13.8/8.13.8) with ESMTP id 1068YTv5026551; Wed, 6 Jan 2021 10:34:29 +0200 From: Viacheslav Ovsiienko To: dev@dpdk.org Cc: rasland@nvidia.com, matan@nvidia.com, orika@nvidia.com, thomas@monjalon.net, akozyrev@nvidia.com Date: Wed, 6 Jan 2021 08:34:21 +0000 Message-Id: <1609922063-13716-1-git-send-email-viacheslavo@nvidia.com> X-Mailer: git-send-email 1.8.3.1 In-Reply-To: <1608311697-31529-1-git-send-email-viacheslavo@nvidia.com> References: <1608311697-31529-1-git-send-email-viacheslavo@nvidia.com> Subject: [dpdk-dev] [PATCH v2 0/2] add mbuf fast free offload support 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" This patch adds support of the mbuf fast free offload to the transmit datapath. This offload allows to free the mbufs on transmit completion in the most efficient way. It requires the all mbufs were allocated from the same pool, have the reference counter value as 1, and have no any externally attached buffers. The patchset is split in two parts, the first one is overall send loop optimization and can be ported back to stable release, and also is the preparation step before introducing the fast free offload. The second part provides the code for the feature. Signed-off-by: Viacheslav Ovsiienko --- v1: http://patches.dpdk.org/patch/85482/ v2: release notes, PMD features and documentation update Viacheslav Ovsiienko (2): net/mlx5: optimize inline mbuf freeing net/mlx5: add mbuf fast free offload support doc/guides/nics/features/mlx5.ini | 1 + doc/guides/nics/mlx5.rst | 12 ++++++ doc/guides/rel_notes/release_21_02.rst | 7 +++- drivers/net/mlx5/mlx5_rxtx.c | 67 +++++++++++++++++++++++++++++----- drivers/net/mlx5/mlx5_rxtx.h | 2 + drivers/net/mlx5/mlx5_txq.c | 6 +++ 6 files changed, 85 insertions(+), 10 deletions(-) -- 1.8.3.1