Re: [dpdk-dev] [PATCH v2 1/8] eal: use different constructor priorities for initcalls

2017-02-21 Thread Ferruh Yigit
On 2/20/2017 2:17 PM, Jan Blunck wrote: > This introduces different initcall macros to allow for late registration of > the virtual device bus. > > Signed-off-by: Jan Blunck > Tested-by: Ferruh Yigit <...> > > -#define RTE_INIT(func) \ > -static void __attribute__((constructor, used)) func(v

[dpdk-dev] [PATCH v2 1/8] eal: use different constructor priorities for initcalls

2017-02-20 Thread Jan Blunck
This introduces different initcall macros to allow for late registration of the virtual device bus. Signed-off-by: Jan Blunck Tested-by: Ferruh Yigit --- lib/librte_eal/common/include/rte_bus.h | 17 - lib/librte_eal/common/include/rte_eal.h | 12 ++-- lib/librte_eal