From 17c00f8218cec32e495fd85e95b9f3b99f50ed86 Mon Sep 17 00:00:00 2001
From: Eric Kooistra <kooistra@astron.nl>
Date: Tue, 20 Dec 2022 15:49:58 +0100
Subject: [PATCH] Default support jumbo frames.

---
 boards/uniboard2c/designs/unb2c_test/src/vhdl/unb2c_test.vhd | 2 +-
 libraries/io/eth/src/vhdl/eth_stream.vhd                     | 2 +-
 libraries/technology/tse/tech_tse_setup.vhd                  | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/boards/uniboard2c/designs/unb2c_test/src/vhdl/unb2c_test.vhd b/boards/uniboard2c/designs/unb2c_test/src/vhdl/unb2c_test.vhd
index f584a6c375..6016c8f8e4 100644
--- a/boards/uniboard2c/designs/unb2c_test/src/vhdl/unb2c_test.vhd
+++ b/boards/uniboard2c/designs/unb2c_test/src/vhdl/unb2c_test.vhd
@@ -914,7 +914,7 @@ BEGIN
     GENERIC MAP (
       g_technology   => g_technology,
       g_rx_udp_port  => TO_UINT(c_eth_rx_udp_port),  -- = 0x1771 = 6001
-      g_jumbo_en     => FALSE,
+      g_jumbo_en     => TRUE,
       g_sim          => g_sim,
       g_sim_level    => 1   -- 0 = use IP model (equivalent to g_sim = FALSE); 1 = use fast serdes model;
     )
diff --git a/libraries/io/eth/src/vhdl/eth_stream.vhd b/libraries/io/eth/src/vhdl/eth_stream.vhd
index 748064fb4c..848ed7e23f 100644
--- a/libraries/io/eth/src/vhdl/eth_stream.vhd
+++ b/libraries/io/eth/src/vhdl/eth_stream.vhd
@@ -53,7 +53,7 @@ ENTITY eth_stream IS
     g_technology   : NATURAL := c_tech_select_default;
     g_ETH_PHY      : STRING  := "LVDS"; -- "LVDS" (default): uses LVDS IOs for ctrl_unb_common, "XCVR": uses tranceiver PHY
     g_rx_udp_port  : NATURAL := TO_UINT(c_eth_rx_udp_port);
-    g_jumbo_en     : BOOLEAN := FALSE;
+    g_jumbo_en     : BOOLEAN := TRUE;
     g_sim          : BOOLEAN := FALSE;
     g_sim_level    : NATURAL := 0   -- 0 = use IP model (equivalent to g_sim = FALSE); 1 = use fast serdes model;
   );
diff --git a/libraries/technology/tse/tech_tse_setup.vhd b/libraries/technology/tse/tech_tse_setup.vhd
index fc02da2dc4..f3b4fd0d8d 100644
--- a/libraries/technology/tse/tech_tse_setup.vhd
+++ b/libraries/technology/tse/tech_tse_setup.vhd
@@ -39,7 +39,7 @@ ENTITY tech_tse_setup IS
     -- = FALSE for frame_len <= 1500 octets. If frame is longer then this
     -- yields invalid length flag in rx_sosi.err, but data is still received.
     -- Use g_jumbo_en = TRUE for frame_len <= 9000 octets (jumbo frames).
-    g_jumbo_en : BOOLEAN := FALSE
+    g_jumbo_en : BOOLEAN := TRUE
   );
   PORT (
     -- Clocks and reset
-- 
GitLab