Intel FAST_FREE offload question
Bruce Richardson
bruce.richardson at intel.com
Fri Feb 21 18:09:47 CET 2025
On Fri, Feb 21, 2025 at 05:58:21PM +0100, Morten Brørup wrote:
> Intel NIC folks,
>
> Why do the Intel network drivers, when using
> RTE_ETH_TX_OFFLOAD_MBUF_FAST_FREE, fall back to normal freeing when the
> mempool cache is empty (cache->len == 0)? It doesn't make sense to me.
>
> Example:
> https://git.dpdk.org/dpdk/tree/drivers/net/intel/common/tx.h#n146
>
Good question. I suspect that it may be a bug and that we meant to check
for size == 0 rather than len == 0.
More information about the dev
mailing list