Re: [PATCH v2 01/10] eal: add workaround for __builtin_constant_p

2025-02-19 Thread Andre Muezerie
On Wed, Feb 19, 2025 at 09:10:11AM -0800, Stephen Hemminger wrote: > On Wed, 19 Feb 2025 08:50:02 -0800 > Andre Muezerie wrote: > > > On Tue, Feb 18, 2025 at 06:12:04PM +0100, Morten Brørup wrote: > > > > From: Andre Muezerie [mailto:andre...@linux.microsoft.com] > > > > Sent: Tuesday, 18 Februar

Re: [PATCH v2 01/10] eal: add workaround for __builtin_constant_p

2025-02-19 Thread Stephen Hemminger
On Wed, 19 Feb 2025 08:50:02 -0800 Andre Muezerie wrote: > On Tue, Feb 18, 2025 at 06:12:04PM +0100, Morten Brørup wrote: > > > From: Andre Muezerie [mailto:andre...@linux.microsoft.com] > > > Sent: Tuesday, 18 February 2025 17.32 > > > > > > There's no MSVC equivalent for compiler extension __b

Re: [PATCH v2 01/10] eal: add workaround for __builtin_constant_p

2025-02-19 Thread Andre Muezerie
On Tue, Feb 18, 2025 at 06:12:04PM +0100, Morten Brørup wrote: > > From: Andre Muezerie [mailto:andre...@linux.microsoft.com] > > Sent: Tuesday, 18 February 2025 17.32 > > > > There's no MSVC equivalent for compiler extension __builtin_constant_p. > > EAL already had __rte_constant which was used

RE: [PATCH v2 01/10] eal: add workaround for __builtin_constant_p

2025-02-18 Thread Morten Brørup
> From: Andre Muezerie [mailto:andre...@linux.microsoft.com] > Sent: Tuesday, 18 February 2025 17.32 > > There's no MSVC equivalent for compiler extension __builtin_constant_p. > EAL already had __rte_constant which was used as a first attempt to > workaround __builtin_constant_p when using MSVC.