net: dsa: b53: add MTU configuration support
authorMurali Krishna Policharla <murali.policharla@broadcom.com>
Fri, 27 Mar 2020 19:55:44 +0000 (21:55 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 27 Mar 2020 23:07:25 +0000 (16:07 -0700)
commit6ae5834b983ac191ce2a66fbdc59bb33477a63cc
treeaf0e6d6680243b1aa10c9c29e7bf6d65f0dac617
parentbff33f7e2ae2e805a4b0af597b58422185c68900
net: dsa: b53: add MTU configuration support

It looks like the Broadcom switches supported by the b53 driver don't
support precise configuration of the MTU, but just a mumbo-jumbo boolean
flag. Set that.

Also configure BCM583XX devices to send and receive jumbo frames when
ports are configured with 10/100 Mbps speed.

Signed-off-by: Murali Krishna Policharla <murali.policharla@broadcom.com>
Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Acked-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/dsa/b53/b53_common.c