Re: [PATCH] eal: provide rte attribute macro for GCC attribute

2024-02-20 Thread Thomas Monjalon
20/02/2024 19:06, Tyler Retzlaff: > On Sun, Feb 18, 2024 at 04:31:50PM +0100, Thomas Monjalon wrote: > > 18/02/2024 15:51, Mattias Rönnblom: > > > On 2024-02-18 13:24, Thomas Monjalon wrote: > > > > 15/02/2024 23:20, Tyler Retzlaff: > > > >> Provide a new macro __rte_attribute(a) that when directly

Re: [PATCH] eal: provide rte attribute macro for GCC attribute

2024-02-20 Thread Tyler Retzlaff
On Sun, Feb 18, 2024 at 04:31:50PM +0100, Thomas Monjalon wrote: > 18/02/2024 15:51, Mattias Rönnblom: > > On 2024-02-18 13:24, Thomas Monjalon wrote: > > > 15/02/2024 23:20, Tyler Retzlaff: > > >> Provide a new macro __rte_attribute(a) that when directly used > > >> compiles to empty for MSVC and

Re: [PATCH] eal: provide rte attribute macro for GCC attribute

2024-02-20 Thread Tyler Retzlaff
On Sun, Feb 18, 2024 at 05:44:48PM +0100, Thomas Monjalon wrote: > 18/02/2024 17:38, Morten Brørup: > > > From: Thomas Monjalon [mailto:tho...@monjalon.net] > > > Sent: Sunday, 18 February 2024 16.35 > > > > > > 18/02/2024 13:53, Morten Brørup: > > > > > From: Thomas Monjalon [mailto:tho...@monjal

Re: [PATCH] eal: provide rte attribute macro for GCC attribute

2024-02-18 Thread Thomas Monjalon
18/02/2024 17:38, Morten Brørup: > > From: Thomas Monjalon [mailto:tho...@monjalon.net] > > Sent: Sunday, 18 February 2024 16.35 > > > > 18/02/2024 13:53, Morten Brørup: > > > > From: Thomas Monjalon [mailto:tho...@monjalon.net] > > > > Sent: Sunday, 18 February 2024 13.24 > > > > > > > > 15/02/20

RE: [PATCH] eal: provide rte attribute macro for GCC attribute

2024-02-18 Thread Morten Brørup
> From: Thomas Monjalon [mailto:tho...@monjalon.net] > Sent: Sunday, 18 February 2024 16.35 > > 18/02/2024 13:53, Morten Brørup: > > > From: Thomas Monjalon [mailto:tho...@monjalon.net] > > > Sent: Sunday, 18 February 2024 13.24 > > > > > > 15/02/2024 23:20, Tyler Retzlaff: > > > > Provide a new m

Re: [PATCH] eal: provide rte attribute macro for GCC attribute

2024-02-18 Thread Thomas Monjalon
18/02/2024 13:53, Morten Brørup: > > From: Thomas Monjalon [mailto:tho...@monjalon.net] > > Sent: Sunday, 18 February 2024 13.24 > > > > 15/02/2024 23:20, Tyler Retzlaff: > > > Provide a new macro __rte_attribute(a) that when directly used > > > compiles to empty for MSVC and to __attribute__(a) w

Re: [PATCH] eal: provide rte attribute macro for GCC attribute

2024-02-18 Thread Thomas Monjalon
18/02/2024 15:51, Mattias Rönnblom: > On 2024-02-18 13:24, Thomas Monjalon wrote: > > 15/02/2024 23:20, Tyler Retzlaff: > >> Provide a new macro __rte_attribute(a) that when directly used > >> compiles to empty for MSVC and to __attribute__(a) when using GCC/LLVM. > >> > >> Replace direct use of __

Re: [PATCH] eal: provide rte attribute macro for GCC attribute

2024-02-18 Thread Mattias Rönnblom
On 2024-02-18 13:24, Thomas Monjalon wrote: 15/02/2024 23:20, Tyler Retzlaff: Provide a new macro __rte_attribute(a) that when directly used compiles to empty for MSVC and to __attribute__(a) when using GCC/LLVM. Replace direct use of __attribute__ in __rte_xxx macros where there is existing em

RE: [PATCH] eal: provide rte attribute macro for GCC attribute

2024-02-18 Thread Morten Brørup
> From: Thomas Monjalon [mailto:tho...@monjalon.net] > Sent: Sunday, 18 February 2024 13.24 > > 15/02/2024 23:20, Tyler Retzlaff: > > Provide a new macro __rte_attribute(a) that when directly used > > compiles to empty for MSVC and to __attribute__(a) when using > GCC/LLVM. > > > > Replace direct

Re: [PATCH] eal: provide rte attribute macro for GCC attribute

2024-02-18 Thread Thomas Monjalon
15/02/2024 23:20, Tyler Retzlaff: > Provide a new macro __rte_attribute(a) that when directly used > compiles to empty for MSVC and to __attribute__(a) when using GCC/LLVM. > > Replace direct use of __attribute__ in __rte_xxx macros where there is > existing empty expansion of the macro for MSVC a

[PATCH] eal: provide rte attribute macro for GCC attribute

2024-02-15 Thread Tyler Retzlaff
Provide a new macro __rte_attribute(a) that when directly used compiles to empty for MSVC and to __attribute__(a) when using GCC/LLVM. Replace direct use of __attribute__ in __rte_xxx macros where there is existing empty expansion of the macro for MSVC allowing removal of repeated #ifdef RTE_TOOLC