aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib
diff options
context:
space:
mode:
authorMichael West <michael.west@ettus.com>2019-08-14 17:58:25 -0700
committerBrent Stapleton <brent.stapleton@ettus.com>2019-08-14 18:48:12 -0700
commit3798b2cdee43dd31a4ab4737b781a990385471b3 (patch)
treec55c655971f7b97e226613405a86a7e280fc5d2d /host/lib
parent737ea07f9c57c8a1ac4937122d193d730abc9c4e (diff)
downloaduhd-3798b2cdee43dd31a4ab4737b781a990385471b3.tar.gz
uhd-3798b2cdee43dd31a4ab4737b781a990385471b3.tar.bz2
uhd-3798b2cdee43dd31a4ab4737b781a990385471b3.zip
RFNoC: Re-enable flow ctrl for blocks on same xbar
Prior commit disabled flow control for all lossless links, including links between blocks on the same crossbar. That caused packets to jam up the crossbar leading to control packets failing to ACK under certain conditions. This reverts it so flow control is enabled and the crossbar is kept clear. Signed-off-by: Michael West <michael.west@ettus.com>
Diffstat (limited to 'host/lib')
-rw-r--r--host/lib/rfnoc/graph_impl.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/host/lib/rfnoc/graph_impl.cpp b/host/lib/rfnoc/graph_impl.cpp
index 326e9205d..4c04a0c1e 100644
--- a/host/lib/rfnoc/graph_impl.cpp
+++ b/host/lib/rfnoc/graph_impl.cpp
@@ -122,7 +122,7 @@ void graph_impl::connect(const block_id_t& src_block,
}
const bool same_xbar = sid.get_src_addr() == sid.get_dst_addr();
src->configure_flow_control_out(true, /* enable output */
- same_xbar, // Lossless link if on same crossbar
+ false, // Keep packets from jamming the crossbar
buf_size_bytes,
0, /* no packet limit. We need to revisit this at some point. */
src_block_port);