Commit 3ccc8d47 authored by Ioana Radulescu's avatar Ioana Radulescu Committed by Greg Kroah-Hartman

staging: fsl-dpaa2/eth: MTU cleanup

Don't set the lower MTU limit explicitly, since we use
the default value anyway.
Signed-off-by: default avatarIoana Radulescu <ruxandra.radulescu@nxp.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 0c047227
......@@ -2383,8 +2383,7 @@ static int netdev_init(struct net_device *net_dev)
return err;
}
/* Set MTU limits */
net_dev->min_mtu = 68;
/* Set MTU upper limit; lower limit is 68B (default value) */
net_dev->max_mtu = DPAA2_ETH_MAX_MTU;
/* Set actual number of queues in the net device */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment