summaryrefslogtreecommitdiff
path: root/fw/fe310/eos/net.h
diff options
context:
space:
mode:
authorUros Majstorovic <majstor@majstor.org>2021-08-27 02:29:43 +0200
committerUros Majstorovic <majstor@majstor.org>2021-08-27 02:29:43 +0200
commit8c529f3b9b4538e307c67a2170c6a1fdd2e32934 (patch)
tree6123fa7489807c56f615670b6e0fe69714a55fce /fw/fe310/eos/net.h
parent331fcf483d9eac2e65e40ec35cf7558132c7c86f (diff)
net driver fixed
Diffstat (limited to 'fw/fe310/eos/net.h')
-rw-r--r--fw/fe310/eos/net.h3
1 files changed, 2 insertions, 1 deletions
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