Re: [PATCH v3 1/7] eal: generic 64 bit counter

2024-05-26 Thread Mattias Rönnblom
On 2024-05-15 11:30, Morten Brørup wrote: +To: @Mattias, @Ferruh, @Bruce, participants in a related discussion From: Stephen Hemminger [mailto:step...@networkplumber.org] Sent: Tuesday, 14 May 2024 17.35 This header implements 64 bit counters that are NOT atomic but are safe against load/store

Re: [PATCH v3 1/7] eal: generic 64 bit counter

2024-05-25 Thread Mattias Rönnblom
On 2024-05-14 17:35, Stephen Hemminger wrote: This header implements 64 bit counters that are NOT atomic but are safe against load/store splits on 32 bit platforms. Signed-off-by: Stephen Hemminger Acked-by: Morten Brørup --- lib/eal/include/meson.build | 1 + lib/eal/include/rte_counter

RE: [PATCH v3 1/7] eal: generic 64 bit counter

2024-05-15 Thread Morten Brørup
> From: Stephen Hemminger [mailto:step...@networkplumber.org] > Sent: Wednesday, 15 May 2024 17.03 > > On Wed, 15 May 2024 11:30:45 +0200 > Morten Brørup wrote: > > > With a long term perspective, I consider this patch very useful. > > And its 32 bit implementation can be optimized for various >

Re: [PATCH v3 1/7] eal: generic 64 bit counter

2024-05-15 Thread Stephen Hemminger
On Wed, 15 May 2024 11:30:45 +0200 Morten Brørup wrote: > With a long term perspective, I consider this patch very useful. > And its 32 bit implementation can be optimized for various > architectures/compilers later. > > > In addition, it would be "nice to have" if reset() and fetch() could be

RE: [PATCH v3 1/7] eal: generic 64 bit counter

2024-05-15 Thread Morten Brørup
+To: @Mattias, @Ferruh, @Bruce, participants in a related discussion > From: Stephen Hemminger [mailto:step...@networkplumber.org] > Sent: Tuesday, 14 May 2024 17.35 > > This header implements 64 bit counters that are NOT atomic > but are safe against load/store splits on 32 bit platforms. > > S