Re: [PATCH v5 1/1] examples/l2fwd-jobstats: fix lock availability

2025-05-24 Thread Stephen Hemminger
On Sun, 11 Aug 2024 21:29:57 +0530 Rakesh Kudurumalla wrote: > Race condition between jobstats and time metrics > for forwarding and flushing is maintained using spinlock. > Timer metrics are not displayed properly due to the > frequent unavailability of the lock.This patch fixes > the issue by i

RE: [EXTERNAL] Re: [PATCH v5 1/1] examples/l2fwd-jobstats: fix lock availability

2025-05-24 Thread Rakesh Kudurumalla
2024 12:43 PM > To: Stephen Hemminger > Cc: ferruh.yi...@amd.com; andrew.rybche...@oktetlabs.ru; > or...@nvidia.com; tho...@monjalon.net; dev@dpdk.org; Jerin Jacob > ; Nithin Kumar Dabilpuram > ; sta...@dpdk.org > Subject: RE: [EXTERNAL] Re: [PATCH v5 1/1] examples/l2fw

Re: [EXTERNAL] Re: [PATCH v5 1/1] examples/l2fwd-jobstats: fix lock availability

2024-11-04 Thread Nithin Dabilpuram
; andrew.rybche...@oktetlabs.ru; > > or...@nvidia.com; tho...@monjalon.net; dev@dpdk.org; Jerin Jacob > > ; Nithin Kumar Dabilpuram > > ; sta...@dpdk.org > > Subject: RE: [EXTERNAL] Re: [PATCH v5 1/1] examples/l2fwd-jobstats: fix lock > > availability > > > &g

RE: [EXTERNAL] Re: [PATCH v5 1/1] examples/l2fwd-jobstats: fix lock availability

2024-10-21 Thread Rakesh Kudurumalla
ar Dabilpuram > ; sta...@dpdk.org > Subject: RE: [EXTERNAL] Re: [PATCH v5 1/1] examples/l2fwd-jobstats: fix lock > availability > > > > > -Original Message- > > From: Stephen Hemminger > > Sent: Sunday, August 11, 2024 9:47 PM > > To: Rakesh Kudurumal

RE: [EXTERNAL] Re: [PATCH v5 1/1] examples/l2fwd-jobstats: fix lock availability

2024-08-15 Thread Rakesh Kudurumalla
m > ; sta...@dpdk.org > Subject: [EXTERNAL] Re: [PATCH v5 1/1] examples/l2fwd-jobstats: fix lock > availability > > On Sun, 11 Aug 2024 21: 29: 57 +0530 Rakesh Kudurumalla > wrote: > Race condition between jobstats > and time metrics > for forwarding and flushing is main

[PATCH v5 1/1] examples/l2fwd-jobstats: fix lock availability

2024-08-11 Thread Rakesh Kudurumalla
Race condition between jobstats and time metrics for forwarding and flushing is maintained using spinlock. Timer metrics are not displayed properly due to the frequent unavailability of the lock.This patch fixes the issue by introducing a delay before acquiring the lock in the loop. This delay allo