[PATCH] reorder: introduce API to obtain memory footprint

Thomas Monjalon thomas at monjalon.net
Thu Jun 1 17:07:18 CEST 2023


Hello,

2 comments below

14/04/2023 10:52, Volodymyr Fialko:
> At present, it is not easy to determine the memory requirement for the
> reorder buffer without delving into its implementation details.
> To facilitate the use of reorder buffer with user allocation, a new API
> `rte_reorder_memory_footprint_get()` is introduced.
> This API will provide the amount of required memory for reorder buffer.
> 
> Signed-off-by: Volodymyr Fialko <vfialko at marvell.com>
[...]
> +__rte_experimental
> +unsigned int
> +rte_reorder_memory_footprint_get(unsigned int size);

It should be of type size_t.
But I see other functions in this lib use the wrong type (unsigned int).

Like previous patches for the reorder library from Volodymyr,
the official maintainer (Reshma) is not reviewing.
Does it mean Reshma is not interested anymore in this maintenance?

Applied, thanks.




More information about the dev mailing list