[PATCH v4 05/31] net/ena: fix fast mbuf free

Ferruh Yigit ferruh.yigit at amd.com
Wed Mar 13 16:58:43 CET 2024


On 3/12/2024 6:06 PM, shaibran at amazon.com wrote:
> From: Shai Brandes <shaibran at amazon.com>
> 
> In case the application enables fast mbuf release optimization,
> the driver releases 256 TX mbufs in bulk upon reaching the
> TX free threshold.
> The existing implementation utilizes rte_mempool_put_bulk for bulk
> freeing TXs, which exclusively supports direct mbufs.
> In case the application transmits indirect bufs, the driver must
> also decrement the mbuf reference count and unlink the mbuf segment.
> For such case, the driver should employ rte_pktmbuf_free_bulk.
> 
> Fixes: c339f53823f3 ("net/ena: support fast mbuf free")
> Cc: stable at dpdk.org
> 
> Signed-off-by: Shai Brandes <shaibran at amazon.com>
> Reviewed-by: Amit Bernstein <amitbern at amazon.com>
>

Dropped release notes update while merging, as user impact of the change
is low, or no more than fixing a defect.


More information about the stable mailing list