aboutsummaryrefslogtreecommitdiffstats
path: root/host/tests/tx_streamer_test.cpp
diff options
context:
space:
mode:
authorAlex Williams <alex.williams@ni.com>2019-08-06 18:32:29 -0700
committerMartin Braun <martin.braun@ettus.com>2019-11-26 11:49:36 -0800
commit91e01c484475600fcd659bb433ab86efa5146426 (patch)
treeb551507190e7b230c9c81c4145283966b9a99a9a /host/tests/tx_streamer_test.cpp
parent0fc57b99b9163d919cc4a470b3065ab4cf1c947d (diff)
downloaduhd-91e01c484475600fcd659bb433ab86efa5146426.tar.gz
uhd-91e01c484475600fcd659bb433ab86efa5146426.tar.bz2
uhd-91e01c484475600fcd659bb433ab86efa5146426.zip
rfnoc: Centralize initialization state of SEPs to epid_allocator
Because the initialization state of SEPs is a graph-wide property, link_stream_managers and mgmt_portals cannot rely on their private members to determine if they can reset an SEP. Move the call to init SEPs into the epid_allocator, and have it call into a mgmt_portal to gain access to the SEP. Thus, link_stream_managers only request that an epid_allocator ensure an SEP is numbered and initialized, and they provide a path to communicate with the SEP. The epid_allocator will ensure init only happens once, so a stream currently running on another link_stream_manager does not get interrupted. This could happen, for example, if the OSTRM went to one device, and the ISTRM came from another. In general, EPIDs should only be assigned once.
Diffstat (limited to 'host/tests/tx_streamer_test.cpp')
0 files changed, 0 insertions, 0 deletions