RE: [PATCH] net/intel: allow fast-free to empty cache

2025-06-08 Thread Varghese, Vipin
[Public] Snipped > > > When freeing transmitted mbufs, there is no reason to send the freed > > > mbufs directly to the ring if the cache is empty - only if it is > > > zero size (in which case the cache pointer is NULL). Therefore, > > > remove the empty check and only check for a null cache poi

Re: [PATCH] net/intel: allow fast-free to empty cache

2025-03-28 Thread Bruce Richardson
On Mon, Mar 10, 2025 at 04:18:35PM +0100, Morten Brørup wrote: > > From: Bruce Richardson [mailto:bruce.richard...@intel.com] > > Sent: Monday, 10 March 2025 14.26 > > > > When freeing transmitted mbufs, there is no reason to send the freed > > mbufs directly to the ring if the cache is empty - on

RE: [PATCH] net/intel: allow fast-free to empty cache

2025-03-11 Thread Morten Brørup
> From: Bruce Richardson [mailto:bruce.richard...@intel.com] > Sent: Monday, 10 March 2025 16.27 > > On Mon, Mar 10, 2025 at 04:18:35PM +0100, Morten Brørup wrote: > > > From: Bruce Richardson [mailto:bruce.richard...@intel.com] > > > Sent: Monday, 10 March 2025 14.26 > > > > > > When freeing tran

Re: [PATCH] net/intel: allow fast-free to empty cache

2025-03-11 Thread Bruce Richardson
On Mon, Mar 10, 2025 at 04:18:35PM +0100, Morten Brørup wrote: > > From: Bruce Richardson [mailto:bruce.richard...@intel.com] > > Sent: Monday, 10 March 2025 14.26 > > > > When freeing transmitted mbufs, there is no reason to send the freed > > mbufs directly to the ring if the cache is empty - on

RE: [PATCH] net/intel: allow fast-free to empty cache

2025-03-11 Thread Morten Brørup
> From: Bruce Richardson [mailto:bruce.richard...@intel.com] > Sent: Monday, 10 March 2025 14.26 > > When freeing transmitted mbufs, there is no reason to send the freed > mbufs directly to the ring if the cache is empty - only if it is zero > size (in which case the cache pointer is NULL). Theref

Re: [PATCH] net/intel: allow fast-free to empty cache

2025-03-11 Thread Bruce Richardson
On Mon, Mar 10, 2025 at 04:34:23PM +0100, Morten Brørup wrote: > > From: Bruce Richardson [mailto:bruce.richard...@intel.com] > > Sent: Monday, 10 March 2025 16.27 > > > > On Mon, Mar 10, 2025 at 04:18:35PM +0100, Morten Brørup wrote: > > > > From: Bruce Richardson [mailto:bruce.richard...@intel.c

RE: [PATCH] net/intel: allow fast-free to empty cache

2025-03-10 Thread Morten Brørup
> From: Bruce Richardson [mailto:bruce.richard...@intel.com] > Sent: Monday, 10 March 2025 16.53 > > On Mon, Mar 10, 2025 at 04:34:23PM +0100, Morten Brørup wrote: > > > From: Bruce Richardson [mailto:bruce.richard...@intel.com] > > > Sent: Monday, 10 March 2025 16.27 > > > > > > On Mon, Mar 10, 2

[PATCH] net/intel: allow fast-free to empty cache

2025-03-10 Thread Bruce Richardson
When freeing transmitted mbufs, there is no reason to send the freed mbufs directly to the ring if the cache is empty - only if it is zero size (in which case the cache pointer is NULL). Therefore, remove the empty check and only check for a null cache pointer. Signed-off-by: Bruce Richardson ---