eal: move plugin loading from linuxapp to common
authorPanu Matilainen <pmatilai@redhat.com>
Tue, 10 Nov 2015 14:28:14 +0000 (16:28 +0200)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Thu, 12 Nov 2015 15:53:22 +0000 (16:53 +0100)
commitfa9cdc6f84104152698ccc8a183272503300e204
treee0eca7a7d8384a438609b9ab36e8eb28229f469b
parent3ca33255786a5257065cac8365f5ba74ed03653c
eal: move plugin loading from linuxapp to common

There's no good reason to limit plugins to Linux, make it available
on FreeBSD too. Refactor the plugin code from Linux EAL to common
helper functions, also check for and fail on errors during initialization.

Signed-off-by: Panu Matilainen <pmatilai@redhat.com>
Acked-by: David Marchand <david.marchand@6wind.com>
lib/librte_eal/bsdapp/eal/eal.c
lib/librte_eal/common/eal_common_options.c
lib/librte_eal/common/eal_options.h
lib/librte_eal/linuxapp/eal/eal.c