Re: [dpdk-dev] [PATCH] use macro to declare constructor functions

2017-11-06 Thread Thomas Monjalon
02/11/2017 23:10, Thomas Monjalon: > It is easier to find all constructor functions when they use > the same macros RTE_INIT or RTE_INIT_PRIO. > > The macro definitions are moved from rte_eal.h to rte_common.h. > > Signed-off-by: Thomas Monjalon Applied

[dpdk-dev] [PATCH] use macro to declare constructor functions

2017-11-02 Thread Thomas Monjalon
It is easier to find all constructor functions when they use the same macros RTE_INIT or RTE_INIT_PRIO. The macro definitions are moved from rte_eal.h to rte_common.h. Signed-off-by: Thomas Monjalon --- examples/performance-thread/common/lthread_diag.c | 3 +-- examples/performance-thread/com