[PATCH] doc: update Mellanox drivers download link in mlx5 guide

2022-02-25 Thread Zhiheng Chen
The original download link is invalid. Signed-off-by: Zhiheng Chen --- doc/guides/nics/mlx5.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/guides/nics/mlx5.rst b/doc/guides/nics/mlx5.rst index c3cc0c0f41..625d8a2382 100644 --- a/doc/guides/nics/mlx5.rst +++ b

[PATCH] examples/l3fwd-acl:memset the acl matching result array

2022-01-24 Thread Zhiheng Chen
If we don't memset acl result array before matching, we can get arbitrary dirty data from memory. Signed-off-by: Zhiheng Chen --- examples/l3fwd-acl/main.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/examples/l3fwd-acl/main.c b/examples/l3fwd-acl/main.c index 1fb1807235..7b953

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 >> <mailto:chenzhiheng0...@gmail.com>] >> Sent: Wednesday, 22 December 2021 09.26 >>

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

2022-01-03 Thread Zhiheng Chen
dequeue function prototype Signed-off-by: Zhiheng Chen --- lib/mempool/rte_mempool.h | 34 ++ 1 file changed, 22 insertions(+), 12 deletions(-) diff --git a/lib/mempool/rte_mempool.h b/lib/mempool/rte_mempool.h index 1e7a3c1527..cae81d8a32 100644 --- a/lib/mempool

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

2021-12-22 Thread Zhiheng Chen
function rte_mempool_get. If the user of dpdk uses the symbol ENOENT as the judgment condition of the return value, it may cause some abnormal phenomena in their own programs, such as when the mempool space is exhausted. Fixes: ea5dd2744b90 ("mempool: cache optimisations") Signed-off-b

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.

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

2021-12-21 Thread Zhiheng Chen
condition of the return value, it may cause some abnormal phenomena in their own programs, such as when the mempool space is exhausted. Fixes: ea5dd2744b90 ("mempool: cache optimisations") Signed-off-by: Zhiheng Chen --- lib/mempool/rte_mempool.h | 14 +++--- 1 file changed, 7