Received: by 2002:a05:7412:bbc7:b0:fc:a2b0:25d7 with SMTP id kh7csp514980rdb; Thu, 1 Feb 2024 15:59:01 -0800 (PST) X-Google-Smtp-Source: AGHT+IHMr8pkv7OsKA+PK74dQio4If2SPu6Dk1xbnK8YGoTQ42xk92O+W6bAPbSwmORNp8xXjuwl X-Received: by 2002:a05:6358:284:b0:172:d79f:1841 with SMTP id w4-20020a056358028400b00172d79f1841mr4328759rwj.7.1706831940722; Thu, 01 Feb 2024 15:59:00 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706831940; cv=pass; d=google.com; s=arc-20160816; b=IBtZehrEog9wglanSVjIC1kImccSjz5Wm81dpslAzQ87LFMcG4JCKDDDrwUaHnNAug x+y/nVfLW8Kh5ph+n3//QM5iC2J3hJgei05+RfuzytRCYiTM73shDxvgrV15FzBsEAuE hXRippn0wZwZiJ8o0G5F6DK6XHpEC5TOjvaH+nbneUkrPfsd+otdbXgm781jp4FHE1p8 1OOe2XRJ3RnebbL3dj0ddrjtQhNae3myAFjJJ/eEtwiy4Hl0k2jfRtLC9VxGTugVjAR2 icJ0VK5vKQFGBv/Y1t6QgJZkeZl/DLB7Senx1v40t/T2+uG8eL9jlsnGXOBTtAiUK9Ll CP1g== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :references:message-id:subject:cc:to:from:date:dkim-signature; bh=adT4iPkCMRDOEL5rMrtGnul/qErFA+76SbIs85UohKw=; fh=mvyPdQO9HAacu1UAJHFT31tjxqh13ZJwn7huvN2Eu8E=; b=kpm/YB/9RjirVvSupGOFyFaHuqm5HPs/W52ce4GYsTG7JjPBjBTC67+d3aWVF4PFvv p3RZE5gw8BG6E9nn7N1DjrwCKQw6HErVio1yDKh/MulTk5c4l3uL5ejxC88uBA/6gTZ0 Ubd3FblQSEhecPC5egUlyZdb/p7w6g+/T7aNIBxLPwLTig+2tGfsvCxczVPVLe67J8WW whWwZ1TpiIe31XuO5IvGzPOoTrz8PPkjHcbNX6KZT6ZdbMz1P8rb/B5THzOhc41/bREd VxP5eeLbHygh3DX9nh6iEu5C0V4rKiWIFZrD62CSZ4CU3WtjZtNh6nNKF9tyEsfoQQwx vQHg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=VfO2deg1; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-49011-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-49011-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com X-Forwarded-Encrypted: i=1; AJvYcCUZvCzFMqDrw1OxwDYwvjdSZAeI/jTHPXmUztj4SCVDiYLu+5BOikR2Ksl6VC0LUBJ0gyLSezkgLpc8w/1mF0DpAFiLQJ3et3eaciKQOA== Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id q7-20020a63e207000000b005d8b6af16b4si531782pgh.577.2024.02.01.15.59.00 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 01 Feb 2024 15:59:00 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-49011-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=VfO2deg1; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-49011-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-49011-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id D5AD7284C4B for ; Thu, 1 Feb 2024 23:57:21 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id CAB0447F75; Thu, 1 Feb 2024 23:57:11 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="VfO2deg1" Received: from mail-ed1-f42.google.com (mail-ed1-f42.google.com [209.85.208.42]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 643483F8DA; Thu, 1 Feb 2024 23:57:09 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.42 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706831831; cv=none; b=IP0+1GypcMwIEhiyKvdFjS+W5JStGBks6WezC2eUKY8jyPP3sNFgxtdN9rB9cO7qplOLYj5FaS6yk9cgTzpqA8OU10kzeGx3S0a20+4n5N19sI4XUdCa+RgpWoypj7GNH3ynaK9IbbJAYTALBzP3+0k3b2rxg7jVBU+/RXHfMz8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706831831; c=relaxed/simple; bh=adT4iPkCMRDOEL5rMrtGnul/qErFA+76SbIs85UohKw=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=CxWGFzrLJnKzzfFpYmjAE9TGQOhdJxv2ET8IQNftTxvkvSYSROXDEkPcw1fAK9OHx51DXaeXWGIEDFE7Y3V0UE+YXBdyjODN4uTtMHRD7+C+lqG01pUpfnV0X4W7v5Lfik7sUtX8S7Ily6QymmqeLwURNglJudvKKDXxpAKQZZ4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=VfO2deg1; arc=none smtp.client-ip=209.85.208.42 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-ed1-f42.google.com with SMTP id 4fb4d7f45d1cf-55fc7f63639so1482224a12.1; Thu, 01 Feb 2024 15:57:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1706831827; x=1707436627; darn=vger.kernel.org; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:message-id:subject:cc:to:from:date:from:to :cc:subject:date:message-id:reply-to; bh=adT4iPkCMRDOEL5rMrtGnul/qErFA+76SbIs85UohKw=; b=VfO2deg1Th8agzKwW/rDp3aZoJpf5TPb4tZ2bFCogNbslOoB1X0j/x7rtcP3QdOLJj wTOW1ruIVGhNA/LaNkiOP7nkY+/pPi4fa4/v7pc577D6jHFx3VDXyhV2yjG2AFHRO/Ez ebr4tcFwzFv8IdS+DchxVLOShAMfg+a3Ii5s5jqDtKG74L4qay0PlEWsZDbeGM2dVG0i O2bk0Xl9OZLFZsTN466vBuA5K86ATKxv7ZqJoBjyY/7x7kcZ4MIQ76ApanGBpHX907NY 2Bh0pshgsbGWCeqDzGUdH/IDHuXevZVdvEAMSNiw5vUYlCpRXDw7Ea8isUopNXNRvTy+ 9v3g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706831827; x=1707436627; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=adT4iPkCMRDOEL5rMrtGnul/qErFA+76SbIs85UohKw=; b=h1dGSJsC0jm0BVJzjZ1TkrhuUgoSrOrLyoN4vvmD+lY1YOdv6yvrG6Dsn9vUxSEEYy 7r1Zt3PeHsKi5FoYxMIJYxS2RAfxAfFe12ezAH3Aj+KAW9s/zmPKlpJ+cuCkDdiI2IVS TlyS87dKFsOSlNpTrARzNbSMLcc89sEjK6mJgfZQHcSE3+lqAn3BDjbV6O79uZbqQfX0 HB4KyWMg/rOk9/xpAB9LyppUDOvAt77BqNIMu8hRMGVZ5+qK6p6l/42Crx9XsOUH0+YU Shio9YwKYaTvjOVgniqMoLeoVI7nJyIEVJxLVJOuGm+A+n+qz/8KYyBWl38jZVpQISC4 zFBg== X-Gm-Message-State: AOJu0YxRHX/o+Pr4Q697lvTDZOuTctxR4ABt2YskdRC1YZwU54bpp19t y1EAXkPlGfEhELVgT27jzVtDTCO2zjQlyojfshGJDlvNovJobIyw X-Received: by 2002:a17:906:6d15:b0:a35:dd08:c7ab with SMTP id m21-20020a1709066d1500b00a35dd08c7abmr2828558ejr.26.1706831827348; Thu, 01 Feb 2024 15:57:07 -0800 (PST) X-Forwarded-Encrypted: i=0; AJvYcCVUl2qS8vXJYPNH/8CEBWNcoQvNoq8VNnDC5tiT41ug2qx6eB9httdjpfEMwq1/GeIzcQFfDnW3mKXY65DN75xVqDEvnMTCerLFrxvvOyFvezJ1SON+S1aj+OhUPRy5gm4dnsAoxWxbguCFfELUikvKYxwh7Fcr1gnoXhwxt3Qpi+yimXcBy/NHWY6OkacFyjE3LVc+5BYunCYhLNDTgi6jmlRF5ptJ/o3bHHHs5GwoJHT2G1AkfPZfTZc8i81lYlkl8jgvVADxirW3Kj/YzYqlh8vSrib4k3VoeaowMo3ZwwctSD6YCLjjxsDPWoKkjRza8v67yIQkF3b5r4abMlmi/bdy4gxkwi2ztKapPBTNn+sdwGhPkBKbA0Hkd+euAyC/hJkb0py1E2qcBCT83Ui9yAHyx7F/1cvOtWfZ+Swdg1HgDRKxMPa2YrSWCBHSHoTH9ga/2USLPtDxdxmu/7PAuTQ/Yz6tnK+gr+5fn6GcT3i2WBj9PI9kFIr0EW0ouCqqmeGd/c5nAf3C5qV2nfj7hIWRe7RJYblxAEx4V7LNlXExsWhaJ++GSB3yTs2WXWHy5yiE4jPqNpfC1OFgvnvwdd9tIkutlR66JRpfuESHB5O2NSbFOsVVzZaBoHALpjeJeLKrtEJoP3mibkjDIbPtO/bvUY9F Received: from skbuf ([188.25.173.195]) by smtp.gmail.com with ESMTPSA id vu12-20020a170907a64c00b00a31c5caa750sm277937ejc.177.2024.02.01.15.57.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 01 Feb 2024 15:57:07 -0800 (PST) Date: Fri, 2 Feb 2024 01:57:04 +0200 From: Vladimir Oltean To: =?utf-8?B?QXLEsW7DpyDDnE5BTA==?= Cc: Daniel Golle , DENG Qingfang , Sean Wang , Andrew Lunn , Florian Fainelli , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Matthias Brugger , AngeloGioacchino Del Regno , Russell King , mithat.guner@xeront.com, erkin.bozoglu@xeront.com, Bartel Eerdekens , netdev@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org Subject: Re: [PATCH net-next v2 5/7] net: dsa: mt7530: simplify mt7530_setup_port6() and change to void Message-ID: <20240201235704.6wxbkpli3dk4pn4w@skbuf> References: <20240130-for-netnext-mt7530-improvements-2-v2-0-ba06f5dd9eb0@arinc9.com> <20240130-for-netnext-mt7530-improvements-2-v2-5-ba06f5dd9eb0@arinc9.com> <77c38489-8a73-4b00-bd82-48174b4d620f@arinc9.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <77c38489-8a73-4b00-bd82-48174b4d620f@arinc9.com> On Tue, Jan 30, 2024 at 08:46:04PM +0300, Arınç ÜNAL wrote: > would supposedly achieve 2 Gbps TX & 2 Gbps RX Source? Commit 8efaa653a8a5 ("net: ethernet: mediatek: Add MT7621 TRGMII mode support") says "TRGMII speed is 1200MBit.". > Unless the MediaTek SoC ethernet driver somehow caps TRGMII to 1 Gbps, > I consider this whole TRGMII shenanigans a scam I laughed :) You have to see whether the CPU isn't in fact at 100% already, becoming a bottleneck before the interface speed does. Also, mtk_eth_soc.c has an interesting comment "TRGMII is not permitted on MT7621 if using DDR2" - not sure if applicable to your setup or not. I just got myself an ASUS RT-AX1800U (uses the mt7621_asus_rt-ax53u.dts device tree AFAICT) which I'll be setting up with OpenWrt in the weeks to come, and on which I might also be able to run some tests from time to time.