]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
nios2: dts: Fix tse_mac "max-frame-size" property
authorJanne Grunau <j@jannau.net>
Sun, 12 Feb 2023 12:16:32 +0000 (13:16 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 21 Jun 2023 13:44:10 +0000 (15:44 +0200)
commite1fb47f13970063557c4723e420d57291aeb12e1
tree70934c21b910f3907b48530713ff73f8ccb8da44
parent5e531f448e5a59978e76f83c889ed367e3f5bd65
nios2: dts: Fix tse_mac "max-frame-size" property

commit 85041e12418fd0c08ff972b7729f7971afb361f8 upstream.

The given value of 1518 seems to refer to the layer 2 ethernet frame
size without 802.1Q tag. Actual use of the "max-frame-size" including in
the consumer of the "altr,tse-1.0" compatible is the MTU.

Fixes: 95acd4c7b69c ("nios2: Device tree support")
Fixes: 61c610ec61bb ("nios2: Add Max10 device tree")
Cc: <stable@vger.kernel.org>
Signed-off-by: Janne Grunau <j@jannau.net>
Signed-off-by: Dinh Nguyen <dinguyen@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/nios2/boot/dts/10m50_devboard.dts
arch/nios2/boot/dts/3c120_devboard.dts