From 8c529f3b9b4538e307c67a2170c6a1fdd2e32934 Mon Sep 17 00:00:00 2001 From: Uros Majstorovic Date: Fri, 27 Aug 2021 02:29:43 +0200 Subject: net driver fixed --- fw/fe310/eos/net.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'fw/fe310/eos/net.h') diff --git a/fw/fe310/eos/net.h b/fw/fe310/eos/net.h index ecefbec..574d179 100644 --- a/fw/fe310/eos/net.h +++ b/fw/fe310/eos/net.h @@ -2,7 +2,8 @@ #include "event.h" /* common */ -#define EOS_NET_SIZE_BUF 1500 +#define EOS_NET_MTU 1500 +#define EOS_NET_SIZE_BUF (EOS_NET_MTU + 4) #define EOS_NET_MTYPE_SOCK 1 #define EOS_NET_MTYPE_POWER 4 -- cgit v1.2.3