[PATCH v2] mbuf: optimize segment prefree
fengchengwen
fengchengwen at huawei.com
Tue Oct 21 10:38:51 CEST 2025
Acked-by: Chengwen Feng <fengchengwen at huawei.com>
On 10/20/2025 8:02 PM, Morten Brørup wrote:
> Refactored rte_pktmbuf_prefree_seg() for both performance and readability.
>
> With the optimized RTE_MBUF_DIRECT() macro, the common likely code path
> now fits within one instruction cache line on x86-64 when built with GCC.
Learned a lot, thanks
>
> Signed-off-by: Morten Brørup <mb at smartsharesystems.com>
More information about the dev
mailing list