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

2021-12-22 Thread zhiheng chen
Thanks for your suggestions and time, I will update the underlying functions.

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

2021-12-21 Thread Morten Brørup
> From: Zhiheng Chen [mailto:chenzhiheng0...@gmail.com] > Sent: Saturday, 18 December 2021 18.14 > > 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 ret

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

2021-12-21 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 condi