]> 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)
commit2c209376349b18dc26f2d628428dba6e3ec4abe7
treedd4b378fb1925c134af8e337a4976aa217e55dce
parent591a7ec9b0d5e02e6638dbf2f9250e91fb8b0a16
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