Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp1354977pxu; Sat, 5 Dec 2020 12:56:21 -0800 (PST) X-Google-Smtp-Source: ABdhPJwzfldd++Joouot8dJPlQAUtm8VDKDakD1Y1CqqsfC6YgQWN1MQH1Me/sATVyFACEUi3sxm X-Received: by 2002:a17:907:6e6:: with SMTP id yh6mr12972433ejb.512.1607201781646; Sat, 05 Dec 2020 12:56:21 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1607201781; cv=none; d=google.com; s=arc-20160816; b=KwJVVXoi4aAJRiLE+1Tt2NmSbNr8rSMcrJnjstdsYhqzrI+AxCpliQQBLa8tYeWWP6 ffNks9KQ50umv1WCDozJdNdFjPXAd3DT8chWlH7QT8VMaSxq6skYCIHXMS49vr1N2OZV FoGeqPL+/lDFZZx02M8qtYys6nfn7ISTfoO/X388q263bhaOuFkL4HJ+scyyBKjBR6O5 yBHJa9uq0d7o9p52gJbyBuYiHCYBoGJBONBCcUCPMJig+KKxK7Vrd6Epbpe5NouElp+H aVrSMBf6da9jSVSfWSRtS1efLUDNMVX+FnC7UsKR26D9dtiKAOQOPcXGiRyMNZ8hu2Md SM/g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:dkim-signature :date; bh=DPfy0gYk2Pvs+LRxMMeee0EO3he1Gt/JLkC9pbW0L7I=; b=fD2DEXkTjbVyC/T2fs6AOxafiB1dosqv6MpePqFmdyf5LNuNEVYZCx2HySFKMtjas0 El3rjpBRcgyEX3kAuPxR/n95cEnWP/XX3SW+Kp7xmKzfYj9/xLPJimlQapZmnf0bWV/L eK1o5rLLbA9+UqY0qmfijAdtHVA9nG1dMVFJ5xWVbkDBSf/CThrKQUOkD7RFYpW2vVJV ZKr6YCqwVNG0629D68BmoT2lQyxs5SVMkBLi7UAlGTbfIBNbx/cDreQdjaFF8J2YzBmq OOtOSYj1NzohZ7wpKOtho6m7AoZd2pM0US553GHVL5UdoM9IQSx7e4+zzz3DZTj779k8 kM9A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=XjLCieWX; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id q23si3999887eja.104.2020.12.05.12.55.58; Sat, 05 Dec 2020 12:56:21 -0800 (PST) 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; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=XjLCieWX; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726133AbgLEUyd (ORCPT + 99 others); Sat, 5 Dec 2020 15:54:33 -0500 Received: from mail.kernel.org ([198.145.29.99]:54570 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725270AbgLEUyc (ORCPT ); Sat, 5 Dec 2020 15:54:32 -0500 Date: Sat, 5 Dec 2020 12:53:51 -0800 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1607201632; bh=uUWQNjkzP7jsDA3hiG3fn47VNCNDg6puRbpmbUSoqew=; h=From:To:Cc:Subject:In-Reply-To:References:From; b=XjLCieWXIm6u9BddBMaTSLjRjSBqYozZZtAuX4WYNSgGOXBggGw8bQpNXPv4mCFkx aJVrWlp0Y4044T/EwN1cyjYjsHfe5S48jhYbjkX3GjJLoA5akyMU8ZYn7fEJC46TFL oNf8l5w+376M2S+L39d1/Jv9YsOyH8omIEnsPi3A3YGfXdIp3z1IJsAuXlWIPpsDoh Yov5Hh5MsUQZih8EIlQ6fKakYy5AWIwEwp6mXeENpv/0PQtHfojcpfz+AcbS3viH89 vUV7ZsgC0V3/fyF6A309vg4zjwek9xtHUpT38hiYneb7CVmvwOnQsCI36tZkRqMJEO /rMzuG1EiWr7A== From: Jakub Kicinski To: Rasmus Villemoes Cc: Li Yang , "David S. Miller" , Qiang Zhao , netdev@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Vladimir Oltean Subject: Re: [PATCH 00/20] ethernet: ucc_geth: assorted fixes and simplifications Message-ID: <20201205125351.41e89579@kicinski-fedora-pc1c0hjn.DHCP.thefacebook.com> In-Reply-To: <20201205191744.7847-1-rasmus.villemoes@prevas.dk> References: <20201205191744.7847-1-rasmus.villemoes@prevas.dk> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, 5 Dec 2020 20:17:23 +0100 Rasmus Villemoes wrote: > While trying to figure out how to allow bumping the MTU with the > ucc_geth driver, I fell into a rabbit hole and stumbled on a whole > bunch of issues of varying importance - some are outright bug fixes, > while most are a matter of simplifying the code to make it more > accessible. > > At the end of digging around the code and data sheet to figure out how > it all works, I think the MTU issue might be fixed by a one-liner, but > I'm not sure it can be that simple. It does seem to work (ping -s X > works for larger values of X, and wireshark confirms that the packets > are not fragmented). > > Re patch 2, someone in NXP should check how the hardware actually > works and make an updated reference manual available. Looks like a nice clean up on a quick look. Please separate patches 1 and 11 (which are the two bug fixes I see) rebase (retest) and post them against the net tree: https://git.kernel.org/pub/scm/linux/kernel/git/netdev/net.git/ so they are available for backports. The reset should go into net-next: https://git.kernel.org/pub/scm/linux/kernel/git/netdev/net-next.git/ Please indicate the tree in the tag like [PATCH net] or [PATCH net-next] so the test bots know which base to use for testing. Thanks!