> Use rte_mempool_virt2iova(), which uses arithmetic based on the mempool
> state, rather than rte_mem_virt2iova(), which uses syscalls to look at
> the proc filesystem. This speeds up pool create by more than 90%.
>
> Signed-off-by: Andrew Boyer
> ---
Acked-by: Akhil Goyal
Applied to dpdk-next
> From: Andrew Boyer [mailto:andrew.bo...@amd.com]
> Sent: Friday, 16 February 2024 18.04
>
> Use rte_mempool_virt2iova(), which uses arithmetic based on the mempool
> state, rather than rte_mem_virt2iova(), which uses syscalls to look at
> the proc filesystem. This speeds up pool create by more t
Use rte_mempool_virt2iova(), which uses arithmetic based on the mempool
state, rather than rte_mem_virt2iova(), which uses syscalls to look at
the proc filesystem. This speeds up pool create by more than 90%.
Signed-off-by: Andrew Boyer
---
lib/cryptodev/rte_cryptodev.c | 2 +-
1 file changed, 1
3 matches
Mail list logo