From 07e04cd76015d13cbb100fc8eb61dae935fd632b Mon Sep 17 00:00:00 2001 From: Alex Williams Date: Wed, 6 Nov 2019 11:21:32 -0800 Subject: docs: Change DPDK version to 18.11 and make args use underscores Swap out hyphens for underscores in the DPDK args. Also update list of distributions with the correct DPDK version in the repos. --- host/lib/CMakeLists.txt | 2 +- host/lib/utils/prefs.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'host/lib') diff --git a/host/lib/CMakeLists.txt b/host/lib/CMakeLists.txt index 4e2cf9022..18bc47f54 100644 --- a/host/lib/CMakeLists.txt +++ b/host/lib/CMakeLists.txt @@ -61,7 +61,7 @@ message(STATUS "") # Dependencies find_package(USB1) find_package(LIBERIO) -find_package(DPDK) +find_package(DPDK 18.11 EXACT) LIBUHD_REGISTER_COMPONENT("LIBERIO" ENABLE_LIBERIO ON "ENABLE_LIBUHD;LIBERIO_FOUND" OFF OFF) LIBUHD_REGISTER_COMPONENT("USB" ENABLE_USB ON "ENABLE_LIBUHD;LIBUSB_FOUND" OFF OFF) # Devices diff --git a/host/lib/utils/prefs.cpp b/host/lib/utils/prefs.cpp index 88be300cb..5755ad4b4 100644 --- a/host/lib/utils/prefs.cpp +++ b/host/lib/utils/prefs.cpp @@ -119,7 +119,7 @@ device_addr_t uhd::prefs::get_dpdk_nic_args( const uhd::device_addr_t &user_args ) { const std::vector keys_to_update_from = { - "dpdk-mac" + "dpdk_mac" }; return get_args(user_args, keys_to_update_from); } -- cgit v1.2.3