RE: [EXT] [PATCH v2] cryptodev: speed up ops pool create

2024-02-21 Thread Akhil Goyal
> 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

RE: [PATCH v2] cryptodev: speed up ops pool create

2024-02-16 Thread Morten Brørup
> 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

[PATCH v2] cryptodev: speed up ops pool create

2024-02-16 Thread Andrew Boyer
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