From 2aba37c960a9ff5affceed98aa30f509be47546f Mon Sep 17 00:00:00 2001 From: Christian Ehrhardt Date: Thu, 29 Sep 2016 13:09:43 +0200 Subject: document pmd autoloading Add a section to debian/dpdk-doc.README.Debian to document pmd autoloading. Change-Id: Idbdc5b8634f5030cc6c845e7320d063d32f54c9b Signed-off-by: Christian Ehrhardt --- debian/dpdk-doc.README.Debian | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/debian/dpdk-doc.README.Debian b/debian/dpdk-doc.README.Debian index 774a08cd..0e3866a9 100644 --- a/debian/dpdk-doc.README.Debian +++ b/debian/dpdk-doc.README.Debian @@ -49,4 +49,16 @@ against dpdk-dev that file will be adjusted for you. Alternatively /usr/include/dpdk/rte_config.h has to be pre-included: CFLAGS += -I/usr/include/dpdk -irte_config.h - -- Christian Ehrhardt Thu, 04 Feb 2016 09:16:11 +0100 +librte-pmd-* and DPDK PMD autoloading: + +PMD driver autoloading. DPDK since its split into several libraries does not +have all PMD drivers available by default. One always can use EAL argument -d +to provide a path to an extra .so file. +TO ease daily usage RTE_EAL_PMD_PATH is set to +/usr/lib/$(shell dpkg-architecture -qDEB_HOST_MULTIARCH)/dpdk-pmds/. +Each librte-pmd-* package will place a symlink in there which makes DPDK load +and register it as PMD on startup. +This can also be used to globally enable extra PMD drivers as you can link +self-provided .so files in there to be considered. + + -- Christian Ehrhardt Thu, 29 Sep 2016 13:04:47 +0200 -- cgit 1.2.3-korg