aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/include/uhdlib/rfnoc/chdr_ctrl_xport.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'host/lib/include/uhdlib/rfnoc/chdr_ctrl_xport.hpp')
-rw-r--r--host/lib/include/uhdlib/rfnoc/chdr_ctrl_xport.hpp11
1 files changed, 9 insertions, 2 deletions
diff --git a/host/lib/include/uhdlib/rfnoc/chdr_ctrl_xport.hpp b/host/lib/include/uhdlib/rfnoc/chdr_ctrl_xport.hpp
index 3365dcb23..9cf2f305f 100644
--- a/host/lib/include/uhdlib/rfnoc/chdr_ctrl_xport.hpp
+++ b/host/lib/include/uhdlib/rfnoc/chdr_ctrl_xport.hpp
@@ -45,8 +45,8 @@ public:
size_t num_send_frames,
size_t num_recv_frames)
{
- return std::make_shared<chdr_ctrl_xport>(io_srv, send_link, recv_link, my_epid,
- num_send_frames, num_recv_frames);
+ return std::make_shared<chdr_ctrl_xport>(
+ io_srv, send_link, recv_link, my_epid, num_send_frames, num_recv_frames);
}
/*!
@@ -111,6 +111,13 @@ public:
*/
void release_recv_buff(frame_buff::uptr buff);
+ /*!
+ * Get this xport's EPID
+ *
+ * \return the source EPID for this transport
+ */
+ sep_id_t get_epid() const;
+
private:
chdr_ctrl_xport(const chdr_ctrl_xport&) = delete;