diff options
author | Martin Braun <martin.braun@ettus.com> | 2019-02-07 15:34:17 +0100 |
---|---|---|
committer | Brent Stapleton <brent.stapleton@ettus.com> | 2019-04-02 10:39:57 -0700 |
commit | 164d76dcfdefe888d0e152d33827187d3d47b57e (patch) | |
tree | 26a8de83ea27f938d3ab55ff37a6ee1ce911c783 /mpm/python/usrp_mpm/xports | |
parent | fa659bbe1938875ef27eba2cbb60a43443a65f99 (diff) | |
download | uhd-164d76dcfdefe888d0e152d33827187d3d47b57e.tar.gz uhd-164d76dcfdefe888d0e152d33827187d3d47b57e.tar.bz2 uhd-164d76dcfdefe888d0e152d33827187d3d47b57e.zip |
mpm: python: Move from Boost.Python to PyBind11
Diffstat (limited to 'mpm/python/usrp_mpm/xports')
-rw-r--r-- | mpm/python/usrp_mpm/xports/xportmgr_liberio.py | 2 | ||||
-rw-r--r-- | mpm/python/usrp_mpm/xports/xportmgr_udp.py | 2 |
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) |