Re: [dpdk-dev] [RFC] toolchain specific macro expansion

2021-07-07 Thread Tyler Retzlaff
On Wed, Jul 07, 2021 at 10:35:56PM +0200, Thomas Monjalon wrote: > 07/07/2021 22:23, Tyler Retzlaff: > > On Thu, Jun 24, 2021 at 06:29:20PM +0200, Thomas Monjalon wrote: > > > 24/06/2021 18:02, Tyler Retzlaff: > > > > On Thu, Jun 24, 2021 at 08:54:49AM +0200, Thomas Monjalon wrote: > > > > > 23/06/

Re: [dpdk-dev] [RFC] toolchain specific macro expansion

2021-07-07 Thread Thomas Monjalon
07/07/2021 22:23, Tyler Retzlaff: > On Thu, Jun 24, 2021 at 06:29:20PM +0200, Thomas Monjalon wrote: > > 24/06/2021 18:02, Tyler Retzlaff: > > > On Thu, Jun 24, 2021 at 08:54:49AM +0200, Thomas Monjalon wrote: > > > > 23/06/2021 20:26, Tyler Retzlaff: > > > > > // lib/eal/gcc/rte_toolchain_common.h

Re: [dpdk-dev] [RFC] toolchain specific macro expansion

2021-07-07 Thread Tyler Retzlaff
On Thu, Jun 24, 2021 at 06:29:20PM +0200, Thomas Monjalon wrote: > 24/06/2021 18:02, Tyler Retzlaff: > > On Thu, Jun 24, 2021 at 08:54:49AM +0200, Thomas Monjalon wrote: > > > 23/06/2021 20:26, Tyler Retzlaff: > > > > // lib/eal/gcc/rte_toolchain_common.h > > > > #define __rte_noreturn __attribute_

Re: [dpdk-dev] [RFC] toolchain specific macro expansion

2021-06-28 Thread Tyler Retzlaff
On Thu, Jun 24, 2021 at 06:29:20PM +0200, Thomas Monjalon wrote: > 24/06/2021 18:02, Tyler Retzlaff: > > On Thu, Jun 24, 2021 at 08:54:49AM +0200, Thomas Monjalon wrote: > > > 23/06/2021 20:26, Tyler Retzlaff: > > > > // lib/eal/gcc/rte_toolchain_common.h > > > > #define __rte_noreturn __attribute_

Re: [dpdk-dev] [RFC] toolchain specific macro expansion

2021-06-24 Thread Thomas Monjalon
24/06/2021 18:02, Tyler Retzlaff: > On Thu, Jun 24, 2021 at 08:54:49AM +0200, Thomas Monjalon wrote: > > 23/06/2021 20:26, Tyler Retzlaff: > > > // lib/eal/gcc/rte_toolchain_common.h > > > #define __rte_noreturn __attribute__((noreturn)) > > > > We should keep a macro in rte_common.h which trigger

Re: [dpdk-dev] [RFC] toolchain specific macro expansion

2021-06-24 Thread Tyler Retzlaff
On Thu, Jun 24, 2021 at 08:54:49AM +0200, Thomas Monjalon wrote: > 23/06/2021 20:26, Tyler Retzlaff: > > today rte_common.h defines common macros for use by dpdk and consuming > > applications. most expansions are specific to the gcc toolchain. > > > > example > > // lib/eal/include/rte_common.h >

Re: [dpdk-dev] [RFC] toolchain specific macro expansion

2021-06-23 Thread Thomas Monjalon
23/06/2021 20:26, Tyler Retzlaff: > today rte_common.h defines common macros for use by dpdk and consuming > applications. most expansions are specific to the gcc toolchain. > > example > // lib/eal/include/rte_common.h > > /** > * Hint never returning function > */ > #define __rte_noreturn __a