aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/include/uhdlib/rfnoc/chdr_ctrl_endpoint.hpp
diff options
context:
space:
mode:
authorAshish Chaudhari <ashish@ettus.com>2019-05-28 13:19:24 -0700
committerMartin Braun <martin.braun@ettus.com>2019-11-26 11:49:20 -0800
commit374b30cc0eb0842e567d01486d9be8155e361d9f (patch)
tree54b8f907015045cc7049717a8894ccc448155631 /host/lib/include/uhdlib/rfnoc/chdr_ctrl_endpoint.hpp
parentb4bc85ac972b2e4f3e8e0b092947267f9f8aeee4 (diff)
downloaduhd-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/chdr_ctrl_endpoint.hpp')
-rw-r--r--host/lib/include/uhdlib/rfnoc/chdr_ctrl_endpoint.hpp7
1 files changed, 3 insertions, 4 deletions
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 <uhdlib/rfnoc/chdr_packet.hpp>
#include <uhdlib/rfnoc/ctrlport_endpoint.hpp>
-#include <uhdlib/rfnoc/xports.hpp>
#include <functional>
#include <memory>
@@ -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