summaryrefslogtreecommitdiff
path: root/config/common_bsdapp
diff options
context:
space:
mode:
authorPanu Matilainen <pmatilai@redhat.com>2015-11-10 16:28:15 +0200
committerThomas Monjalon <thomas.monjalon@6wind.com>2015-11-12 16:56:45 +0100
commit9f8eb1d9ca0f56d6292db5858c52e6873d0abe51 (patch)
tree284b4b2509fc6cf8198a7e04631699b7b3ea806a /config/common_bsdapp
parentfa9cdc6f84104152698ccc8a183272503300e204 (diff)
downloaddpdk-9f8eb1d9ca0f56d6292db5858c52e6873d0abe51.zip
dpdk-9f8eb1d9ca0f56d6292db5858c52e6873d0abe51.tar.gz
dpdk-9f8eb1d9ca0f56d6292db5858c52e6873d0abe51.tar.xz
eal: support driver loading from directory
Add support for directories as arguments to -d for loading all drivers from a given directory. Additionally a default driver directory can be set in build-time configuration, in which case it will be always be used when EAL is initialized. This simplifies usage in shared library configuration significantly over manually loading individual drivers with -d, and allows distros to establish a drop-in driver directory for seamless integration with 3rd party drivers etc. Suggested-by: Thomas Monjalon <thomas.monjalon@6wind.com> Suggested-by: David Marchand <david.marchand@6wind.com> Signed-off-by: Panu Matilainen <pmatilai@redhat.com> Acked-by: David Marchand <david.marchand@6wind.com>
Diffstat (limited to 'config/common_bsdapp')
-rw-r--r--config/common_bsdapp3
1 files changed, 3 insertions, 0 deletions
diff --git a/config/common_bsdapp b/config/common_bsdapp
index fba29e5..7df0763 100644
--- a/config/common_bsdapp
+++ b/config/common_bsdapp
@@ -108,6 +108,9 @@ CONFIG_RTE_EAL_ALLOW_INV_SOCKET_ID=n
CONFIG_RTE_EAL_ALWAYS_PANIC_ON_ERROR=n
CONFIG_RTE_MALLOC_DEBUG=n
+# Default driver path (or "" to disable)
+CONFIG_RTE_EAL_PMD_PATH=""
+
#
# FreeBSD contiguous memory driver settings
#