Revert "net: dsa: b53: Limit chip-wide jumbo frame config to CPU ports"

This reverts commit 23d58869be.
This commit is contained in:
Ksawlii 2024-11-24 00:23:56 +01:00
parent d3f5815f54
commit 2e56e9f4fd

View file

@ -2180,9 +2180,6 @@ static int b53_change_mtu(struct dsa_switch *ds, int port, int mtu)
if (is5325(dev) || is5365(dev))
return -EOPNOTSUPP;
if (!dsa_is_cpu_port(ds, port))
return 0;
enable_jumbo = (mtu >= JMS_MIN_SIZE);
allow_10_100 = (dev->chip_id == BCM583XX_DEVICE_ID);