Message ID | 1611335529-26503-1-git-send-email-viacheslavo@nvidia.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 617DAA0A0A; Fri, 22 Jan 2021 18:12:15 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id E41CF14102D; Fri, 22 Jan 2021 18:12:14 +0100 (CET) Received: from mellanox.co.il (mail-il-dmz.mellanox.com [193.47.165.129]) by mails.dpdk.org (Postfix) with ESMTP id 97DC914100C for <dev@dpdk.org>; Fri, 22 Jan 2021 18:12:13 +0100 (CET) Received: from Internal Mail-Server by MTLPINE1 (envelope-from viacheslavo@nvidia.com) with SMTP; 22 Jan 2021 19:12:12 +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 10MHCCud025286; Fri, 22 Jan 2021 19:12:12 +0200 From: Viacheslav Ovsiienko <viacheslavo@nvidia.com> To: dev@dpdk.org Cc: rasland@nvidia.com, matan@nvidia.com, orika@nvidia.com, thomas@monjalon.net, akozyrev@nvidia.com Date: Fri, 22 Jan 2021 17:12:07 +0000 Message-Id: <1611335529-26503-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 v3 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 <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> |
Series |
add mbuf fast free offload support
|
|
Message
Slava Ovsiienko
Jan. 22, 2021, 5:12 p.m. UTC
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 <viacheslavo@nvidia.com>
---
v1: http://patches.dpdk.org/patch/85482/
v2: release notes, PMD features and documentation update
v3: typo fixes, 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 | 2 +-
drivers/net/mlx5/mlx5_rxtx.c | 67 +++++++++++++++++++++++++++++-----
drivers/net/mlx5/mlx5_rxtx.h | 2 +
drivers/net/mlx5/mlx5_txq.c | 6 +++
6 files changed, 80 insertions(+), 10 deletions(-)
Comments
From: Viacheslav Ovsiienko > 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 <viacheslavo@nvidia.com> > > --- > v1: > https://nam11.safelinks.protection.outlook.com/?url=http%3A%2F%2Fpatches.d > pdk.org%2Fpatch%2F85482%2F&data=04%7C01%7Cmatan%40nvidia.com > %7Cd873758f2c354a1af0aa08d8bef8ddd9%7C43083d15727340c1b7db39efd9c > cc17a%7C0%7C0%7C637469323804842896%7CUnknown%7CTWFpbGZsb3d8eyJ > WIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C > 1000&sdata=BqgJn08GepCw1gpCfG7rKmqZcp1ht02HG%2Bi%2FlEXKjjc%3 > D&reserved=0 > v2: release notes, PMD features and documentation update > v3: typo fixes, 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 | 2 +- > drivers/net/mlx5/mlx5_rxtx.c | 67 +++++++++++++++++++++++++++++--- > -- > drivers/net/mlx5/mlx5_rxtx.h | 2 + > drivers/net/mlx5/mlx5_txq.c | 6 +++ > 6 files changed, 80 insertions(+), 10 deletions(-) > > -- > 1.8.3.1 Series-acked-by: Matan Azrad <matan@nvidia.com>
Hi, > -----Original Message----- > From: Viacheslav Ovsiienko <viacheslavo@nvidia.com> > Sent: Friday, January 22, 2021 7:12 PM > To: dev@dpdk.org > Cc: Raslan Darawsheh <rasland@nvidia.com>; Matan Azrad > <matan@nvidia.com>; Ori Kam <orika@nvidia.com>; NBU-Contact-Thomas > Monjalon <thomas@monjalon.net>; Alexander Kozyrev > <akozyrev@nvidia.com> > Subject: [PATCH v3 0/2] add mbuf fast free offload support > > 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 <viacheslavo@nvidia.com> > > --- > v1: > https://nam11.safelinks.protection.outlook.com/?url=http%3A%2F%2Fpatch > es.dpdk.org%2Fpatch%2F85482%2F&data=04%7C01%7Crasland%40nvid > ia.com%7Cb616de17445740f7ea7908d8bef8ddea%7C43083d15727340c1b7db > 39efd9ccc17a%7C0%7C0%7C637469323379495159%7CUnknown%7CTWFpbG > Zsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6 > Mn0%3D%7C1000&sdata=5GosR%2BxQfWziqF3bWmOUfa%2FuTKuf%2 > BOkjdklt%2BJrnK%2FA%3D&reserved=0 > v2: release notes, PMD features and documentation update > v3: typo fixes, 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 | 2 +- > drivers/net/mlx5/mlx5_rxtx.c | 67 > +++++++++++++++++++++++++++++----- > drivers/net/mlx5/mlx5_rxtx.h | 2 + > drivers/net/mlx5/mlx5_txq.c | 6 +++ > 6 files changed, 80 insertions(+), 10 deletions(-) > > -- > 1.8.3.1 Series applied to next-net-mlx, Kindest regards, Raslan Darawsheh