[dpdk-dev] [PATCH 0/2] pci: allow to run without hotplug
Olivier Matz
olivier.matz at 6wind.com
Fri Jan 24 16:31:25 CET 2014
The default behavior of DPDK is to wait the creation of /dev/uioX
devices. This work is usually done by hotplug thanks to the
kernel notification.
On some embedded systems, there is no hotplug program. These 2
patches introduce a new EAL option "--create-uio-dev" that tells
the DPDK to create the /dev/uioX devices using mknod().
Olivier Matz (2):
pci: split the function providing uio device and mappings
pci: add option --create-uio-dev to run without hotplug
lib/librte_eal/linuxapp/eal/eal.c | 6 +
lib/librte_eal/linuxapp/eal/eal_pci.c | 127 +++++++++++++++------
.../linuxapp/eal/include/eal_internal_cfg.h | 1 +
3 files changed, 102 insertions(+), 32 deletions(-)
--
1.8.4.rc3
More information about the dev
mailing list