From 062b82f6fdab8540af854050a45c0ef8de0a15eb Mon Sep 17 00:00:00 2001 From: mattprost Date: Mon, 25 Nov 2019 14:25:54 -0600 Subject: x3x0: DPDK initialization fix Pass original args into the x300_get_udp_factory() function. This exposes the fact that this is a DPDK connection. --- host/lib/usrp/x300/x300_eth_mgr.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/host/lib/usrp/x300/x300_eth_mgr.cpp b/host/lib/usrp/x300/x300_eth_mgr.cpp index adaf101d4..3a71080ae 100644 --- a/host/lib/usrp/x300/x300_eth_mgr.cpp +++ b/host/lib/usrp/x300/x300_eth_mgr.cpp @@ -519,7 +519,7 @@ size_t eth_manager::get_mtu(uhd::direction_t dir) void eth_manager::discover_eth( const mboard_eeprom_t mb_eeprom, const std::string& loaded_fpga_image) { - udp_simple_factory_t udp_make_connected = x300_get_udp_factory(send_args); + udp_simple_factory_t udp_make_connected = x300_get_udp_factory(_args.get_orig_args()); // Load all valid, non-duplicate IP addrs std::vector ip_addrs{_args.get_first_addr()}; if (not _args.get_second_addr().empty() -- cgit v1.2.3