OSDN Git Service

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)
commit70644f722f0d297ca3c7664939f0bd3595eec14b
treef9dde818b4a88d7b13cebd45a2e9d005669ca294
parent6c412da54c80a54b1a8b7f89677f6e82f0fabec4
parent872ad758f9b7fb4eb42aebaf64e50c5b29b7ffe5
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>