diff options
author | Damjan Marion <damarion@cisco.com> | 2017-12-11 15:55:56 +0100 |
---|---|---|
committer | Dave Wallace <dwallacelf@gmail.com> | 2017-12-14 16:26:00 +0000 |
commit | 2752b89ead002d1f07d840db0e925f3229e0f178 (patch) | |
tree | 79c897d928dbae74c845b5a29d71bd4396c7bb96 /src/plugins/dpdk/device/init.c | |
parent | 091871c6a3cbeded00d95c23d3665c65142edc6e (diff) |
pci: auto-detect right vfio/uio driver
Change-Id: Ib4012ff598698924484525932d041988cc4c63f6
Signed-off-by: Damjan Marion <damarion@cisco.com>
Diffstat (limited to 'src/plugins/dpdk/device/init.c')
-rwxr-xr-x | src/plugins/dpdk/device/init.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/dpdk/device/init.c b/src/plugins/dpdk/device/init.c index a6b6440f230..6041a3ca2a8 100755 --- a/src/plugins/dpdk/device/init.c +++ b/src/plugins/dpdk/device/init.c @@ -1035,7 +1035,7 @@ dpdk_config (vlib_main_t * vm, unformat_input_t * input) } if (!conf->uio_driver_name) - conf->uio_driver_name = format (0, "uio_pci_generic%c", 0); + conf->uio_driver_name = format (0, "auto%c", 0); /* * Use 1G huge pages if available. |