From f9327a4a400269769329512ac145a4b845b480e6 Mon Sep 17 00:00:00 2001 From: Martin Braun Date: Thu, 12 May 2022 16:18:17 +0200 Subject: rfnoc: Fix register_xport_hop_cfg_fns() usage Note: This function is currently unused. However, it is not correctly implemented. During init, it would call the routing configuration function instead of the init configuration function. --- host/lib/include/uhdlib/rfnoc/mgmt_portal.hpp | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) (limited to 'host/lib/include') diff --git a/host/lib/include/uhdlib/rfnoc/mgmt_portal.hpp b/host/lib/include/uhdlib/rfnoc/mgmt_portal.hpp index dcb93772b..46ff96b4d 100644 --- a/host/lib/include/uhdlib/rfnoc/mgmt_portal.hpp +++ b/host/lib/include/uhdlib/rfnoc/mgmt_portal.hpp @@ -197,10 +197,17 @@ public: //! Define custom configuration functions for custom transports // - // \param xport_type The type of the custom transport + // The intention of this is to allow adding custom management operations to + // be inserted for specific types of transports. For example, if IPv4 + // transport adapters were to require additional Ethernet-specific routing + // information, this function could add more configuration packets specific + // to this purpose. + // + // \param xport_type The type of the custom transport (e.g. '1' for IPV4, + // see rfnoc_xport_types.vh for a list of valid values). // \param init_hop_cfg_fn The function to call when initializing the custom xport // \param rtcfg_hop_cfg_fn The function to call when configuring routing for the - // custom xport + // custom xport // virtual void register_xport_hop_cfg_fns(uint8_t xport_subtype, xport_cfg_fn_t init_hop_cfg_fn, -- cgit v1.2.3