Message ID | 20230530083916.2139667-2-lukma@denx.de (mailing list archive) |
---|---|
State | Accepted |
Commit | dd4144e54e811729b2a1ff28e1dab380aad5293e |
Delegated to: | Netdev Maintainers |
Headers | show |
Series | dsa: marvell: Add support for mv88e6071 and 6020 switches | expand |
On 5/30/23 01:39, Lukasz Majewski wrote: > Switches from mv88e6250 family (including mv88e6020 and mv88e6071) need > the possibility to setup the maximal frame size, as they support frames > up to 2048 bytes. > > Signed-off-by: Lukasz Majewski <lukma@denx.de> > Reviewed-by: Andrew Lunn <andrew@lunn.ch> Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
diff --git a/drivers/net/dsa/mv88e6xxx/chip.c b/drivers/net/dsa/mv88e6xxx/chip.c index 64a2f2f83735..b5e43dd40431 100644 --- a/drivers/net/dsa/mv88e6xxx/chip.c +++ b/drivers/net/dsa/mv88e6xxx/chip.c @@ -5043,6 +5043,7 @@ static const struct mv88e6xxx_ops mv88e6250_ops = { .avb_ops = &mv88e6352_avb_ops, .ptp_ops = &mv88e6250_ptp_ops, .phylink_get_caps = mv88e6250_phylink_get_caps, + .set_max_frame_size = mv88e6185_g1_set_max_frame_size, }; static const struct mv88e6xxx_ops mv88e6290_ops = {