On 12.06.2013 16:54, Olivier MATZ wrote: >> Unless I'm missing something, testpmd still needs >> an explicit rte_pmd_foo_init() call. It's of course not difficult to >> sprinkle some __attribute__((constructor))'s into the pmd's > > Yes, you need to do it in the pmd's constructor.
Ok, I thought it had to be called after eal_init(). Still, unifying the init conventions would be nice. One other question popped to mind, not strictly related to the patch: does anyone have approximate numbers on the performance penalty of using PIC for pmd's?