From a538abcbd7d38c042e743ef38d769cdc62b4d89a Mon Sep 17 00:00:00 2001 From: Jan David Mol <mol@astron.nl> Date: Tue, 14 Sep 2021 11:51:21 +0200 Subject: [PATCH] L2SS-370: Configure the XST offload enable only when the header is configured correctly. --- devices/devices/sdp/xst.py | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/devices/devices/sdp/xst.py b/devices/devices/sdp/xst.py index 088498651..164e69718 100644 --- a/devices/devices/sdp/xst.py +++ b/devices/devices/sdp/xst.py @@ -75,6 +75,23 @@ class XST(Statistics): default_value=[[0,102,0,0,0,0,0,0]] * 16 ) + FPGA_xst_offload_enable_RW_default = device_property( + dtype='DevVarBooleanArray', + mandatory=False, + default_value=[True] * 16 + ) + + first_default_settings = [ + 'FPGA_xst_offload_hdr_eth_destination_mac_RW', + 'FPGA_xst_offload_hdr_ip_destination_address_RW', + 'FPGA_xst_offload_hdr_udp_destination_port_RW', + + 'FPGA_xst_subband_select_RW', + + # enable only after the offloading is configured correctly + 'FPGA_xst_offload_enable_RW' + ] + # ---------- # Attributes # ---------- -- GitLab