]> git.baikalelectronics.ru Git - kernel.git/commit
net: dsa: vsc73xx: make the MTU configurable
authorVladimir Oltean <vladimir.oltean@nxp.com>
Fri, 27 Mar 2020 19:55:46 +0000 (21:55 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 27 Mar 2020 23:07:25 +0000 (16:07 -0700)
commit0560348c46adeed908d51752ad0de683c9701d9d
tree07d944f9acf6794d12f1eada2dacc690d6855eee
parentb6f01a92c94b8a4af4810416473bb91a3eaf47b9
net: dsa: vsc73xx: make the MTU configurable

Instead of hardcoding the MTU to the maximum value allowed by the
hardware, obey the value known by the operating system.

Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/dsa/vitesse-vsc73xx-core.c