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

2022-01-24 Thread Olivier Matz
Hi Zhiheng, Thank you for your patch proposal. On Thu, Dec 23, 2021 at 10:07:41AM +, Zhiheng Chen wrote: > 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 descr

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

2022-01-03 Thread Zhiheng Chen
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 function rte_mempool_get. If the user of dpdk uses the symbol ENOENT as the judgment conditio