OSDN Git Service

net: dsa: rtl8366rb: Support setting MTU
authorLinus Walleij <linus.walleij@linaro.org>
Sat, 5 Sep 2020 21:59:14 +0000 (23:59 +0200)
committerJakub Kicinski <kuba@kernel.org>
Sun, 6 Sep 2020 17:28:07 +0000 (10:28 -0700)
commit5f4a8ef384db1e1e1d6132e3fac9c43fe670a4e8
treecd03cd026214d209efc474853e558ec99d4771b5
parent383e3f3ee811e464d6622106a13ba865fd1d27de
net: dsa: rtl8366rb: Support setting MTU

This implements the missing MTU setting for the RTL8366RB
switch.

Apart from supporting jumboframes, this rids us of annoying
boot messages like this:
realtek-smi switch: nonfatal error -95 setting MTU on port 0

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/dsa/rtl8366rb.c