Revert "net: dsa: mv88e6xxx: Limit chip-wide frame size config to CPU ports"
This reverts commit 4324f66a7a
.
This commit is contained in:
parent
2e56e9f4fd
commit
683ecba589
1 changed files with 1 additions and 2 deletions
|
@ -2774,8 +2774,7 @@ static int mv88e6xxx_change_mtu(struct dsa_switch *ds, int port, int new_mtu)
|
|||
mv88e6xxx_reg_lock(chip);
|
||||
if (chip->info->ops->port_set_jumbo_size)
|
||||
ret = chip->info->ops->port_set_jumbo_size(chip, port, new_mtu);
|
||||
else if (chip->info->ops->set_max_frame_size &&
|
||||
dsa_is_cpu_port(ds, port))
|
||||
else if (chip->info->ops->set_max_frame_size)
|
||||
ret = chip->info->ops->set_max_frame_size(chip, new_mtu);
|
||||
mv88e6xxx_reg_unlock(chip);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue