[Patch v5] net/mana: use rte_pktmbuf_alloc_bulk for allocating RX WQEs
Ferruh Yigit
ferruh.yigit at amd.com
Fri Feb 9 18:46:05 CET 2024
On 2/9/2024 12:02 AM, longli at linuxonhyperv.com wrote:
> From: Long Li <longli at microsoft.com>
>
> Instead of allocating mbufs one by one during RX, use
> rte_pktmbuf_alloc_bulk() to allocate them in a batch.
>
> With this patch, there are no measurable performance improvements in
> benchmarks. However, this patch should improve CPU cycles and reduce
> potential locking conflicts in real-world applications.
>
> Signed-off-by: Long Li <longli at microsoft.com>
>
Applied to dpdk-next-net/main, thanks.
More information about the dev
mailing list