aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/rfnoc/duc_block_control.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'host/lib/rfnoc/duc_block_control.cpp')
-rw-r--r--host/lib/rfnoc/duc_block_control.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/host/lib/rfnoc/duc_block_control.cpp b/host/lib/rfnoc/duc_block_control.cpp
index 487e4b8ff..95ab9fa71 100644
--- a/host/lib/rfnoc/duc_block_control.cpp
+++ b/host/lib/rfnoc/duc_block_control.cpp
@@ -72,6 +72,10 @@ public:
<< " halfbands and "
"max CIC interpolation "
<< _cic_max_interp);
+ // This line is not strictly necessary, as ONE_TO_ONE is the default.
+ // We set it make it explicit how this block works. Output packets have
+ // the same size as the input packet.
+ set_mtu_forwarding_policy(forwarding_policy_t::ONE_TO_ONE);
// Load list of valid interpolation values
std::set<size_t> interps{1}; // 1 is always a valid interpolation
for (size_t hb = 0; hb < _num_halfbands; hb++) {