]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitde638454531c37e086bf1b0eea8be508503395c6
treef9dde818b4a88d7b13cebd45a2e9d005669ca294
parentbe8dd05662999574d4285c3ae841e9b00aacd57e
parentfba794fe3ec923a2611d12c3209e8e223486ac18
Merge branch 'net-lan966x-fixes-for-when-mtu-is-changed'

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>