Received: by 2002:a25:ca44:0:0:0:0:0 with SMTP id a65csp2317646ybg; Thu, 30 Jul 2020 16:57:54 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzBuV8Wr5L4w6/E/g3WspJxOBwi1UZwjd88/NtgwQeqqblDk+IR+gfzETHOYb3kQoxx6Cla X-Received: by 2002:a17:906:f290:: with SMTP id gu16mr1506187ejb.502.1596153474431; Thu, 30 Jul 2020 16:57:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1596153474; cv=none; d=google.com; s=arc-20160816; b=QeD1xBNOtr55pc78eGU2vCjg0V1GUaUELtSiO4t03l7JGXQtMycv3kYkHlGI2vV+9Z oGX84WaRZs/NTJTjwjcP9huF+wSG1tK8FXDvGMGcb1oiKmBiTemItHfMTnQ4FqUQunjW B2jCnGU9xoNVvblyQJtxUNtKTl4sozgwnivJTxFoRWh8pZ91Uuf9WzNLJmbIwnTwRpr9 sBy5OMmHcWtaXpSnjWY2kWrVsnydkrqTx+HhJFy3GBvxzvIjSFg3HKjzU/eGbqUaT+2d dJAw82jrATeCBtKsTSnR8V5/YKYf/J5f/fgWJ/JTiA6oDHi6m0wzRcp1+DL6LdhnRo6P 9fKw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:from:subject:cc:to:message-id:date; bh=cL8HTvbXfpYGURumdvTO0RMdLqXaMKsoJp7holKGbqs=; b=ClAt55AWCpV0aXTUHm9jaLlnUBGpugK+9mC+5cOfEK0r3ffTYqtnrFuYYT43vs4RNH IMgLdLpf7NohBCzpW0mklS6PsT6vWKeAP8HZXkGJJvimXvIYK6p7fCqCrE9thXj2Ka/E fIHkUleszstEN4CiPWkcGR/1weVGMmqyHX7JwGfsWZldUcKiT67EXFW5AK9yjbRLAaPO GiYS8AGrGsnUrHB9LH4Rfd6UQZNMqtkcBktwnjUu1+uA0yVjl5Yw1XonHA7xxXWGyjzb 3uBzQmE4iSy4+ROirhKmOAIcTRZK+k0ANui+r06Xn/ZllTQE9POZTVR5aOc6hMUqVCUz w0Ew== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id lh27si4261091ejb.545.2020.07.30.16.57.29; Thu, 30 Jul 2020 16:57:54 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730812AbgG3X47 (ORCPT + 99 others); Thu, 30 Jul 2020 19:56:59 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58014 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728047AbgG3X47 (ORCPT ); Thu, 30 Jul 2020 19:56:59 -0400 Received: from shards.monkeyblade.net (shards.monkeyblade.net [IPv6:2620:137:e000::1:9]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 35566C061574; Thu, 30 Jul 2020 16:56:59 -0700 (PDT) Received: from localhost (unknown [IPv6:2601:601:9f00:477::3d5]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) (Authenticated sender: davem-davemloft) by shards.monkeyblade.net (Postfix) with ESMTPSA id 13449126C2B42; Thu, 30 Jul 2020 16:40:13 -0700 (PDT) Date: Thu, 30 Jul 2020 16:56:57 -0700 (PDT) Message-Id: <20200730.165657.817406443198525975.davem@davemloft.net> To: frank-w@public-files.de Cc: linux-mediatek@lists.infradead.org, landen.chao@mediatek.com, nbd@nbd.name, john@phrozen.org, sean.wang@mediatek.com, Mark-MC.Lee@mediatek.com, kuba@kernel.org, matthias.bgg@gmail.com, netdev@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, andrew@lunn.ch Subject: Re: [PATCH v4] net: ethernet: mtk_eth_soc: fix MTU warnings From: David Miller In-Reply-To: <20200729081517.4026-1-frank-w@public-files.de> References: <20200729081517.4026-1-frank-w@public-files.de> X-Mailer: Mew version 6.8 on Emacs 26.3 Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.5.12 (shards.monkeyblade.net [149.20.54.216]); Thu, 30 Jul 2020 16:40:13 -0700 (PDT) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Frank Wunderlich Date: Wed, 29 Jul 2020 10:15:17 +0200 > From: Landen Chao > > in recent kernel versions there are warnings about incorrect MTU size > like these: > > eth0: mtu greater than device maximum > mtk_soc_eth 1b100000.ethernet eth0: error -22 setting MTU to include DSA overhead > > Fixes: bfcb813203e6 ("net: dsa: configure the MTU for switch ports") > Fixes: 72579e14a1d3 ("net: dsa: don't fail to probe if we couldn't set the MTU") > Fixes: 7a4c53bee332 ("net: report invalid mtu value via netlink extack") > Signed-off-by: Landen Chao > Signed-off-by: Frank Wunderlich > Reviewed-by: Andrew Lunn > --- > v3->v4 > - fix commit-message (hyphernations,capitalisation) as suggested by Russell > - add Signed-off-by Landen > - dropped wrong signed-off from rene (because previous v1/2 was from him) Applied, thank you.