[dpdk-dev] [PATCH v2 3/3] ring: refactor ring library

Ananyev, Konstantin konstantin.ananyev at intel.com
Tue Jan 26 12:43:41 CET 2021


> For legacy modes, rename ring_generic/c11 to ring_generic/c11_pvt.
> Furthermore, add new file ring_elem_pvt.h which includes ring_do_eq/deq
> and ring element copy/delete APIs.
> 
> For other modes, rename xx_c11_mem to xx_elem_pvt. Move all private APIs
> into these new header files.
> 
> Finally, the external APIs and internal APIs will be separated from each
> other. This can remind users not to use internal APIs and make ring
> library easier to maintain.
> 
> Suggested-by: Honnappa Nagarahalli <Honnappa.Nagarahalli at arm.com>
> Signed-off-by: Feifei Wang <feifei.wang2 at arm.com>
> Reviewed-by: Honnappa Nagarahalli <Honnappa.Nagarahalli at arm.com>
> Reviewed-by: Ruifeng Wang <ruifeng.wang at arm.com>
> ---

Acked-by: Konstantin Ananyev <konstantin.ananyev at intel.com>

> --
> 2.25.1



More information about the dev mailing list