Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp638386imm; Mon, 9 Jul 2018 08:03:55 -0700 (PDT) X-Google-Smtp-Source: AAOMgpfBom5qI6Cu9b9lqjLOGJ2YsGfrM8rFP7h2wMsqu9GaqdZStV9lWhxBQLLwf2tm3TfiP5ri X-Received: by 2002:a17:902:8a94:: with SMTP id p20-v6mr20651560plo.258.1531148635126; Mon, 09 Jul 2018 08:03:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1531148635; cv=none; d=google.com; s=arc-20160816; b=z2IQHAZDlbtrRE64P92WsKc9RihxPDSTxvSxkFbxTy1nmVsJt8aTGkwQoQRYhL2SI2 T38M3j9fEhN/45oO28XMYMPPNXCRIQf40Pmqj8o5tFRqM8RPcRt03zE8It+Im0HWwWfF OD3UsE/TKofxcBQ2sG73LUXR0c2FJLpFNNav9ACMvhn8ucw8ci4pOudi4X6InnZpgdrb zKkLKjv/OK4ITM3MtzAxJhAG4WE8/qJKFF2b9AL/2SvN3nSZ8q1MHh+xkvmotnXZCmNd YH/yfEJmuf7fTRyDFXhCeNPmVODsVpWa4Ms8cJ9ZUBOZRdSrjpEIjnnGcZfr9oKG7ODd p/Mw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:spamdiagnosticmetadata :spamdiagnosticoutput:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature:arc-authentication-results; bh=kTWDXRCmUDV+gTwv1eGVRVpcXzU4du3KBep3CbZJxzI=; b=dRmjmIXqbF7joht9kXDH3jhC/cFrmxdmt2UcK8fwbGso+rWPv1yucgCT3QdB3KpPO/ rVze5AYPiwjMrbsnf0oyJeUQ1Rh9g4NpiRDpRbQ/TP7qAtFB4Z4tWalREPty5jL0n8Z1 lIbCjTYBktELaxdUNW48PqZa4rgDQsD7n+y42Ro8K+h8IVVT/C5JLwZm9l0C74smjIJU oCgKMVDjR/Rj7TDsayXFE9fRZIZX+K1wzUfxsWvTpheA1MTV2N2fyqL+AFukjWgoamYW TRJjOEbnn3aX7C7SEkqhwNoCCazXT4StyQopB8wBQitLH/mGLymrrYCaYa9Z+tZc/IAU qk2Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nxp.com header.s=selector1 header.b=Xn1FZ+6G; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nxp.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 1-v6si15322242pla.509.2018.07.09.08.03.40; Mon, 09 Jul 2018 08:03:55 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@nxp.com header.s=selector1 header.b=Xn1FZ+6G; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933388AbeGIPBm (ORCPT + 99 others); Mon, 9 Jul 2018 11:01:42 -0400 Received: from mail-eopbgr50080.outbound.protection.outlook.com ([40.107.5.80]:9760 "EHLO EUR03-VE1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S933369AbeGIPBh (ORCPT ); Mon, 9 Jul 2018 11:01:37 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=kTWDXRCmUDV+gTwv1eGVRVpcXzU4du3KBep3CbZJxzI=; b=Xn1FZ+6GT4fBqDxru4XM6x96v860dKfL0+oNcKjlepSHJ2QX1v7S+eWx39iB+oB/rcMmKzqiPm3p0V3cnJMmid5qtu2C03MRTDcmRWzs8IyVA+CT5AjTUDqYisfo0odcsCQiko2eemZMGElXHuqrgU6tAYNt0ryNRfOSEDUX8Fo= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=ruxandra.radulescu@nxp.com; Received: from rhuath.am.freescale.net (64.157.242.222) by AM3PR04MB339.eurprd04.prod.outlook.com (2a01:111:e400:881e::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.930.21; Mon, 9 Jul 2018 15:01:32 +0000 From: Ioana Radulescu To: gregkh@linuxfoundation.org Cc: devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org, ioana.ciornei@nxp.com Subject: [PATCH 4/5] staging: fsl-dpaa2/eth: MTU cleanup Date: Mon, 9 Jul 2018 10:01:10 -0500 Message-Id: <20180709150111.8875-5-ruxandra.radulescu@nxp.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20180709150111.8875-1-ruxandra.radulescu@nxp.com> References: <20180709150111.8875-1-ruxandra.radulescu@nxp.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [64.157.242.222] X-ClientProxiedBy: SN4PR0501CA0085.namprd05.prod.outlook.com (2603:10b6:803:22::23) To AM3PR04MB339.eurprd04.prod.outlook.com (2a01:111:e400:881e::19) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 4a739c0e-62e7-4124-fb56-08d5e5acdc74 X-MS-Office365-Filtering-HT: Tenant X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:(7020095)(4652040)(8989117)(5600053)(711020)(4534165)(4627221)(201703031133081)(201702281549075)(8990107)(48565401081)(2017052603328)(7153060)(7193020);SRVR:AM3PR04MB339; X-Microsoft-Exchange-Diagnostics: 1;AM3PR04MB339;3:i9TwLIa1QhfJ6a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+sw/j0IM3JEY9Y7UKxuIviScuqxsK9nUI1mc4zN3PcKqMqWvo3tEm5Q4h8A//mbAC49vCp0yC2CzzOXtFOsZZpKxgUxvaEMyJMq5LPKoZTsXarinw79v/FoeL9zMeFPpRtVmMsPAOrZb4+6oNDkYZzUtSwrolArKwKjI3axWuIxYD2gWUcUIhdvAN88mLkueCJcAL04cKJcLmPggWNPr2sd3zvTjwD4+q7FIX2xj2h1UIBp1T09SZYjmffB2ZI32QqOQSEUsZ5DeylDl88xDQ+Xip8QkUDi1PDu+sT8YGEvehQP7t93KDoBH9t5yUV+AnPG9ImQEl;4:0zs85C74SyEt/eR48B7jbu4QVTSz+hAi1ACBrHx5Y9Z5cvidM/Btp/sgYtuTMhTmr5JdQyfqrBJlUcYv3YdPz9bhCJ7+P/qaU18ZtdiiFGCEBmdJoVywXxWREvKcS5Hshso1b72I0KI/WllxGOmu0YOmRhKhYvUmNYwBkgdazolMqOqCbo44+JQlB+adP6AvilPtPNhfoYhVI6T0xavP1UpS/60ioZjjP8qDSHOtpjQcKta88CTgjIcRpiPM3BcbRv2FKfAGvzH2g0Nl1ff/IjhXBYT+0Ah8kv0vmTFWdq0qh8Tr+bF3o8plswbU3wxU X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(185117386973197); X-MS-Exchange-SenderADCheck: 1 X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(8211001083)(6040522)(2401047)(5005006)(8121501046)(93006095)(93001095)(3231311)(944501410)(52105095)(10201501046)(3002001)(6055026)(149027)(150027)(6041310)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123558120)(20161123564045)(20161123562045)(20161123560045)(6072148)(201708071742011)(7699016);SRVR:AM3PR04MB339;BCL:0;PCL:0;RULEID:;SRVR:AM3PR04MB339; X-Forefront-PRVS: 07283408BE X-Forefront-Antispam-Report: SFV:NSPM;SFS:(10009020)(396003)(136003)(366004)(376002)(346002)(39860400002)(189003)(199004)(68736007)(4326008)(25786009)(53936002)(446003)(6916009)(6666003)(1076002)(5660300001)(486006)(956004)(2616005)(8676002)(81166006)(81156014)(8936002)(305945005)(14444005)(3846002)(7736002)(11346002)(6116002)(97736004)(478600001)(2351001)(86362001)(6506007)(186003)(316002)(16586007)(76176011)(16526019)(106356001)(50466002)(51416003)(50226002)(52116002)(48376002)(26005)(105586002)(2906002)(476003)(47776003)(66066001)(2361001)(386003)(6486002)(6512007)(36756003);DIR:OUT;SFP:1101;SCL:1;SRVR:AM3PR04MB339;H:rhuath.am.freescale.net;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;MX:1;A:1; Received-SPF: None (protection.outlook.com: nxp.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1;AM3PR04MB339;23:gIenGexlSTI61bwpucFJz3EcmBRd4Ub/0eg7M0mbvj?= =?us-ascii?Q?6og+UWEDhf3ec9oXEY3I8Ax73h+NnN7BCdF7K4dZoUUndpI5QCUzNT3Y1kV9?= =?us-ascii?Q?ShTyVy+3p/PxEuguR/sBGucv58GkeqdkZJj1hKZqC+gVC2PI2j3IGgyg3xDb?= =?us-ascii?Q?hiBf4uPVctklpjs5R5SmQeF/GBUaHjfK0rkHqIgACQqvKbLvgiF2VQkUCw+c?= =?us-ascii?Q?86tny66cfnJxVxYK9XjuNc/Z0y8A62ifP2p+0LTiA774c5MMut1yDz2s38jW?= =?us-ascii?Q?ifRG/X4GsJ8kslyOoRtTcBUMsD784K2ss1gdlzDAqxoUoDyn2/+VRSn6XBQP?= =?us-ascii?Q?h/8DrYh9TkCmfm+FbFpxJVFZLTG9Ibtzerft8wYlzUvkLaovb8lK4tcIq3cZ?= =?us-ascii?Q?ZDd4gF9fwQgVTNAQyUuTS8/4b66fonAJpkqLITaMYDmkwG6epy6r/w9b4MDe?= =?us-ascii?Q?9D5gpM+AgbgZu8aapFKlQyGW8mPz9RvgdE6v3u5Q2VrbQPu3r/jmNvC1WO7r?= =?us-ascii?Q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f289ya3xUKAMi+tdWeubjMZzRA9AoiRfvnkFsghCFze6OZ8gKjPo7JVLZODZ2quq5hfQYpMtju/GDMga7RS265Rx1iFRqmbvB3TUDcukw8m3rqSe6XZeTq29l6WgiHyoXtdwdQ9YgcuYgydGmTixJCa2xwItKU42s8obuD+xwWRsaBJ0XrwzaDUvUYleaJiDbBNS/8XBG6r9+S+1Y2Y= X-Microsoft-Exchange-Diagnostics: 1;AM3PR04MB339;6:ZipBPic75VjruRwnPwMUIP/V3avswvXkpB652nlcnrOM8wDKuaOsa/P5MeeUqnSeJjX1fM9oQKf7U6AHBV6vfRmYIPNyEfmzt3w06NUyJpqUM3WCuHyR6dkwIbZF6acZ9q2MLLHmJUEbhnYsUY831HaquY2fICJB+VMlmhOe4Sufbq/ta6hfSNf9SHQOULLkoPBAbXpmU3gYMmGHmqCvA3UucbmttNQNhkiNDWX/laS/XLJesy53X0JigjRgVAipn5pNarhus2n7+B403T0rNCN9AU2afyKhmutFgWOh7s1emnxAsGAVhaTDQSMWZJE3IA22YuZ6cyMg4uCl9DYRqUI7LuPsa254haNumMENcnRy/vFuaWSO/+YF+JtF9pIXXvZje8WL94vqgzquwUU7FohLPV/sVSUH80RkafMDev2Mxx8eAklliPhAJRhtCxX5w/12YfW1zqfc6S1hJ6ZvcQ==;5:Agjh6xoUMdwMlhzV22KmsE+fGoeh5RRw2roaawSNeEQxOYp0Jiy7pFVFq7nSS1bqrq2V9azj03YwA0FVSCukIExWPyyDGIqUzxoi3DULdPWWJQ5gE5VYsDprX0w7uR7Fcyum9xmzY26rxV+L5M11hSnxeqE2bQqNBtWk8xRC3vw=;24:1/k00In54OqK3zleV68gjJZI8O7zPA2L+LEs+hvZZDqT0lAfxhyRm8EiErawwb6bSX0WhoSCyNHeAKCThIlUWkQ27eyaOk4Ho+3Z6ScewiI= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1;AM3PR04MB339;7:czdJcBUgowr2RuDg3dSc/8MMFlcrcAhbnvaRnaAXavAXj8p6o7SV8Hx5uRAJNkCpQqErYkOgwR1oUpTzuDhFX6nrt5FBtF4xhzZvpAofA71sG0aDH3c+BH4VpOI+ZP9neiYAtLR60uBsiWFMU2Dzz70KKrkPYiJSFXvndymXrwqIz9vdDABmgFywXtrqcys+/W4fEXKfSmLK3SycQdXpVNKQpWxQBetKAl9YLvtBh4cklQ9/Ayeebns2rZe6sOY5 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 09 Jul 2018 15:01:32.8270 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 4a739c0e-62e7-4124-fb56-08d5e5acdc74 X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM3PR04MB339 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Don't set the lower MTU limit explicitly, since we use the default value anyway. Signed-off-by: Ioana Radulescu --- drivers/staging/fsl-dpaa2/ethernet/dpaa2-eth.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/staging/fsl-dpaa2/ethernet/dpaa2-eth.c b/drivers/staging/fsl-dpaa2/ethernet/dpaa2-eth.c index 439b260..24e069c 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 */ -- 2.7.4