Skip to content

net: dsa: b53: assorted jumbo frame fixes

Jonas Gorski lkml netdev 1 version Applied

Status from this message: This series was applied to netdev/net.git (main)

Get series with b4
b4 am [email protected] change-id 20241003-b53_jumbo_fixes-95ff690b1d9e

Versions newest first

  1. v1 Latest5 patches 5 repliesApplied 5/5

Patches in v1 All 5 applied

#Subject and filesSizeRepliesApplied
1/5net: dsa: b53: fix jumbo frame mtu checkdrivers/net/dsa/b53/b53_common.c+1 -11 replyApplied
2/5net: dsa: b53: fix max MTU for 1g switchesdrivers/net/dsa/b53/b53_common.c+4 -11 replyApplied
3/5net: dsa: b53: fix max MTU for BCM5325/BCM5365drivers/net/dsa/b53/b53_common.c+6 -01 replyApplied
4/5net: dsa: b53: allow lower MTUs on BCM5325/5365drivers/net/dsa/b53/b53_common.c+1 -11 replyApplied
5/5net: dsa: b53: fix jumbo frames on 10/100 portsdrivers/net/dsa/b53/b53_common.c+1 -11 replyApplied

Reviews trailers per patch

All 5 patches have a Reviewed-by or Acked-by.

PatchFlorian Fainelli
1/5R-b
2/5R-b
3/5R-b
4/5R-b
5/5R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/5] net: dsa: b53: assorted jumbo frame fixes

While investigating the capabilities of BCM63XX's integrated switch and its DMA engine, I noticed a few issues in b53's jumbo frame code.

Mostly a confusion of MTU vs frame length, but also a few missing cases for 100M switches.

Tested on BCM63XX and BCM53115 with intel 1G and realtek 1G NICs, which support MTUs of 9000 or slightly above, but significantly less than the 9716/9720 supported by BCM53115, so I couldn't verify the actual maximum frame length.

---
Jonas Gorski (5):
net: dsa: b53: fix jumbo frame mtu check
net: dsa: b53: fix max MTU for 1g switches
net: dsa: b53: fix max MTU for BCM5325/BCM5365
net: dsa: b53: allow lower MTUs on BCM5325/5365
net: dsa: b53: fix jumbo frames on 10/100 ports

 drivers/net/dsa/b53/b53_common.c | 17 +++++++++++++----
 1 file changed, 13 insertions(+), 4 deletions(-)

---
base-commit: 8beee4d8dee76b67c75dc91fd8185d91e845c160
change-id: 20241003-b53_jumbo_fixes-95ff690b1d9e

Best regards,

Signature · 1 line
Jonas Gorski <[email protected]>