[dpdk-dev] [PATCH v2 05/17] eal: introduce init macros

2016-04-20 Thread Jan Viktorin
Hello, just an idea... On Wed, 20 Apr 2016 13:44:05 +0200 David Marchand wrote: > Introduce a RTE_INIT macro used to mark an init function as a constructor. > Current eal macros have been converted to use this (no functional impact). > RTE_EAL_PCI_REGISTER is added as a helper for pci drivers.

[dpdk-dev] [PATCH v2 05/17] eal: introduce init macros

2016-04-20 Thread David Marchand
Introduce a RTE_INIT macro used to mark an init function as a constructor. Current eal macros have been converted to use this (no functional impact). RTE_EAL_PCI_REGISTER is added as a helper for pci drivers. Suggested-by: Jan Viktorin Signed-off-by: David Marchand ---