eal: add support for shared object drivers
authorDamien Millescamps <damien.millescamps@6wind.com>
Wed, 12 Jun 2013 05:51:27 +0000 (07:51 +0200)
committerDavid Marchand <david.marchand@6wind.com>
Wed, 26 Feb 2014 10:01:13 +0000 (11:01 +0100)
commitf9a08f650211977b48d8e982697a4c789e5b2ab3
tree39bc8db77188aa5fc9680580211ec7c962f42acf
parent527f2cb8a36b6166bad396d8eeaa6e676cd5df93
eal: add support for shared object drivers

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.

Plugins are loaded before creating threads because we want the threads to
inherit any property that could be set while loading a plugin, such as iopl().

Signed-off-by: Damien Millescamps <damien.millescamps@6wind.com>
Signed-off-by: Jean-Mickael Guerin <jean-mickael.guerin@6wind.com>
Signed-off-by: Thomas Monjalon <thomas.monjalon@6wind.com>
lib/librte_eal/linuxapp/eal/eal.c
mk/exec-env/linuxapp/rte.vars.mk