summaryrefslogtreecommitdiff
path: root/drivers/staging/fsl-dpaa2
diff options
context:
space:
mode:
authorIoana Radulescu <ruxandra.radulescu@nxp.com>2018-07-09 18:01:10 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-07-10 13:32:35 +0300
commit3ccc8d475f9e29b87a8f0d114994a7a01c415ce4 (patch)
tree5c0f3f89207a9a200d5bafc37bd2377327af8ec2 /drivers/staging/fsl-dpaa2
parent0c047227578f64d96d12df0f93c2e53e67272278 (diff)
downloadlinux-3ccc8d475f9e29b87a8f0d114994a7a01c415ce4.tar.xz
staging: fsl-dpaa2/eth: MTU cleanup
Don't set the lower MTU limit explicitly, since we use the default value anyway. Signed-off-by: Ioana Radulescu <ruxandra.radulescu@nxp.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/fsl-dpaa2')
-rw-r--r--drivers/staging/fsl-dpaa2/ethernet/dpaa2-eth.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/staging/fsl-dpaa2/ethernet/dpaa2-eth.c b/drivers/staging/fsl-dpaa2/ethernet/dpaa2-eth.c
index 439b260a58bf..24e069c574b0 100644
--- a/drivers/staging/fsl-dpaa2/ethernet/dpaa2-eth.c
+++ b/drivers/staging/fsl-dpaa2/ethernet/dpaa2-eth.c
@@ -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 */