aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorTomas Hlavacek <tmshlvck@gmail.com>2026-01-30 11:23:01 +0100
committerJakub Kicinski <kuba@kernel.org>2026-02-02 19:15:02 -0800
commit3125fc17016945b11e9725c6aff30ff3326fd58f (patch)
tree20b257cb93671c703a4c44e139f54790f8aa2096 /tools/perf/scripts/python
parentMerge branch '100GbE' of git://git.kernel.org/pub/scm/linux/kernel/git/tnguy/... (diff)
downloadlinux-3125fc17016945b11e9725c6aff30ff3326fd58f.tar.gz
linux-3125fc17016945b11e9725c6aff30ff3326fd58f.zip
net: spacemit: k1-emac: fix jumbo frame support
The driver never programs the MAC frame size and jabber registers, causing the hardware to reject frames larger than the default 1518 bytes even when larger DMA buffers are allocated. Program MAC_MAXIMUM_FRAME_SIZE, MAC_TRANSMIT_JABBER_SIZE, and MAC_RECEIVE_JABBER_SIZE based on the configured MTU. Also fix the maximum buffer size from 4096 to 4095, since the descriptor buffer size field is only 12 bits. Account for double VLAN tags in frame size calculations. Fixes: bfec6d7f2001 ("net: spacemit: Add K1 Ethernet MAC") Cc: stable@vger.kernel.org Signed-off-by: Tomas Hlavacek <tmshlvck@gmail.com> Link: https://patch.msgid.link/20260130102301.477514-1-tmshlvck@gmail.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions