From 25a0e462ddc8ca737415dbae4feb90787e6a35b2 Mon Sep 17 00:00:00 2001 From: Steven Koo Date: Sat, 25 Jul 2020 13:09:53 -0500 Subject: mpm: Default virtual NIC CHDR IP selection This change adds detection for setting the correct internal fpga CHDR IP address when using embedded mode. --- mpm/python/usrp_mpm/periph_manager/e320.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'mpm/python/usrp_mpm/periph_manager/e320.py') diff --git a/mpm/python/usrp_mpm/periph_manager/e320.py b/mpm/python/usrp_mpm/periph_manager/e320.py index 770b449b5..f8b17df7f 100644 --- a/mpm/python/usrp_mpm/periph_manager/e320.py +++ b/mpm/python/usrp_mpm/periph_manager/e320.py @@ -399,7 +399,11 @@ class e320(ZynqComponents, PeriphManagerBase): self.log.warning("Can't get link options for unknown link type: `{}'." .format(xport_type)) return [] - return self._xport_mgrs[xport_type].get_chdr_link_options() + if xport_type == "udp": + return self._xport_mgrs[xport_type].get_chdr_link_options( + self.mboard_info['rpc_connection']) + else: + return self._xport_mgrs[xport_type].get_chdr_link_options() ########################################################################### # Device info -- cgit v1.2.3