RE: [PATCH 3/4] timer: fix rte_timer_stop_all

2022-08-10 Thread Naga Harish K, S V
Hi, V2 of the patch is submitted with suggested changes in __rte_timer_stop() function. -Harish > -Original Message- > From: Stephen Hemminger > Sent: Wednesday, August 3, 2022 11:19 PM > To: Naga Harish K, S V > Cc: Carrillo, Erik G ; dev@dpdk.org > Subject: Re:

Re: [PATCH 3/4] timer: fix rte_timer_stop_all

2022-08-03 Thread Stephen Hemminger
On Wed, 3 Aug 2022 11:26:51 -0500 Naga Harish K S V wrote: > there is a possibility of deadlock in this api, > as same spinlock is tried to be acquired in nested manner. > > This patch removes the acquisition of nested locking. > > Signed-off-by: Naga Harish K S V The wording in this commit

[PATCH 3/4] timer: fix rte_timer_stop_all

2022-08-03 Thread Naga Harish K S V
there is a possibility of deadlock in this api, as same spinlock is tried to be acquired in nested manner. This patch removes the acquisition of nested locking. Signed-off-by: Naga Harish K S V --- lib/timer/rte_timer.c | 7 +-- 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/l