]> 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)
commit2b647864a570acba6954c0211ac15d496f1873f0
treef9dde818b4a88d7b13cebd45a2e9d005669ca294
parentc4cd0c62b478dd1c77a72dde87567421db98efab
parentb459601460156111b4fca8a67b2ea942a76c4a07
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>