aboutsummaryrefslogtreecommitdiffstats
path: root/mpm/python/usrp_mpm
diff options
context:
space:
mode:
Diffstat (limited to 'mpm/python/usrp_mpm')
-rw-r--r--mpm/python/usrp_mpm/xports/xportmgr_liberio.py2
-rw-r--r--mpm/python/usrp_mpm/xports/xportmgr_udp.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/mpm/python/usrp_mpm/xports/xportmgr_liberio.py b/mpm/python/usrp_mpm/xports/xportmgr_liberio.py
index d5c0d2e97..b035e64fe 100644
--- a/mpm/python/usrp_mpm/xports/xportmgr_liberio.py
+++ b/mpm/python/usrp_mpm/xports/xportmgr_liberio.py
@@ -83,7 +83,7 @@ class XportMgrLiberio(object):
def commit_xport(self, sid, xport_info):
" Commit liberio transport "
chan = int(xport_info['dma_chan'])
- xbar_iface = lib.xbar.xbar.make(self.xbar_dev)
+ xbar_iface = lib.xbar.xbar(self.xbar_dev)
xbar_iface.set_route(sid.src_addr, self.xbar_port)
self._dma_dispatcher.set_route(sid.reversed(), chan)
self.log.trace("Liberio transport successfully committed!")
diff --git a/mpm/python/usrp_mpm/xports/xportmgr_udp.py b/mpm/python/usrp_mpm/xports/xportmgr_udp.py
index f8fcc6ede..17762bb76 100644
--- a/mpm/python/usrp_mpm/xports/xportmgr_udp.py
+++ b/mpm/python/usrp_mpm/xports/xportmgr_udp.py
@@ -325,7 +325,7 @@ class XportMgrUDP(object):
xbar_port = self.iface_config[eth_iface]['xbar_port']
self.log.trace("Using Ethernet interface %s, crossbar port %d",
eth_iface, xbar_port)
- xbar_iface = lib.xbar.xbar.make(self.get_xbar_dev(eth_iface))
+ xbar_iface = lib.xbar.xbar(self.get_xbar_dev(eth_iface))
xbar_iface.set_route(sid.src_addr, xbar_port)
self._eth_dispatchers[eth_iface].set_route(
sid.reversed(), sender_addr, sender_port)