aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormattprost <matt.prost@ni.com>2019-11-25 14:25:54 -0600
committerMartin Braun <martin.braun@ettus.com>2019-11-25 13:41:35 -0800
commit062b82f6fdab8540af854050a45c0ef8de0a15eb (patch)
tree0695e9090721250da902d9875083afcbe2bc4365
parent9c0dc99e9db1f80842c6aff4e918475c18c60b6c (diff)
downloaduhd-062b82f6fdab8540af854050a45c0ef8de0a15eb.tar.gz
uhd-062b82f6fdab8540af854050a45c0ef8de0a15eb.tar.bz2
uhd-062b82f6fdab8540af854050a45c0ef8de0a15eb.zip
x3x0: DPDK initialization fix
Pass original args into the x300_get_udp_factory() function. This exposes the fact that this is a DPDK connection.
-rw-r--r--host/lib/usrp/x300/x300_eth_mgr.cpp2
1 files changed, 1 insertions, 1 deletions
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<std::string> ip_addrs{_args.get_first_addr()};
if (not _args.get_second_addr().empty()