[dpdk-dev] [PATCH v3 0/2] add mbuf fast free offload support

Matan Azrad matan at nvidia.com
Tue Jan 26 11:34:29 CET 2021


 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 at 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 at nvidia.com>



More information about the dev mailing list