aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/usrp/mpmd/mpmd_mboard_impl.cpp
diff options
context:
space:
mode:
authorMartin Braun <martin.braun@ettus.com>2017-12-20 18:08:40 -0800
committerMartin Braun <martin.braun@ettus.com>2017-12-22 15:06:11 -0800
commita2d0b50bc61442b471fe1a724d61d336af961e21 (patch)
tree2068abeeec45cdd2944e4186614b4d672ddae8af /host/lib/usrp/mpmd/mpmd_mboard_impl.cpp
parent93c1b176ca7ef9a62b903ce1d942b94185db8a7c (diff)
downloaduhd-a2d0b50bc61442b471fe1a724d61d336af961e21.tar.gz
uhd-a2d0b50bc61442b471fe1a724d61d336af961e21.tar.bz2
uhd-a2d0b50bc61442b471fe1a724d61d336af961e21.zip
mpmd: Expose get_mtu() API to mpmd_mboard_impl and to prop tree
Diffstat (limited to 'host/lib/usrp/mpmd/mpmd_mboard_impl.cpp')
-rw-r--r--host/lib/usrp/mpmd/mpmd_mboard_impl.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/host/lib/usrp/mpmd/mpmd_mboard_impl.cpp b/host/lib/usrp/mpmd/mpmd_mboard_impl.cpp
index 1038be26d..501f7f701 100644
--- a/host/lib/usrp/mpmd/mpmd_mboard_impl.cpp
+++ b/host/lib/usrp/mpmd/mpmd_mboard_impl.cpp
@@ -194,6 +194,11 @@ uhd::both_xports_t mpmd_mboard_impl::make_transport(
return xports;
}
+size_t mpmd_mboard_impl::get_mtu(const uhd::direction_t dir) const
+{
+ return _xport_mgr->get_mtu(dir);
+}
+
uhd::device_addr_t mpmd_mboard_impl::get_rx_hints() const
{
// TODO: See if we need to do anything here. get_rx_stream() might care.