[dpdk-dev] [PATCH] eal: add support for shared object drivers

Antti Kantee pooka at iki.fi
Wed Jun 12 14:58:13 CEST 2013


On 12.06.2013 09:51, Thomas Monjalon wrote:
 > From: Damien Millescamps <damien.millescamps at 6wind.com>
 >
 > Add an option to specify libraries to be loaded before probing the PCI.
 >
 > For instance, testpmd -d librte_pmd_xxx.so can be used to enable xxx 
driver
 > support on testpmd without any recompilation of testpmd.

What's the use case?  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, but without 
doing that (or something equivalent), what's the purpose of the change?


More information about the dev mailing list