Re: [PATCH v8 3/9] memarea: support alloc/free/update-refcnt API

2022-10-12 Thread fengchengwen
Hi Dmitry, On 2022/10/11 23:58, Dmitry Kozlyuk wrote: > 2022-10-11 12:17 (UTC+), Chengwen Feng: >> This patch supports rte_memarea_alloc()/rte_memarea_free()/ >> rte_memarea_update_refcnt() API. >> ... >> + >> +void >> +rte_memarea_update_refcnt(struct rte_memarea *ma, void *ptr, int16_t val

Re: [PATCH v8 3/9] memarea: support alloc/free/update-refcnt API

2022-10-11 Thread Dmitry Kozlyuk
2022-10-11 12:17 (UTC+), Chengwen Feng: > This patch supports rte_memarea_alloc()/rte_memarea_free()/ > rte_memarea_update_refcnt() API. > > Signed-off-by: Chengwen Feng > --- > doc/guides/prog_guide/memarea_lib.rst | 10 ++ > lib/memarea/memarea_private.h | 3 + > lib/memarea/rte

[PATCH v8 3/9] memarea: support alloc/free/update-refcnt API

2022-10-11 Thread Chengwen Feng
This patch supports rte_memarea_alloc()/rte_memarea_free()/ rte_memarea_update_refcnt() API. Signed-off-by: Chengwen Feng --- doc/guides/prog_guide/memarea_lib.rst | 10 ++ lib/memarea/memarea_private.h | 3 + lib/memarea/rte_memarea.c | 155 ++ lib