Re: [RFC 1/7] eal: extend bit manipulation functions

2024-03-05 Thread Tyler Retzlaff
On Tue, Mar 05, 2024 at 07:01:50PM +0100, Mattias Rönnblom wrote: > On 2024-03-04 17:34, Tyler Retzlaff wrote: > >On Sun, Mar 03, 2024 at 07:26:36AM +0100, Mattias Rönnblom wrote: > >>On 2024-03-02 18:05, Stephen Hemminger wrote: > >>>On Sat, 2 Mar 2024 14:53:22 +0100 > >>>Mattias Rönnblom wrote:

Re: [RFC 1/7] eal: extend bit manipulation functions

2024-03-05 Thread Mattias Rönnblom
On 2024-03-04 17:34, Tyler Retzlaff wrote: On Sun, Mar 03, 2024 at 07:26:36AM +0100, Mattias Rönnblom wrote: On 2024-03-02 18:05, Stephen Hemminger wrote: On Sat, 2 Mar 2024 14:53:22 +0100 Mattias Rönnblom wrote: diff --git a/lib/eal/include/rte_bitops.h b/lib/eal/include/rte_bitops.h index

Re: [RFC 1/7] eal: extend bit manipulation functions

2024-03-04 Thread Tyler Retzlaff
On Sun, Mar 03, 2024 at 07:26:36AM +0100, Mattias Rönnblom wrote: > On 2024-03-02 18:05, Stephen Hemminger wrote: > >On Sat, 2 Mar 2024 14:53:22 +0100 > >Mattias Rönnblom wrote: > > > >>diff --git a/lib/eal/include/rte_bitops.h b/lib/eal/include/rte_bitops.h > >>index 449565eeae..9a368724d5 100644

Re: [RFC 1/7] eal: extend bit manipulation functions

2024-03-02 Thread Mattias Rönnblom
On 2024-03-02 18:05, Stephen Hemminger wrote: On Sat, 2 Mar 2024 14:53:22 +0100 Mattias Rönnblom wrote: diff --git a/lib/eal/include/rte_bitops.h b/lib/eal/include/rte_bitops.h index 449565eeae..9a368724d5 100644 --- a/lib/eal/include/rte_bitops.h +++ b/lib/eal/include/rte_bitops.h @@ -2,6 +2,

Re: [RFC 1/7] eal: extend bit manipulation functions

2024-03-02 Thread Stephen Hemminger
On Sat, 2 Mar 2024 14:53:22 +0100 Mattias Rönnblom wrote: > diff --git a/lib/eal/include/rte_bitops.h b/lib/eal/include/rte_bitops.h > index 449565eeae..9a368724d5 100644 > --- a/lib/eal/include/rte_bitops.h > +++ b/lib/eal/include/rte_bitops.h > @@ -2,6 +2,7 @@ > * Copyright(c) 2020 Arm Limite

[RFC 1/7] eal: extend bit manipulation functions

2024-03-02 Thread Mattias Rönnblom
Add functionality to test, set, clear, and assign the value to individual bits in 32-bit or 64-bit words. These functions have no implications on memory ordering, atomicity and does not use volatile and thus does not prevent any compiler optimizations. Signed-off-by: Mattias Rönnblom --- lib/ea