From 117af6f0b0d50e6ba81bbd8f970d8963f615548a Mon Sep 17 00:00:00 2001 From: Alex Williams Date: Thu, 8 Aug 2019 15:41:30 -0700 Subject: rfnoc: Add ability to select transport for streamers to user APIs Now the user can choose which transport is used in connect() calls. --- host/lib/include/uhdlib/rfnoc/rfnoc_common.hpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'host/lib/include/uhdlib/rfnoc/rfnoc_common.hpp') diff --git a/host/lib/include/uhdlib/rfnoc/rfnoc_common.hpp b/host/lib/include/uhdlib/rfnoc/rfnoc_common.hpp index bc56fd311..4785949e7 100644 --- a/host/lib/include/uhdlib/rfnoc/rfnoc_common.hpp +++ b/host/lib/include/uhdlib/rfnoc/rfnoc_common.hpp @@ -7,6 +7,7 @@ #ifndef INCLUDED_RFNOC_RFNOC_COMMON_HPP #define INCLUDED_RFNOC_RFNOC_COMMON_HPP +#include #include #include @@ -35,8 +36,6 @@ constexpr size_t chdr_w_to_bits(chdr_w_t chdr_w) } } -//! Device ID Type -using device_id_t = uint16_t; //! Stream Endpoint Instance Number Type using sep_inst_t = uint16_t; //! Stream Endpoint Physical Address Type @@ -50,8 +49,6 @@ using sep_id_pair_t = std::pair; //! Stream Endpoint Virtual Channel Type using sep_vc_t = uint8_t; -//! NULL/unassigned device ID -static constexpr device_id_t NULL_DEVICE_ID = 0; //! NULL/unassigned device address static constexpr sep_addr_t NULL_DEVICE_ADDR{NULL_DEVICE_ID, 0}; //! NULL/unassigned stream endpoint ID -- cgit v1.2.3