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/mgmt_portal.hpp | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) (limited to 'host/lib/include/uhdlib/rfnoc/mgmt_portal.hpp') diff --git a/host/lib/include/uhdlib/rfnoc/mgmt_portal.hpp b/host/lib/include/uhdlib/rfnoc/mgmt_portal.hpp index 09a155fa0..12f40f172 100644 --- a/host/lib/include/uhdlib/rfnoc/mgmt_portal.hpp +++ b/host/lib/include/uhdlib/rfnoc/mgmt_portal.hpp @@ -8,7 +8,6 @@ #define INCLUDED_LIBUHD_MGMT_PORTAL_HPP #include -#include #include namespace uhd { namespace rfnoc { namespace mgmt { @@ -60,7 +59,7 @@ public: // Note that the endpoints that are not physically connected/reachable from // the underlying transport will not be discovered. // - virtual const std::vector& get_reachable_endpoints() const = 0; + virtual const std::set& get_reachable_endpoints() const = 0; //! Initialize a stream endpoint and assign an endpoint ID to it // @@ -178,12 +177,10 @@ public: //! Create an endpoint manager object // - static uptr make(const both_xports_t& xports, + static uptr make(const chdr_ctrl_xport_t& xport, const chdr::chdr_packet_factory& pkt_factory, - uint16_t protover, - chdr_w_t chdr_w, - sep_id_t epid, - device_id_t device_id); + sep_addr_t my_sep_addr, + sep_id_t my_epid); }; }}} // namespace uhd::rfnoc::mgmt -- cgit v1.2.3