Commit dbdd5290 authored by Janne Grunau's avatar Janne Grunau Committed by sanglipeng
Browse files

nios2: dts: Fix tse_mac "max-frame-size" property

stable inclusion
from stable-v5.10.185
commit d59293f082dcccef2208716bcf95ce6b8de5341d
category: bugfix
bugzilla: https://gitee.com/openeuler/kernel/issues/I8L5XP

Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=d59293f082dcccef2208716bcf95ce6b8de5341d



--------------------------------

commit 85041e12 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: 95acd4c7 ("nios2: Device tree support")
Fixes: 61c610ec ("nios2: Add Max10 device tree")
Cc: <stable@vger.kernel.org>
Signed-off-by: default avatarJanne Grunau <j@jannau.net>
Signed-off-by: default avatarDinh Nguyen <dinguyen@kernel.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: default avatarsanglipeng <sanglipeng1@jd.com>
parent 66c84d63
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment