pci: add option --create-uio-dev to run without hotplug
authorOlivier Matz <olivier.matz@6wind.com>
Tue, 28 Jan 2014 14:26:00 +0000 (15:26 +0100)
committerDavid Marchand <david.marchand@6wind.com>
Wed, 26 Feb 2014 10:07:28 +0000 (11:07 +0100)
commitf7f97c16048e0b2f9c766bf33ad994c55e02f8a2
tree6bc7d2d3e42315467fa8d65f7766724960ee4c98
parent61410438da8fd1da3b7e09475afc4f3a3a64aec8
pci: add option --create-uio-dev to run without hotplug

When the user specifies --create-uio-dev in dpdk eal start options, the
DPDK will create the /dev/uioX instead of waiting that a program does it
(which is usually hotplug).

This option is useful in embedded environments where there is no hotplug
to do the work.

Signed-off-by: Olivier Matz <olivier.matz@6wind.com>
Acked-by: Thomas Monjalon <thomas.monjalon@6wind.com>
lib/librte_eal/linuxapp/eal/eal.c
lib/librte_eal/linuxapp/eal/eal_pci.c
lib/librte_eal/linuxapp/eal/include/eal_internal_cfg.h