document pmd autoloading 06/3206/1
authorChristian Ehrhardt <christian.ehrhardt@canonical.com>
Thu, 29 Sep 2016 11:09:43 +0000 (13:09 +0200)
committerChristian Ehrhardt <christian.ehrhardt@canonical.com>
Thu, 29 Sep 2016 12:40:58 +0000 (14:40 +0200)
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>
debian/dpdk-doc.README.Debian

index 774a08c..0e3866a 100644 (file)
@@ -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