From 35db8f741b4b6c0bccf04e68e81bc4ecb5018357 Mon Sep 17 00:00:00 2001 From: Ciro Nishiguchi Date: Mon, 12 Aug 2019 11:59:16 -0500 Subject: rfnoc: Add MTU property to TX streamer --- host/lib/include/uhdlib/rfnoc/rfnoc_tx_streamer.hpp | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'host/lib/include/uhdlib/rfnoc') diff --git a/host/lib/include/uhdlib/rfnoc/rfnoc_tx_streamer.hpp b/host/lib/include/uhdlib/rfnoc/rfnoc_tx_streamer.hpp index 4acee45cc..3bfc9d05a 100644 --- a/host/lib/include/uhdlib/rfnoc/rfnoc_tx_streamer.hpp +++ b/host/lib/include/uhdlib/rfnoc/rfnoc_tx_streamer.hpp @@ -69,6 +69,15 @@ public: bool check_topology(const std::vector& connected_inputs, const std::vector& connected_outputs); + /*! Connects a channel to the streamer port + * + * Overrides method in tx_streamer_impl. + * + * \param channel The streamer channel to which to connect + * \param xport The transport for the specified channel + */ + void connect_channel(const size_t channel, chdr_tx_data_xport::uptr xport); + private: void _register_props(const size_t chan, const std::string& otw_format); @@ -77,6 +86,7 @@ private: std::vector> _samp_rate_out; std::vector> _tick_rate_out; std::vector> _type_out; + std::vector> _mtu_out; // Streamer unique ID const std::string _unique_id; -- cgit v1.2.3