diff options
author | Martin Braun <martin.braun@ettus.com> | 2022-03-01 17:04:37 +0100 |
---|---|---|
committer | Aaron Rossetto <aaron.rossetto@ni.com> | 2022-03-08 15:36:48 -0600 |
commit | 9457bda99cc4090b0461f0c7a39f62901f1ea812 (patch) | |
tree | 22e1b967fdf284bd445347d631daf9af93ddf810 /host/lib/rfnoc | |
parent | e7bb83729aea966b49a1cc155abad30c1e170f88 (diff) | |
download | uhd-9457bda99cc4090b0461f0c7a39f62901f1ea812.tar.gz uhd-9457bda99cc4090b0461f0c7a39f62901f1ea812.tar.bz2 uhd-9457bda99cc4090b0461f0c7a39f62901f1ea812.zip |
rfnoc: radio: Explicitly set MTU forwarding policy to DROP
This is a follow-up to 930fa39, where we set the MTU property explicitly
for several blocks. The radio block should also receive this treatment,
as the IQ data going into its inputs is not forwarded to its outputs.
This patch will remove spurious log messages like these:
[INFO] [0/Radio#0] Setting default MTU forward policy.
[INFO] [0/Radio#1] Setting default MTU forward policy.
Diffstat (limited to 'host/lib/rfnoc')
-rw-r--r-- | host/lib/rfnoc/radio_control_impl.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/host/lib/rfnoc/radio_control_impl.cpp b/host/lib/rfnoc/radio_control_impl.cpp index a08470d8a..6ca8419d0 100644 --- a/host/lib/rfnoc/radio_control_impl.cpp +++ b/host/lib/rfnoc/radio_control_impl.cpp @@ -61,6 +61,7 @@ radio_control_impl::radio_control_impl(make_args_ptr make_args) << ", num_outputs=" << get_num_output_ports()); set_prop_forwarding_policy(forwarding_policy_t::DROP); set_action_forwarding_policy(forwarding_policy_t::DROP); + set_mtu_forwarding_policy(forwarding_policy_t::DROP); register_action_handler(ACTION_KEY_STREAM_CMD, [this](const res_source_info& src, action_info::sptr action) { stream_cmd_action_info::sptr stream_cmd_action = |