diff options
| author | Maxime Chevallier <maxime.chevallier@bootlin.com> | 2026-09-17 23:53:36 +0200 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2026-09-22 18:51:17 -0700 |
| commit | b42e7012773a0e81e97a2dda6ef907f5147a6658 (patch) | |
| tree | 9cbca6d71032dad7caaf7e334c9184b68f5508b1 /tools/perf/scripts/python | |
| parent | 960db6f65788c21249ea04a947d5c01e38d19294 (diff) | |
| download | linux-b42e7012773a0e81e97a2dda6ef907f5147a6658.tar.gz linux-b42e7012773a0e81e97a2dda6ef907f5147a6658.zip | |
net: stmmac: dwmac4: Use the correct bufzise when the len is exactly 8K
DMA bufsize selection isn't made on the MTU but the actual frame length,
so including the L2 header. On DWMAC4, if the len is exactly BUF_SIZE_8KiB,
the next larger size is incorrectly selected.
Lets fix the comparison and while at it, rename the parameter from len
to mtu.
Fixes: c3efed5ad1b0 ("net: stmmac: Enable dwmac4 jumbo frame more than 8KiB").
Signed-off-by: Maxime Chevallier <maxime.chevallier@bootlin.com>
Reviewed-by: Nicolai Buchwitz <nb@tipi-net.de>
Link: https://patch.msgid.link/20260917215339.2022523-6-maxime.chevallier@bootlin.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
