From 77a5358dd03669366a162d67f9ea11b2056c78b6 Mon Sep 17 00:00:00 2001 From: Ciro Nishiguchi Date: Tue, 13 Aug 2019 16:50:47 -0500 Subject: rfnoc: Add MTU property to RX streamer --- host/lib/include/uhdlib/rfnoc/rfnoc_rx_streamer.hpp | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'host/lib/include/uhdlib/rfnoc') diff --git a/host/lib/include/uhdlib/rfnoc/rfnoc_rx_streamer.hpp b/host/lib/include/uhdlib/rfnoc/rfnoc_rx_streamer.hpp index d39d88f43..1afe5db80 100644 --- a/host/lib/include/uhdlib/rfnoc/rfnoc_rx_streamer.hpp +++ b/host/lib/include/uhdlib/rfnoc/rfnoc_rx_streamer.hpp @@ -76,6 +76,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 rx_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_rx_data_xport::uptr xport); + private: void _register_props(const size_t chan, const std::string& otw_format); @@ -91,6 +100,7 @@ private: std::vector> _samp_rate_in; std::vector> _tick_rate_in; std::vector> _type_in; + std::vector> _mtu_in; // Streamer unique ID const std::string _unique_id; -- cgit v1.2.3