From 78a7b650792de904b88974d92cde2fbb7a9233cd Mon Sep 17 00:00:00 2001
From: Eric Kooistra <kooistra@astron.nl>
Date: Thu, 4 Aug 2022 11:40:04 +0200
Subject: [PATCH] The dp_offload_rx does need to remove CRC from Rx 1GbE
 packets.

---
 .../tb_lofar2_unb2c_sdp_station_bf_bst_offload.vhd            | 4 ++--
 .../tb_lofar2_unb2c_sdp_station_fsub_sst_offload.vhd          | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/applications/lofar2/designs/lofar2_unb2c_sdp_station/revisions/lofar2_unb2c_sdp_station_bf/tb_lofar2_unb2c_sdp_station_bf_bst_offload.vhd b/applications/lofar2/designs/lofar2_unb2c_sdp_station/revisions/lofar2_unb2c_sdp_station_bf/tb_lofar2_unb2c_sdp_station_bf_bst_offload.vhd
index dd52d4eb20..270ce27dea 100644
--- a/applications/lofar2/designs/lofar2_unb2c_sdp_station/revisions/lofar2_unb2c_sdp_station_bf/tb_lofar2_unb2c_sdp_station_bf_bst_offload.vhd
+++ b/applications/lofar2/designs/lofar2_unb2c_sdp_station/revisions/lofar2_unb2c_sdp_station_bf/tb_lofar2_unb2c_sdp_station_bf_bst_offload.vhd
@@ -249,8 +249,8 @@ BEGIN
     g_nof_streams         => 1,
     g_data_w              => c_word_w,
     g_hdr_field_arr       => c_sdp_stat_hdr_field_arr,
-    g_remove_crc          => FALSE,
-    g_crc_nof_words       => 0
+    g_remove_crc          => TRUE,
+    g_crc_nof_words       => 1
   )
   PORT MAP (
     mm_rst                => pps_rst,
diff --git a/applications/lofar2/designs/lofar2_unb2c_sdp_station/revisions/lofar2_unb2c_sdp_station_fsub/tb_lofar2_unb2c_sdp_station_fsub_sst_offload.vhd b/applications/lofar2/designs/lofar2_unb2c_sdp_station/revisions/lofar2_unb2c_sdp_station_fsub/tb_lofar2_unb2c_sdp_station_fsub_sst_offload.vhd
index 5b14cb9aea..74694c689d 100644
--- a/applications/lofar2/designs/lofar2_unb2c_sdp_station/revisions/lofar2_unb2c_sdp_station_fsub/tb_lofar2_unb2c_sdp_station_fsub_sst_offload.vhd
+++ b/applications/lofar2/designs/lofar2_unb2c_sdp_station/revisions/lofar2_unb2c_sdp_station_fsub/tb_lofar2_unb2c_sdp_station_fsub_sst_offload.vhd
@@ -248,8 +248,8 @@ BEGIN
     g_nof_streams         => 1,
     g_data_w              => c_word_w,
     g_hdr_field_arr       => c_sdp_stat_hdr_field_arr,
-    g_remove_crc          => FALSE,
-    g_crc_nof_words       => 0
+    g_remove_crc          => TRUE,
+    g_crc_nof_words       => 1
   )
   PORT MAP (
     mm_rst                => pps_rst,
-- 
GitLab