net/mlx5: support mbuf fast free offload
authorViacheslav Ovsiienko <viacheslavo@nvidia.com>
Fri, 22 Jan 2021 17:12:09 +0000 (17:12 +0000)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 29 Jan 2021 17:16:08 +0000 (18:16 +0100)
commit1d89c4045390e7c7fba772f035b88a64ba00e7c1
tree2ed306421bd979474ff5bdf3c0c7ce3779f2eaa8
parent461108de8289dbda634438e1f3a47af5a7cf45d7
net/mlx5: support mbuf fast free offload

This patch adds support of the mbuf fast free offload to the
transmit datapath. This offload allows freeing 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.

Signed-off-by: Viacheslav Ovsiienko <viacheslavo@nvidia.com>
Acked-by: Matan Azrad <matan@nvidia.com>
doc/guides/nics/features/mlx5.ini
doc/guides/nics/mlx5.rst
doc/guides/rel_notes/release_21_02.rst
drivers/net/mlx5/mlx5_rxtx.c
drivers/net/mlx5/mlx5_rxtx.h
drivers/net/mlx5/mlx5_txq.c