Re: [PATCH v14 2/6] mempool: add functions to get extra mempool info

2024-06-11 Thread Paul Szczepanek
On 10/06/2024 15:24, Konstantin Ananyev wrote: [snip] > > With that changes in place: > Acked-by: Konstantin Ananyev > I have applied your comments in v15. [snip] >> + >> +size_t rte_mempool_get_obj_alignment(const struct rte_mempool *mp) >> +{ >> +if (mp == NULL) >> +retur

RE: [PATCH v14 2/6] mempool: add functions to get extra mempool info

2024-06-10 Thread Konstantin Ananyev
> Add two functions: > - rte_mempool_get_mem_range - get virtual memory range > of the objects in the mempool, > - rte_mempool_get_obj_alignment - get alignment of > objects in the mempool. > > Add two tests that test these new functions. > > Signed-off-by: Paul Szczepanek > Reviewed-by: Jack

[PATCH v14 2/6] mempool: add functions to get extra mempool info

2024-06-07 Thread Paul Szczepanek
Add two functions: - rte_mempool_get_mem_range - get virtual memory range of the objects in the mempool, - rte_mempool_get_obj_alignment - get alignment of objects in the mempool. Add two tests that test these new functions. Signed-off-by: Paul Szczepanek Reviewed-by: Jack Bond-Preston Reviewed