Merge branch 'net-lan966x-fixes-for-when-mtu-is-changed'
authorJakub Kicinski <kuba@kernel.org>
Wed, 2 Nov 2022 04:18:20 +0000 (21:18 -0700)
committerJakub Kicinski <kuba@kernel.org>
Wed, 2 Nov 2022 04:18:21 +0000 (21:18 -0700)
Horatiu Vultur says:

====================
net: lan966x: Fixes for when MTU is changed

There were multiple problems in different parts of the driver when
the MTU was changed.
The first problem was that the HW was missing to configure the correct
value, it was missing ETH_HLEN and ETH_FCS_LEN. The second problem was
when vlan filtering was enabled/disabled, the MRU was not adjusted
corretly. While the last issue was that the FDMA was calculated wrongly
the correct maximum MTU.
====================

Link: https://lore.kernel.org/r/20221030213636.1031408-1-horatiu.vultur@microchip.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>

Trivial merge