diff options
author | Christian Ehrhardt <christian.ehrhardt@canonical.com> | 2016-09-29 13:09:43 +0200 |
---|---|---|
committer | Christian Ehrhardt <christian.ehrhardt@canonical.com> | 2016-09-29 14:40:58 +0200 |
commit | 2aba37c960a9ff5affceed98aa30f509be47546f (patch) | |
tree | 4f9fb695c9f49a1e96dfc5b046af03999599f385 | |
parent | 1264144c999ae5cd1bda04376d6d59c25bff9dc1 (diff) |
document pmd autoloading
Add a section to debian/dpdk-doc.README.Debian to document pmd
autoloading.
Change-Id: Idbdc5b8634f5030cc6c845e7320d063d32f54c9b
Signed-off-by: Christian Ehrhardt <christian.ehrhardt@canonical.com>
-rw-r--r-- | debian/dpdk-doc.README.Debian | 14 |
1 files changed, 13 insertions, 1 deletions
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 <christian.ehrhardt@canonical.com> 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 <christian.ehrhardt@canonical.com> Thu, 29 Sep 2016 13:04:47 +0200 |