From 192266576a719adec6d42c7dd689622ff9e73bf1 Mon Sep 17 00:00:00 2001 From: alexkr000 Date: Mon, 7 Jul 2025 10:26:32 -0700 Subject: [PATCH] Update mbuf.go: increasing MAX_PACKET_SIZE The existing size is not sufficient and triggers a panic if an ingress packet is larger --- src/emu/core/mbuf.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/emu/core/mbuf.go b/src/emu/core/mbuf.go index 6bf8dc2..5fabbb7 100644 --- a/src/emu/core/mbuf.go +++ b/src/emu/core/mbuf.go @@ -42,7 +42,7 @@ const lMBUF_INVALID_PORT = 0xffff const lIND_ATTACHED_MBUF = 0x2 //MAX_PACKET_SIZE the maximum packet size -const MAX_PACKET_SIZE uint16 = 9 * 1024 +const MAX_PACKET_SIZE uint16 = 10 * 1024 const MBUF_RX_POOL_SIZE = 2048 // pool used by rx size // MbufPoll cache of mbufs per packet size