netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] User mode linux bump maximum MTU tuntap interface
@ 2019-07-01 16:29 Алексей
  2019-07-02 12:55 ` [PATCH] User mode linux bump maximum MTU tuntap interface [RESAND] Алексей
  0 siblings, 1 reply; 6+ messages in thread
From: Алексей @ 2019-07-01 16:29 UTC (permalink / raw)
  To: netdev

Hello, the parameter  ETH_MAX_PACKET limited to 1500 bytes is the not
support jumbo frames.

This patch change ETH_MAX_PACKET the 65535 bytes to jumbo frame support
with user mode linux tuntap driver.


PATCH:

-------------------

diff -ruNp ./src/1/linux-5.1/arch/um/include/shared/net_user.h
./src/linux-5.1/$
--- ./arch/um/include/shared/net_user.h 2019-05-06 00:42:58.000000000 +0000
+++ ./arch/um/include/shared/net_user.h 2019-07-01 16:09:20.316666597 +0000
@@ -9,7 +9,7 @@
 #define ETH_ADDR_LEN (6)
 #define ETH_HEADER_ETHERTAP (16)
 #define ETH_HEADER_OTHER (26) /* 14 for ethernet + VLAN + MPLS for
crazy peopl$
-#define ETH_MAX_PACKET (1500)
+#define ETH_MAX_PACKET (65535)
 
 #define UML_NET_VERSION (4)


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2019-07-12  9:58 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-07-01 16:29 [PATCH] User mode linux bump maximum MTU tuntap interface Алексей
2019-07-02 12:55 ` [PATCH] User mode linux bump maximum MTU tuntap interface [RESAND] Алексей
2019-07-02 14:40   ` Richard Weinberger
2019-07-02 14:47     ` Anton Ivanov
2019-07-12  9:22     ` Anton Ivanov
2019-07-12  9:40       ` Anton Ivanov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).