From 9457bda99cc4090b0461f0c7a39f62901f1ea812 Mon Sep 17 00:00:00 2001 From: Martin Braun Date: Tue, 1 Mar 2022 17:04:37 +0100 Subject: 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. --- host/lib/rfnoc/radio_control_impl.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'host/lib/rfnoc/radio_control_impl.cpp') 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 = -- cgit v1.2.3