]> git.baikalelectronics.ru Git - kernel.git/commit
net: dsa: qca8k: implement the port MTU callbacks
authorJonathan McDowell <noodles@earth.li>
Sat, 18 Jul 2020 16:32:14 +0000 (17:32 +0100)
committerDavid S. Miller <davem@davemloft.net>
Tue, 21 Jul 2020 01:34:16 +0000 (18:34 -0700)
commit25c7581f21d28d92f0270611650ea4e4a40e981c
treec49024937defd11aca193872ac3b8df017cabd8e
parent16f3f79263455c9a8b88faca3117e0350f378cae
net: dsa: qca8k: implement the port MTU callbacks

This switch has a single max frame size configuration register, so we
track the requested MTU for each port and apply the largest.

v2:
- Address review feedback from Vladimir Oltean

Signed-off-by: Jonathan McDowell <noodles@earth.li>
Acked-by: Vladimir Oltean <olteanv@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/dsa/qca8k.c
drivers/net/dsa/qca8k.h