]> git.baikalelectronics.ru Git - kernel.git/commit
net: gemini: Indicate that we can handle jumboframes
authorLinus Walleij <linus.walleij@linaro.org>
Wed, 11 Jul 2018 19:32:45 +0000 (21:32 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 13 Jul 2018 00:39:15 +0000 (17:39 -0700)
commitadfcb253eb45bf1baea78eaf44f9675c21e7302b
treedd4b378fb1925c134af8e337a4976aa217e55dce
parent314e375dab278a37910ea29db94c7a64cebbcf57
net: gemini: Indicate that we can handle jumboframes

The hardware supposedly handles frames up to 10236 bytes and
implements .ndo_change_mtu() so accept 10236 minus the ethernet
header for a VLAN tagged frame on the netdevices. Use
ETH_MIN_MTU as minimum MTU.

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/cortina/gemini.c