[PATCH v3 05/33] net/ena: fix fast mbuf free
Ferruh Yigit
ferruh.yigit at amd.com
Fri Mar 8 18:23:19 CET 2024
On 3/6/2024 12:24 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.
>
Ack.
I wonder if you observe any performance impact from this change, just
for reference if we encounter similar decision in the future.
More information about the stable
mailing list