aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/include/uhdlib/rfnoc
diff options
context:
space:
mode:
authorCiro Nishiguchi <ciro.nishiguchi@ni.com>2019-08-12 11:59:16 -0500
committerMartin Braun <martin.braun@ettus.com>2019-11-26 11:49:35 -0800
commit35db8f741b4b6c0bccf04e68e81bc4ecb5018357 (patch)
tree6677d2d24a6dcfd0535248ed8874b6d9f4228b5a /host/lib/include/uhdlib/rfnoc
parent9f29b9a556634e41d13fa298f9634b67fdd0a749 (diff)
downloaduhd-35db8f741b4b6c0bccf04e68e81bc4ecb5018357.tar.gz
uhd-35db8f741b4b6c0bccf04e68e81bc4ecb5018357.tar.bz2
uhd-35db8f741b4b6c0bccf04e68e81bc4ecb5018357.zip
rfnoc: Add MTU property to TX streamer
Diffstat (limited to 'host/lib/include/uhdlib/rfnoc')
-rw-r--r--host/lib/include/uhdlib/rfnoc/rfnoc_tx_streamer.hpp10
1 files changed, 10 insertions, 0 deletions
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<size_t>& connected_inputs,
const std::vector<size_t>& 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<property_t<double>> _samp_rate_out;
std::vector<property_t<double>> _tick_rate_out;
std::vector<property_t<std::string>> _type_out;
+ std::vector<property_t<size_t>> _mtu_out;
// Streamer unique ID
const std::string _unique_id;