On 3/6/2024 12:24 PM, shaib...@amazon.com wrote: > From: Shai Brandes <shaib...@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.