On Mon, Aug 11, 2025 at 02:47:17PM +0200, Morten Brørup wrote:
> > From: Morten Brørup [mailto:[email protected]]
> > Sent: Tuesday, 24 June 2025 08.13
> > 
> > When fast releasing mbufs, the mbufs are not accessed, so do not prefetch
> > them.
> > This saves a mbuf load operation for each fast released TX mbuf.
> > 
> > When fast release of mbufs is enabled for a TX queue, cache the mbuf
> > mempool pointer in the TX queue structure.
> > This saves one mbuf load operation for each burst of fast released TX
> > mbufs.
> > 
> > The txep->mbuf pointer is not used after the mbuf has been freed, so do
> > not reset the pointer.
> > This saves a txep store operation for each TX mbuf freed.
> > 
> > Signed-off-by: Morten Brørup <[email protected]>
> > ---
> 
> After further consideration, I think this patch should be split in two:
> 1. Remove superfluous code: prefetching mbufs and resetting txep->mbuf 
> pointers.
> 2. Cache the mbuf mempool pointer for FAST_FREE.
> 
Hi Morten,

any plans for a new version of this patch (split or otherwise)? This is
popped up again on my list in patchwork and want to decide what to do with
it for this release. :-)

/Bruce

Reply via email to