From 66ad6e9b96dc68ec68ce21fd20a103e252f5acdd Mon Sep 17 00:00:00 2001 From: Eric Kooistra <kooistra@astron.nl> Date: Mon, 12 Dec 2022 15:53:52 +0100 Subject: [PATCH] Support jumbo frames for Rx, to avoid length error flag. --- libraries/unb_osy/unbos_eth.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/unb_osy/unbos_eth.h b/libraries/unb_osy/unbos_eth.h index 1a16a87f03..b799911db5 100644 --- a/libraries/unb_osy/unbos_eth.h +++ b/libraries/unb_osy/unbos_eth.h @@ -34,7 +34,7 @@ // Start address of the rx and tx frame in the frame buffer #define ETH_RX_RAM_BASE 0 #define ETH_TX_RAM_BASE (AVS_ETH_0_MMS_RAM_SPAN/2) -#define ETH_FRAME_LENGTH 1518 +#define ETH_FRAME_LENGTH 9018 #define UNB_ETH_SRC_MAC_BASE ((TUInt32)0x00228608) #define UNB_ETH_SRC_MAC_BASE_HI ((UNB_ETH_SRC_MAC_BASE >> 16) & 0xFFFF) #define UNB_ETH_SRC_MAC_BASE_LO ( UNB_ETH_SRC_MAC_BASE & 0xFFFF) -- GitLab