Article View: linux.kernel.netdev
Article #8103Re: [PATCH v3 3/7] net: dsa: mediatek: add support for passthrough mode
From: Andrew Lunn
Date: Wed, 28 Oct 2026 02:07
Date: Wed, 28 Oct 2026 02:07
7 lines
8714 bytes
8714 bytes
> +static int
> +mt7530_port_change_mtu(struct dsa_switch *ds, int port, int new_mtu);
Please don't add forward declaration, move the code around.
Andrew
Technical Details
Message-ID:
<d4564675-fa56-42df-8c5c-cff14f7884f9@lunn.ch>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-352699-linux-kernel-netdev=dewy.ruReferences:
<20261028011317.1557238-1-cjd@cjdns.fr> <20261028011317.1557238-4-cjd@cjdns.fr>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-352699-linux-kernel-netdev=dewy.ru From: andrew@lunn.ch (Andrew Lunn) Newsgroups: linux.kernel.netdev Subject: Re: [PATCH v3 3/7] net: dsa: mediatek: add support for passthrough mode Date: Wed, 28 Oct 2026 03:07:43 +0100 Organization: Usenet Network Message-ID: <d4564675-fa56-42df-8c5c-cff14f7884f9@lunn.ch> References: <20261028011317.1557238-1-cjd@cjdns.fr> <20261028011317.1557238-4-cjd@cjdns.fr> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Injection-Info: usenet.network; logging-data="1681454"; mail-complaints-to="abuse@usenet.network" Cancel-Lock: sha1:XrVTjhil9Yjv+PxkvSo/q7kmIdM= sha256:JicReFlDOBbYO3e4/J/TIEIiJmnJePM+Z5CoYbsMtUg= sha1:8v7triQkV8VosXII97dA01oG5Nw= sha256:1NJpjKNpPTuw5n9Ro9n5JR77W2qsXFqLckWJfNzhpMw= Content-Disposition: inline List-ID: <netdev.vger.kernel.org> X-Mailpost-Empty-Hdrs: X-Spam-Level X-Received: from localhost (localhost [127.0.0.1]) by mail.dewy.ru (Postfix) with ESMTP id 48AFA125C2A; Wed, 28 Oct 2026 05:08:51 +0300 (MSK) X-Virus-Scanned: Debian amavisd-new at usenet.network X-Spam-Flag: NO X-Spam-Score: -1.95 X-Spam-Status: No, score=-1.95 tagged_above=-9999 required=6.31 tests=[DCC_CHECK=1.1, DCC_REPUT_70_89=0.1, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.25, MAILING_LIST_MULTI=-1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no X-Authentication-Results: mail.dewy.ru (amavisd-new); dkim=pass (1024-bit key) header.d=lunn.ch X-Received: from mail.dewy.ru ([127.0.0.1]) by localhost (mail.dewy.ru [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id QoEjt0qGmtJN; Wed, 28 Oct 2026 05:08:46 +0300 (MSK) X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.105.105.114; helo=tor.lore.kernel.org; envelope-from=netdev+bounces-352699-linux-kernel-netdev=dewy.ru@vger.kernel.org; receiver=<UNKNOWN> X-Authentication-Results: OpenDMARC; dmarc=fail (p=none dis=none) header.from=lunn.ch X-Received: from tor.lore.kernel.org (tor.lore.kernel.org [172.105.105.114]) by mail.dewy.ru (Postfix) with ESMTPS id 4CF23125C1D; Wed, 28 Oct 2026 05:08:34 +0300 (MSK) X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92]) by tor.lore.kernel.org (Postfix) with ESMTP id D73532DFDA; Wed, 28 Oct 2026 02:08:17 +0000 (UTC) X-Authentication-Results: smtp.subspace.kernel.org; arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1 X-ARC-Seal: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=pass; t=1793153297; b=DIwZg5/22tTsoYpaSsIEa359k1Y7nA0roQynBSuDymqwXWCwsOGBgeNEMExT0nPZWOt6 etf1XhWzYL+T32N7R+EAJsl09Z0j5QP2Khv2fE3hi1QBq8PWmvbF+ro/1Lt4ZMFPYhsI7 Ki4raAIirnkGoZustUaPv1UvZ/7vNMgmLh+G6dX283q02IhZvWNayf52dvndM6l5uR/pY OQbnjDAomMmxKDycRJ1TOTquSs3xSv1wiFoda/ca/0yetM/uIo0q5L2iOb21kYWreJo+T a2JLgZWgRFinStNuECka3oulbwaOhe9LI7vaD9McdbxBjJvcg0+Ka2QtrZmBmYEOfJA== X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1793153297; h=X-Original-To:Received:DMARC-Filter:DKIM-Signature:Received:Date: From:To:Cc:Subject:Message-ID:References:X-Mailing-List:List-Id: List-Post:List-Help:List-Subscribe:List-Unsubscribe:List-Owner: Precedence:MIME-Version:Content-Type:Content-Disposition:In-Reply-To; bh=x975RPbjrU50lC41m9HmrVr6NK7q9GoZJG5+jFFHqw4=; b=vMFnqERBfPOyuTV5XGO6hp9Tfq6fltrM7d0L+OjsxZ6+e9uAUTyug6RZEBfzi/KmUyVz PIvV7rim73p1pO1SE2guJUIWter5l5IeAu1EXnVHcn5JG6jPY+gRYwAIEaJ2/Tv1cXSn+ 8EyJEvCkZEHFHXZfmj6SdW57psXxrm8K73NZXCBJovNJi1wJBSXNuhihxxZYmBRqvJoLv ULuqauiXV5XCXogn8EZ2ncxCIDV747F1qw7SnrYB/BJphu1tiSOifPXZnd1qWiylLuww9 vuxXBwlAwx+HkzI0BBqOnZBxbZIqRARAE+GhiUFjmeRqlKynaX4xmonL/cWAGCER+pg== X-ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dkim=pass header.d=lunn.ch header.i=@lunn.ch header.a=rsa-sha256 header.s=20171124 header.b=Q6z2hs+y; dmarc=pass header.from=lunn.ch; spf=pass smtp.mailfrom=lunn.ch; arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1 X-Received: from localhost.localdomain (localhost [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 8F625606A31D; Wed, 28 Oct 2026 02:08:17 +0000 (UTC) X-Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key, unprotected) header.d=lunn.ch header.i=@lunn.ch header.a=rsa-sha256 header.s=20171124 header.b=Q6z2hs+y X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=156.67.10.101 X-ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1793153281; b=n2of0uXROiSTyFqky+3N4p8VWum6XV+eHYV4xg8USjqgSK04ks6wlfnqx0HSwu1aiP0n SxluxKpdV9lKJoDNW+yo14zrdaRlCFRyixG+BjUmzD+ynaewO85Vn7wpCHI3D8PUxZG4h ZejUxOXmfnQ+hQD2kiHWgf8G77PaSHa61mEyVjiA5QdY9Y6pgDWA6wOHRK85Z9jwYnQuw 01IIqn2zXnstAa3Y2ur1z3leP6O7tTMhVNJtFo5skhiWPFk1HCx+DfdIoPVgpEJjq8dCx B0S+ThwuAB5SwdUPiqvnbUpK1+bmzs1yXEI2sEabgrW+Z5N4wEBieUNjFpZgD9Ia89A== X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1793153281; h=DMARC-Filter:DKIM-Signature:Received:Date:From:To:Cc:Subject: Message-ID:References:MIME-Version:Content-Type:Content-Disposition: In-Reply-To; bh=x975RPbjrU50lC41m9HmrVr6NK7q9GoZJG5+jFFHqw4=; b=R4RUZRCITp3QzfTS41t66dWxpfNWSTxIR66zy23cZFgcc57PU3QNtEOm25mw0ol4WZhK FEFEZe2PdafdwJ+UOjhus9jvKAH0w9N+yiVa7qbbtCXPBaXnoCw4UXO4RP4kjE1euNKpR swxvWWkdi8w/6byID41pVX1NkhKW68pBxjnhWtiL06Ea6TJiYejjSugvcABxJGsyGinWr SBK2f3zfwsPERDrZjLwKnrl6NFeVsLnX4iX5xzTGnBqu3z+xpzkyZdNu+UEVf98j8Pz6A fq3Fxx9izuDbavOfsW8oSlFBTtoqlDLyEcmaNYDVy40fhAVsd5edMNcUQ5rIWjUuvWg== X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=lunn.ch; spf=pass smtp.mailfrom=lunn.ch; dkim=pass header.d=lunn.ch header.i=@lunn.ch header.a=rsa-sha256 header.s=20171124 header.b=Q6z2hs+y; arc=none smtp.remote-ip=156.67.10.101 X-Received: from vps0.lunn.ch (vps0.lunn.ch [156.67.10.101]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (prime256v1) server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id D80CB606A31A; Wed, 28 Oct 2026 02:08:00 +0000 (UTC) X-DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org D80CB606A31A X-Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=lunn.ch X-Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=lunn.ch X-DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lunn.ch; s=20171124; h=In-Reply-To:Content-Disposition:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:From:Sender:Reply-To:Subject: Date:Message-ID:To:Cc:MIME-Version:Content-Type:Content-Transfer-Encoding: Content-ID:Content-Description:Content-Disposition:In-Reply-To:References; bh=x975RPbjrU50lC41m9HmrVr6NK7q9GoZJG5+jFFHqw4=; b=Q6z2hs+yY4rVCwBAW1v5bDfhbc /YM28bMKMNrW7s2hX5/5WTigXP856vo/9TrVFTFfkQxkcYvK+2nx7IW6XunU99c84Gy2thnSSN3Ad ecnXZdpSF+X98YRTdpfuEO0LIceyl6/yu/rg2wsz86xHDr1hGrLnYkxVE79bN4wcOWao=; X-Received: from andrew by vps0.lunn.ch with local (Exim 4.94.2) (envelope-from <andrew@lunn.ch>) id 1xLt4p-00D2ks-DD; Wed, 28 Oct 2026 03:07:43 +0100 X-Cc: netdev@vger.kernel.org, olteanv@gmail.com, davem@davemloft.net, edumazet@google.com, kuba@kernel.org, pabeni@redhat.com, robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org, matthias.bgg@gmail.com, angelogioacchino.delregno@collabora.com, chester.a.unal@arinc9.com, daniel@makrotopia.org, linux@armlinux.org.uk, arinc.unal@arinc9.com, Landen.Chao@mediatek.com, dqfext@gmail.com, sean.wang@mediatek.com, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, naseefkm@gmail.com, b.larsson@gmx.com X-Mailing-List: netdev@vger.kernel.org X-List-Post: <mailto:netdev@vger.kernel.org> X-List-Help: <mailto:netdev+help@vger.kernel.org> X-List-Subscribe: <mailto:netdev+subscribe@vger.kernel.org> X-List-Unsubscribe: <mailto:netdev+unsubscribe@vger.kernel.org> X-List-Owner: <mailto:netdev+owner@vger.kernel.org> X-Precedence: list X-In-Reply-To: <20261028011317.1557238-4-cjd@cjdns.fr>