diff options
| author | Ashish Chaudhari <ashish@ettus.com> | 2019-05-28 13:19:24 -0700 | 
|---|---|---|
| committer | Martin Braun <martin.braun@ettus.com> | 2019-11-26 11:49:20 -0800 | 
| commit | 374b30cc0eb0842e567d01486d9be8155e361d9f (patch) | |
| tree | 54b8f907015045cc7049717a8894ccc448155631 /host/lib/include/uhdlib/rfnoc/mgmt_portal.hpp | |
| parent | b4bc85ac972b2e4f3e8e0b092947267f9f8aeee4 (diff) | |
| download | uhd-374b30cc0eb0842e567d01486d9be8155e361d9f.tar.gz uhd-374b30cc0eb0842e567d01486d9be8155e361d9f.tar.bz2 uhd-374b30cc0eb0842e567d01486d9be8155e361d9f.zip  | |
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
Diffstat (limited to 'host/lib/include/uhdlib/rfnoc/mgmt_portal.hpp')
| -rw-r--r-- | host/lib/include/uhdlib/rfnoc/mgmt_portal.hpp | 11 | 
1 files changed, 4 insertions, 7 deletions
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 <uhdlib/rfnoc/chdr_types.hpp> -#include <uhdlib/rfnoc/xports.hpp>  #include <memory>  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<sep_addr_t>& get_reachable_endpoints() const = 0; +    virtual const std::set<sep_addr_t>& 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  | 
