Re: [PATCH] gpudev: fix deadlocks when registering callback

2023-01-31 Thread David Marchand
On Tue, Jan 3, 2023 at 11:49 AM David Marchand wrote: > > gpu_callback_lock was not released in some branches of the register > helper. > While at it, set rte_errno in one branch. > > Fixes: 18cb07563165 ("gpudev: add event notification") > Cc: sta...@dpdk.org > > Signed-off-by: David Marchand Ac

[PATCH] gpudev: fix deadlocks when registering callback

2023-01-29 Thread eagostini
Agree with the patch. Thanks!

[PATCH] gpudev: fix deadlocks when registering callback

2023-01-03 Thread David Marchand
gpu_callback_lock was not released in some branches of the register helper. While at it, set rte_errno in one branch. Fixes: 18cb07563165 ("gpudev: add event notification") Cc: sta...@dpdk.org Signed-off-by: David Marchand --- lib/gpudev/gpudev.c | 5 - 1 file changed, 4 insertions(+), 1 de