From a2d0b50bc61442b471fe1a724d61d336af961e21 Mon Sep 17 00:00:00 2001 From: Martin Braun Date: Wed, 20 Dec 2017 18:08:40 -0800 Subject: mpmd: Expose get_mtu() API to mpmd_mboard_impl and to prop tree --- host/lib/usrp/mpmd/mpmd_mboard_impl.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'host/lib/usrp/mpmd/mpmd_mboard_impl.cpp') 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. -- cgit v1.2.3