Re: [PATCH] eal: introduce atomics abstraction

2023-02-13 Thread Tyler Retzlaff
...@amd.com; nd ; techbo...@dpdk.org > > Subject: Re: [PATCH] eal: introduce atomics abstraction > > > > On Fri, Feb 10, 2023 at 05:30:00AM +, Honnappa Nagarahalli wrote: > > > > > > > > > > On Thu, Feb 09, 2023 at 12:16:38AM +, Honnappa

RE: [PATCH] eal: introduce atomics abstraction

2023-02-13 Thread Morten Brørup
Hi Ben, Only bug fixes are backported to LTS. Not even new NIC drivers are backported. Reference: https://doc.dpdk.org/guides/contributing/stable.html#what-changes-should-be-backported -Morten

Re: [PATCH] eal: introduce atomics abstraction

2023-02-13 Thread Ben Magistro
On Mon, Feb 13, 2023 at 10:55 AM Bruce Richardson < bruce.richard...@intel.com> wrote: > On Mon, Feb 13, 2023 at 10:28:40AM -0500, Ben Magistro wrote: > >There is a thread discussing a change to the standard [1] but I have > >not seen anything explicit yet about moving to C11. I am person

Re: [PATCH] eal: introduce atomics abstraction

2023-02-13 Thread Bruce Richardson
On Mon, Feb 13, 2023 at 10:28:40AM -0500, Ben Magistro wrote: >There is a thread discussing a change to the standard [1] but I have >not seen anything explicit yet about moving to C11. I am personally in >favor of making the jump to C11 now as part of the 23.x branch and >provided

Re: [PATCH] eal: introduce atomics abstraction

2023-02-13 Thread Ben Magistro
com; david.march...@redhat.com; > > jer...@marvell.com; konstantin.anan...@huawei.com; > > ferruh.yi...@amd.com; nd ; techbo...@dpdk.org > > Subject: Re: [PATCH] eal: introduce atomics abstraction > > > > On Fri, Feb 10, 2023 at 05:30:00AM +, Honnappa Nagarahalli wrote: >

RE: [PATCH] eal: introduce atomics abstraction

2023-02-12 Thread Honnappa Nagarahalli
en Brørup ; tho...@monjalon.net; > dev@dpdk.org; bruce.richard...@intel.com; david.march...@redhat.com; > jer...@marvell.com; konstantin.anan...@huawei.com; > ferruh.yi...@amd.com; nd ; techbo...@dpdk.org > Subject: Re: [PATCH] eal: introduce atomics abstraction > > On Fri, Feb 10, 2

Re: [PATCH] eal: introduce atomics abstraction

2023-02-10 Thread Tyler Retzlaff
On Fri, Feb 10, 2023 at 05:30:00AM +, Honnappa Nagarahalli wrote: > > > > On Thu, Feb 09, 2023 at 12:16:38AM +, Honnappa Nagarahalli wrote: > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > For environments where stdatomics are not supported, we > > > > > > > > > could > >

RE: [PATCH] eal: introduce atomics abstraction

2023-02-09 Thread Honnappa Nagarahalli
> On Thu, Feb 09, 2023 at 12:16:38AM +, Honnappa Nagarahalli wrote: > > > > > > > > > > > > > > > > > > > > > > > > > > > For environments where stdatomics are not supported, we > > > > > > > > could > > > > > have a > > > > > > > stdatomic.h in DPDK implementing the same APIs (we have to >

Re: [PATCH] eal: introduce atomics abstraction

2023-02-09 Thread Tyler Retzlaff
On Thu, Feb 09, 2023 at 12:16:38AM +, Honnappa Nagarahalli wrote: > > > > > > > > > > > > > > > > > > > > > > For environments where stdatomics are not supported, we could > > > > have a > > > > > > stdatomic.h in DPDK implementing the same APIs (we have to > > > > > > support > > > > only >

RE: [PATCH] eal: introduce atomics abstraction

2023-02-09 Thread Morten Brørup
> From: Honnappa Nagarahalli [mailto:honnappa.nagaraha...@arm.com] > Sent: Thursday, 9 February 2023 01.17 > > > > > > > > > > > > > > > > > > > > > > > For environments where stdatomics are not supported, we > could > > > > have a > > > > > > stdatomic.h in DPDK implementing the same APIs (we h

RE: [PATCH] eal: introduce atomics abstraction

2023-02-08 Thread Honnappa Nagarahalli
> > > > > > > > > > > > > > > > > For environments where stdatomics are not supported, we could > > > have a > > > > > stdatomic.h in DPDK implementing the same APIs (we have to > > > > > support > > > only > > > > > _explicit APIs). This allows the code to use stdatomics APIs and > > > when we m

Re: [PATCH] eal: introduce atomics abstraction

2023-02-08 Thread Tyler Retzlaff
On Wed, Feb 08, 2023 at 09:31:32AM +0100, Morten Brørup wrote: > > From: Tyler Retzlaff [mailto:roret...@linux.microsoft.com] > > Sent: Wednesday, 8 February 2023 02.21 > > > > On Tue, Feb 07, 2023 at 11:34:14PM +, Honnappa Nagarahalli wrote: > > > > > > > > > > > > > > > > > > Honnappa, plea

RE: [PATCH] eal: introduce atomics abstraction

2023-02-08 Thread Morten Brørup
> From: Tyler Retzlaff [mailto:roret...@linux.microsoft.com] > Sent: Wednesday, 8 February 2023 02.21 > > On Tue, Feb 07, 2023 at 11:34:14PM +, Honnappa Nagarahalli wrote: > > > > > > > > > > > > > > Honnappa, please could you give your view on the future of > atomics in > > > DPDK? > > > > T

Re: [PATCH] eal: introduce atomics abstraction

2023-02-07 Thread Tyler Retzlaff
On Tue, Feb 07, 2023 at 11:34:14PM +, Honnappa Nagarahalli wrote: > > > > > > > > > > Honnappa, please could you give your view on the future of atomics in > > DPDK? > > > Thanks Thomas, apologies it has taken me a while to get to this > > > discussion. > > > > > > IMO, we do not need DPDK's

RE: [PATCH] eal: introduce atomics abstraction

2023-02-07 Thread Honnappa Nagarahalli
> > > > > > Honnappa, please could you give your view on the future of atomics in > DPDK? > > Thanks Thomas, apologies it has taken me a while to get to this discussion. > > > > IMO, we do not need DPDK's own abstractions. APIs from stdatomic.h > (stdatomics as is called here) already serve the p

Re: [PATCH] eal: introduce atomics abstraction

2023-02-07 Thread Tyler Retzlaff
On Tue, Feb 07, 2023 at 04:16:58PM +0100, Morten Brørup wrote: > > From: Tyler Retzlaff [mailto:roret...@linux.microsoft.com] > > Sent: Friday, 3 February 2023 21.49 > > > > On Fri, Feb 03, 2023 at 12:19:13PM +, Bruce Richardson wrote: > > > On Thu, Feb 02, 2023 at 11:00:23AM -0800, Tyler Retz

RE: [PATCH] eal: introduce atomics abstraction

2023-02-07 Thread Morten Brørup
> From: Tyler Retzlaff [mailto:roret...@linux.microsoft.com] > Sent: Friday, 3 February 2023 21.49 > > On Fri, Feb 03, 2023 at 12:19:13PM +, Bruce Richardson wrote: > > On Thu, Feb 02, 2023 at 11:00:23AM -0800, Tyler Retzlaff wrote: > > > On Thu, Feb 02, 2023 at 09:43:58AM +0100, Morten Brørup

Re: [PATCH] eal: introduce atomics abstraction

2023-02-03 Thread Tyler Retzlaff
On Fri, Feb 03, 2023 at 12:19:13PM +, Bruce Richardson wrote: > On Thu, Feb 02, 2023 at 11:00:23AM -0800, Tyler Retzlaff wrote: > > On Thu, Feb 02, 2023 at 09:43:58AM +0100, Morten Brørup wrote: > > > > From: Tyler Retzlaff [mailto:roret...@linux.microsoft.com] > > > > Sent: Wednesday, 1 Februa

RE: [PATCH] eal: introduce atomics abstraction

2023-02-03 Thread Morten Brørup
> From: Bruce Richardson [mailto:bruce.richard...@intel.com] > Sent: Friday, 3 February 2023 14.57 > > Having read through the whole thread a second time, I am starting to > realise how complex a problem this could be. From what I read, I would > tend > towards the opinion that we shouldn't provid

Re: [PATCH] eal: introduce atomics abstraction

2023-02-03 Thread Bruce Richardson
On Thu, Feb 02, 2023 at 09:44:52PM +0100, Morten Brørup wrote: > > From: Tyler Retzlaff [mailto:roret...@linux.microsoft.com] > > Sent: Thursday, 2 February 2023 20.00 > > > > On Thu, Feb 02, 2023 at 09:43:58AM +0100, Morten Brørup wrote: > > > > From: Tyler Retzlaff [mailto:roret...@linux.microso

Re: [PATCH] eal: introduce atomics abstraction

2023-02-03 Thread Bruce Richardson
On Thu, Feb 02, 2023 at 11:00:23AM -0800, Tyler Retzlaff wrote: > On Thu, Feb 02, 2023 at 09:43:58AM +0100, Morten Brørup wrote: > > > From: Tyler Retzlaff [mailto:roret...@linux.microsoft.com] > > > Sent: Wednesday, 1 February 2023 22.41 > > > > > > On Wed, Feb 01, 2023 at 01:07:59AM +, Honna

RE: [PATCH] eal: introduce atomics abstraction

2023-02-02 Thread Morten Brørup
> From: Tyler Retzlaff [mailto:roret...@linux.microsoft.com] > Sent: Thursday, 2 February 2023 20.00 > > On Thu, Feb 02, 2023 at 09:43:58AM +0100, Morten Brørup wrote: > > > From: Tyler Retzlaff [mailto:roret...@linux.microsoft.com] > > > Sent: Wednesday, 1 February 2023 22.41 > > > > > > On Wed,

Re: [PATCH] eal: introduce atomics abstraction

2023-02-02 Thread Tyler Retzlaff
On Thu, Feb 02, 2023 at 09:43:58AM +0100, Morten Brørup wrote: > > From: Tyler Retzlaff [mailto:roret...@linux.microsoft.com] > > Sent: Wednesday, 1 February 2023 22.41 > > > > On Wed, Feb 01, 2023 at 01:07:59AM +, Honnappa Nagarahalli wrote: > > > > > > > From: Thomas Monjalon > > > > Sent:

RE: [PATCH] eal: introduce atomics abstraction

2023-02-02 Thread Morten Brørup
> From: Tyler Retzlaff [mailto:roret...@linux.microsoft.com] > Sent: Wednesday, 1 February 2023 22.41 > > On Wed, Feb 01, 2023 at 01:07:59AM +, Honnappa Nagarahalli wrote: > > > > > From: Thomas Monjalon > > > Sent: Tuesday, January 31, 2023 4:42 PM > > > > > > Honnappa, please could you give

Re: [PATCH] eal: introduce atomics abstraction

2023-02-01 Thread Tyler Retzlaff
@smartsharesystems.com; > > Tyler Retzlaff ; david.march...@redhat.com; > > jer...@marvell.com; konstantin.anan...@huawei.com; ferruh.yi...@amd.com > > Subject: Re: [PATCH] eal: introduce atomics abstraction > > > > Honnappa, please could you give your view on the future o

RE: [PATCH] eal: introduce atomics abstraction

2023-02-01 Thread Morten Brørup
> From: Honnappa Nagarahalli [mailto:honnappa.nagaraha...@arm.com] > Sent: Wednesday, 1 February 2023 02.08 > > > From: Thomas Monjalon > > Sent: Tuesday, January 31, 2023 4:42 PM > > > > Honnappa, please could you give your view on the future of atomics in > DPDK? > Thanks Thomas, apologies it h

RE: [PATCH] eal: introduce atomics abstraction

2023-01-31 Thread Honnappa Nagarahalli
.com; konstantin.anan...@huawei.com; ferruh.yi...@amd.com > Subject: Re: [PATCH] eal: introduce atomics abstraction > > Honnappa, please could you give your view on the future of atomics in DPDK? Thanks Thomas, apologies it has taken me a while to get to this discussion. IMO, we do not need DPDK

Re: [PATCH] eal: introduce atomics abstraction

2023-01-31 Thread Thomas Monjalon
Honnappa, please could you give your view on the future of atomics in DPDK? 12/01/2023 22:26, Tyler Retzlaff: > Introduce atomics abstraction that permits optional use of standard C11 > atomics when meson is provided the new enable_stdatomics=true option. > > Signed-off-by: Tyler Retzlaff > ---