mbox series

[v2,0/2] add mbuf fast free offload support

Message ID 1609922063-13716-1-git-send-email-viacheslavo@nvidia.com (mailing list archive)
Headers
Series add mbuf fast free offload support |

Message

Slava Ovsiienko Jan. 6, 2021, 8:34 a.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

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(-)