]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit22bd4939a2d7fd5e51bd5ccc62def632f3b8cf8a
treecd03cd026214d209efc474853e558ec99d4771b5
parent096259a7b6a9524272b3b09d6dc32b8546c2b6f6
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