From 681403adacea2fded4ea3dcf5699737671b7d363 Mon Sep 17 00:00:00 2001
From: Jari Nippula <jarix@ssrc.tii.ae>
Date: Wed, 24 Apr 2024 16:20:12 +0300
Subject: [PATCH] mpfs_ethernet.c: increase GMAC_RX_UNITSIZE

---
 arch/risc-v/src/mpfs/mpfs_ethernet.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/risc-v/src/mpfs/mpfs_ethernet.c b/arch/risc-v/src/mpfs/mpfs_ethernet.c
index bea93cc80ab65..cbf77b7692157 100644
--- a/arch/risc-v/src/mpfs/mpfs_ethernet.c
+++ b/arch/risc-v/src/mpfs/mpfs_ethernet.c
@@ -134,7 +134,7 @@
  * issue when using the MTU size receive block
  */
 
-#define GMAC_RX_UNITSIZE  (512)                  /* Fixed size for RX buffer */
+#define GMAC_RX_UNITSIZE  (1536)                  /* Fixed size for RX buffer */
 #define GMAC_TX_UNITSIZE  CONFIG_NET_ETH_PKTSIZE /* MAX size for Ethernet packet */
 
 /* The MAC can support frame lengths up to 1536 bytes */