[U-Boot] [PATCH 2/2] net: increase maximum frame size to accomediate VLAN packets
Stefan Agner
stefan at agner.ch
Wed Apr 13 01:09:50 CEST 2016
Ethernet packages with IEEE 802.1Q VLAN support may be up to 1522
bytes long. Increase the default size used to allocate packet
storage by 4 bytes.
Signed-off-by: Stefan Agner <stefan at agner.ch>
---
include/net.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/net.h b/include/net.h
index 1fb4194..a97e530 100644
--- a/include/net.h
+++ b/include/net.h
@@ -476,7 +476,7 @@ struct icmp_hdr {
* maximum packet size = 1518
* maximum packet size and multiple of 32 bytes = 1536
*/
-#define PKTSIZE 1518
+#define PKTSIZE 1522
#define PKTSIZE_ALIGN 1536
/*#define PKTSIZE 608*/
--
2.8.0
More information about the U-Boot
mailing list