Re: [PATCH v2] mempool: fix the description of some function return values

2022-01-03 Thread zhiheng chen
Thank you for pointing out my problem, I will fix it in the next version > 2021年12月22日 下午7:45,Morten Brørup 写道: > >> From: Zhiheng Chen [mailto:chenzhiheng0...@gmail.com >> ] >> Sent: Wednesday, 22 December 2021 09.26 >> >> Compared to patch version 1, this ve

RE: [PATCH v2] mempool: fix the description of some function return values

2021-12-22 Thread Morten Brørup
> From: Zhiheng Chen [mailto:chenzhiheng0...@gmail.com] > Sent: Wednesday, 22 December 2021 09.26 > > Compared to patch version 1, this version updates the descriptions > of underlying functions. Some comments inline below, regarding the return value of success. You should also update the descri

[PATCH v2] mempool: fix the description of some function return values

2021-12-22 Thread Zhiheng Chen
Compared to patch version 1, this version updates the descriptions of underlying functions. In rte_mempool_ring.c, the committer uses the symbol ENOBUFS to describe the return value of function common_ring_sc_dequeue, but in rte_mempool.h, the symbol ENOENT is used to describe the return value of