From 374b30cc0eb0842e567d01486d9be8155e361d9f Mon Sep 17 00:00:00 2001 From: Ashish Chaudhari Date: Tue, 28 May 2019 13:19:24 -0700 Subject: rfnoc: API cleanup for ctrl/mgmt code - chdr_ctrl_endpoint can manage multiple dest EPIDs - Moved from both_xports_t to a special defs in rfnoc_common - Changed data-structures where appropriate --- host/lib/include/uhdlib/rfnoc/chdr_ctrl_endpoint.hpp | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'host/lib/include/uhdlib/rfnoc/chdr_ctrl_endpoint.hpp') diff --git a/host/lib/include/uhdlib/rfnoc/chdr_ctrl_endpoint.hpp b/host/lib/include/uhdlib/rfnoc/chdr_ctrl_endpoint.hpp index b50e06d3c..b3c3e0108 100644 --- a/host/lib/include/uhdlib/rfnoc/chdr_ctrl_endpoint.hpp +++ b/host/lib/include/uhdlib/rfnoc/chdr_ctrl_endpoint.hpp @@ -9,7 +9,6 @@ #include #include -#include #include #include @@ -35,7 +34,8 @@ public: // \param ctrl_clk_freq Frequency of the clock driving the ctrlport logic // \param timebase_freq Frequency of the timebase (for timed commands) // - virtual ctrlport_endpoint::sptr get_ctrlport_ep(uint16_t port, + virtual ctrlport_endpoint::sptr get_ctrlport_ep(sep_id_t dst_epid, + uint16_t dst_port, size_t buff_capacity, size_t max_outstanding_async_msgs, const clock_iface& client_clk, @@ -50,9 +50,8 @@ public: // \param pkt_factor An instance of the CHDR packet factory // \param my_epid The endpoint ID of this software endpoint // - static uptr make(const both_xports_t& xports, + static uptr make(const chdr_ctrl_xport_t& xports, const chdr::chdr_packet_factory& pkt_factory, - sep_id_t dst_epid, sep_id_t my_epid); }; // class chdr_ctrl_endpoint -- cgit v1.2.3