Article View: linux.kernel.netdev
Article #18757Re: [PATCH net-next v3 1/2] net: sfp: add 2500base-X quirk for ODI DFP-34X-2C3
From: Andrew Lunn
Date: Wed, 18 Nov 2026 20:32
Date: Wed, 18 Nov 2026 20:32
43 lines
9796 bytes
9796 bytes
On Wed, Nov 18, 2026 at 02:08:44PM -0600, icue.retsam.diman wrote: > > Hi Andrew, > > I tested the module without the quirk using an unmodified OpenWrt SNAPSHOT build (r38465-2ccaccdb98) for the GoodTop GT-SWTXG8FM (realtek/rtl930x). > > The ODI DFP-34X-2C3 successfully establishes a 1000base-X link with autonegotiation enabled. > > The ethtool lan8 output confirms: > > Advertised link modes: 1000baseX/Full > > Link partner advertised link modes: 1000baseX/Full > > Advertised auto-negotiation: Yes > > Link partner advertised auto-negotiation: Yes > > Speed: 1000Mb/s > > Duplex: Full > > Auto-negotiation: on > > Link detected: yes > > With the quirk, I was able to establish a 2500 Mb/s link with speed and duplex forced and autonegotiation disabled. > > Therefore, the module works with 1000base-X autonegotiation without the quirk, while the quirk enables 2500base-X operation. Thanks for testing. You could add a Tested-by: if you want. That will help get the change merge. What i was afraid of is that for some reason 2500BaseX is rejected by the other end, and it will only work at 1000BaseX. For a traditional SFP, that would be true if the SFP on the other end of the fibre could only do 1000BaseX. But this is not a traditional SFP, it is XPON. Can the OLT say no to 2500BaseX, or is this purely down to what the ONT can do? Andrew
Technical Details
Message-ID:
<ed0f62db-f2fc-45ff-9ccf-5aa3e50c243b@lunn.ch>Path:
mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srl.newsdeef.eu!news.mb-net.net!open-news-network.org!news.nntp4.net!nntp.xenet.de!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-366438-linux-kernel-netdev=dewy.ruReferences:
<20261118162323.436219-1-github@bumblecito.com> <20261118162323.436219-2-github@bumblecito.com> <e1584dcf-bb90-4e54-8f97-f52ea3da85dc@lunn.ch> <4fb66a63-b483-4777-9fe4-b94ccbe733b3@SynologyNAS>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srl.newsdeef.eu!news.mb-net.net!open-news-network.org!news.nntp4.net!nntp.xenet.de!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-366438-linux-kernel-netdev=dewy.ru From: andrew@lunn.ch (Andrew Lunn) Newsgroups: linux.kernel.netdev Subject: Re: [PATCH net-next v3 1/2] net: sfp: add 2500base-X quirk for ODI DFP-34X-2C3 Date: Wed, 18 Nov 2026 21:32:45 +0100 Organization: Usenet Network Message-ID: <ed0f62db-f2fc-45ff-9ccf-5aa3e50c243b@lunn.ch> References: <20261118162323.436219-1-github@bumblecito.com> <20261118162323.436219-2-github@bumblecito.com> <e1584dcf-bb90-4e54-8f97-f52ea3da85dc@lunn.ch> <4fb66a63-b483-4777-9fe4-b94ccbe733b3@SynologyNAS> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Injection-Info: usenet.network; logging-data="2693418"; mail-complaints-to="abuse@usenet.network" Cancel-Lock: sha1:MDthJzRwsNdcke0Xw6HRdRMZuek= sha256:R0NbAzXSvZpH+PdCtJ1W5q7xiEcqBarTYSECmfNLEi0= sha1:z2A5KXwwnYmkX7ifgXzEcnuzY6Q= sha256:XjvJdrEj1jC9aSOYp+jBi0eHZUbB/w+y8SVUm6RqKN8= 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 52FDD1153D4; Wed, 18 Nov 2026 23:38:17 +0300 (MSK) X-Virus-Scanned: Debian amavisd-new at usenet.network X-Spam-Flag: NO X-Spam-Score: -3.051 X-Spam-Status: No, score=-3.051 tagged_above=-9999 required=6.31 tests=[DCC_REPUT_70_89=0.1, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.249, 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 L-yJStjn4r7t; Wed, 18 Nov 2026 23:38:12 +0300 (MSK) X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=104.64.211.4; helo=sin.lore.kernel.org; envelope-from=netdev+bounces-366438-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 sin.lore.kernel.org (sin.lore.kernel.org [104.64.211.4]) by mail.dewy.ru (Postfix) with ESMTPS id D41441153C6; Wed, 18 Nov 2026 23:38:00 +0300 (MSK) X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92]) by sin.lore.kernel.org (Postfix) with ESMTP id AF77F88DB9; Wed, 18 Nov 2026 20:33:09 +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=1795033982; b=A+WCfNgEM4pmYqY77u0FG4JHMnqOHxVUNEGa4cUf9IY4hNc7FhPQnSsjS7wzZVX7BA90 ry6hdQZVdy7FncQjhYzSneJRJo1roolfHIDFV1Crg/rWmrBEkRDG+q3c+L+TUdndLINOJ ZzfV0P0TQILd/H5Psj/ynyu6vfhV165i4HqFr9EjInt1AE+gHdpYqSR2T81HVrTbiBmPv VC8lNMmbTkD6CdXJ5MzoZjomLaFZn4QDSxKIdssPw2qWqjTNacUpP+WnoYomE0+pIQUrH de6eT8epTDiEUe5sewK6w38gdq7vw0TJbTvsnWJDgHfjqp6+OpljN3NO+jJ7xU58yNg== X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1795033982; 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=CE9KX+XM7Bcw7+DivHRX4MOTdxHgdid3BtllF5iTvEE=; b=A0MFESaDYKKLmnXlhCNSZXYbPGBh1qEeVsBvxY17hdw2LYFo+8UUp680865zXvhzoN3n bBYolaaMo3z5yUQANXaIX2JqFHlhfxrjG25St4eB1wZAS+bU++IODfobeQAf9eZWj7T7r RvD9gYsm2DsytSAFV7/ulksN3di83QRV4mCbOimhEg6HSn6Cpi/qZeQB2p9yu8QN/jDZA O4GZ+cVs1HjCCCWqLA5IQNMDpafOl5HpabBoeOjplKSpZXlYQpz1XXaAwfR/8ZITJKAO8 YO9S0yGx2vWYWzGgylE3l+459rashkfpZ14jeei4lbNcf9Su9mYI4efAzUToFodrHIQ== 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=BdWyfG1J; 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 0A8F4606A337; Wed, 18 Nov 2026 20:33:02 +0000 (UTC) X-Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=lunn.ch header.i=@lunn.ch header.a=rsa-sha256 header.s=20171124 header.b=BdWyfG1J 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=1795033976; b=Suf/fWKsnSlYq71GZSI/oIjw0q4ObQ8iqyerAxUQVS6svi57qR4nnW+9TM7uIHZM4D1l MKSBGhgecQ4iZeggmpIV7oAKAErp46d1uHG5ae8EQJQXbWqMgfwvJZ5VPdF7l1BHfg3Mc qEXNZnLpFEMEfinCUOt2G/ZAL9FFzd7BMvGfkrApuf9Q9zYQimYXae9RTfl3MjxCt/olV MS9+RiHGEe6/verxgrXs5NMW1Zv9Vf0+OtHdBfzH7JnwHP5bRw6euR+lJZvsL+j4Ypf4T iyqbm3QRVSvIu6dOT521tiqt0XUeHKkjjL40FHZneXhOVRBn4kd4/xGeqRIic7SNgDg== X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1795033976; h=DMARC-Filter:DKIM-Signature:Received:Date:From:To:Cc:Subject: Message-ID:References:MIME-Version:Content-Type:Content-Disposition: In-Reply-To; bh=CE9KX+XM7Bcw7+DivHRX4MOTdxHgdid3BtllF5iTvEE=; b=GSiAK6KVjNUlMph947opsT3BhH+4bWVIYq+M+r9cpsDlEhC294YatxW+1ulYrURCbJTD I16nR/nhdnclPCigu8PCSYrCYmGAu4iYpGOYLKI5GJTxYGoSyv0fE8wLbbbBBnxGliAvF PYzROiTzYX4cmaYyuFuor+OaypuKqq0y5lY8+3Qv/rGPpCM5i5CmlCo86tu5Mzwozdc5q nl6ND/lGsjZdytFqLhoaknQul+LyKuA7lKIiB0D9i7tmnOSkP0/nPbNDb/fRBa3NRbmc9 DWs8xQGzoTP27mSqebt02zSM2D90aMcBjn/onVgSo3LXMmBN8TMlyyoY4de89NDx9qw== 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=BdWyfG1J; 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 D7995606A33B; Wed, 18 Nov 2026 20:32:55 +0000 (UTC) X-DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org D7995606A33B 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=CE9KX+XM7Bcw7+DivHRX4MOTdxHgdid3BtllF5iTvEE=; b=BdWyfG1JUzpST0tcCcJLxlFxQI +Fsz773xvsuO30/qnytndAkWZC9w1GKyQIxkoS/FgiJR6AoTNsBq+4z8E2Z5rmqa9v5aJLvj0Sg41 sFvwGgfQmwOgmjqIBWQRoVUBra5A5CHoLvlny4mYAG+88+03A4oQCgcX3VK7wPnnLxgk=; X-Received: from andrew by vps0.lunn.ch with local (Exim 4.94.2) (envelope-from <andrew@lunn.ch>) id 1xTmKj-00HVff-2t; Wed, 18 Nov 2026 21:32:45 +0100 X-Cc: github@bumblecito.com, Russell King <linux@armlinux.org.uk>, Heiner Kallweit <hkallweit1@gmail.com>, "David S . Miller" <davem@davemloft.net>, Eric Dumazet <edumazet@kernel.org>, Jakub Kicinski <kuba@kernel.org>, Paolo Abeni <pabeni@redhat.com>, netdev@vger.kernel.org, linux-kernel@vger.kernel.org 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: <4fb66a63-b483-4777-9fe4-b94ccbe733b3@SynologyNAS>