From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-wr1-f42.google.com (mail-wr1-f42.google.com [209.85.221.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 3AAF42F0685 for ; Tue, 18 Nov 2025 20:02:22 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.42 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1763496144; cv=none; b=EARFXhZw+SxSI7zTLC3Ys3t+g6cslaoitt83A0q67s6ElU7sJWqlL65FmGBO7H0W1b2BsNFnuxat69qDs9NxcpX20Lsg6lR1grY0+CWWJK4wIj4W1ot4sIvijF6b8mPWjNY+pHGbB45vtaJhrrKfUJ7IlN4ks6gh26bUuQJo9lY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1763496144; c=relaxed/simple; bh=CKn6PKW2vuSE0Z5h+0ILh/4ECVDG71EHVEwN6mcRvNg=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=U2S3eeRlsfFsIjzDFDsglsIp0bD/+ag3/gmo6ZDfukpDwBd1dvbZWqz/f5fNMDW1h9NPDxWHpqDh7cIGajlPF2YW6xggKVWRXjaOWnBeedcyNBBQq+JlUJwCCDkrm6RL/5iabJqI7ZW5TlmnGQOu9Uk5K5LHJ70HUlhBCZmfd6o= 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=Z1znWSqv; arc=none smtp.client-ip=209.85.221.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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="Z1znWSqv" Received: by mail-wr1-f42.google.com with SMTP id ffacd0b85a97d-42b47f662a0so84352f8f.0 for ; Tue, 18 Nov 2025 12:02:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1763496140; x=1764100940; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=E9eTMEVkW1xNiE9PqQ5snGtAxfd66QMGM9GqQRGyhUc=; b=Z1znWSqv3QN2UWIcaILUsbbFmbYOsC3nX83b5hsEgHGLge9BuPAr/NBkkem921YPkT BywJoYRJa3LwAgNvRx93sv43O1pcCrGommZDMdjrYOSam/aP8LzV2peidqxgJUCzjRd8 MVhw/WT9H7AbMxlJojyrRpXNUbO6u7jhYd2AmUJx3If7Pml6qbxjqxNkZoFoxD5dvib+ DOgfk0lGTK+IDf9liEe9wykgfEQBWubU3Y95LkQegPbspLHsZCRP/BkmHrixC3dYIUqe SbyFg5DxOsU8rCtkT6IMIlW3luprKFUjcFkq2QKYkElsuQzzg++foScltpyx0wnVe+Bp Skrg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1763496140; x=1764100940; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :x-gm-gg:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=E9eTMEVkW1xNiE9PqQ5snGtAxfd66QMGM9GqQRGyhUc=; b=daJw0pPjDC3dXHq6EKZE/nvtrQ5rm9pOM9zc18zcKPFxLjvx00JWZX/40GyoybZmem CcWWl2pbs+6d0ZrrfnTEOphOQq8R2ygH3IH5IE0PXWbb4ajzG/ELP6ho7mH5MtvUvWS3 9zDyQIISKSQJ0fyYy6WmKGu0+AS9o6SDFZ1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CxaKS+MVRaVwCbyPFgBHZ6NVRfVSaxuj8FFFbS7Q== X-Received: by 2002:a5d:5f92:0:b0:429:d253:8619 with SMTP id ffacd0b85a97d-42cb1920a61mr142300f8f.5.1763496140340; Tue, 18 Nov 2025 12:02:20 -0800 (PST) Received: from ?IPV6:2003:ea:8f37:1a00:5d3:6147:37fb:5feb? (p200300ea8f371a0005d3614737fb5feb.dip0.t-ipconnect.de. [2003:ea:8f37:1a00:5d3:6147:37fb:5feb]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-42b53dea1c9sm34070297f8f.0.2025.11.18.12.02.19 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 18 Nov 2025 12:02:19 -0800 (PST) Message-ID: Date: Tue, 18 Nov 2025 21:02:22 +0100 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH] r8169: add support for RTL8127ATF To: Andrew Lunn , Fabio Baltieri Cc: nic_swsd@realtek.com, Andrew Lunn , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , netdev@vger.kernel.org, linux-kernel@vger.kernel.org References: <20251117191657.4106-1-fabio.baltieri@gmail.com> <89298d49-d85f-4dfd-954c-f8ca9b47f386@lunn.ch> Content-Language: en-US From: Heiner Kallweit In-Reply-To: <89298d49-d85f-4dfd-954c-f8ca9b47f386@lunn.ch> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 11/18/2025 8:31 PM, Andrew Lunn wrote: >> I see, unfortunately all I have for this NIC is the out of tree Realtek >> driver and it does not seem to implement the API for reading the module >> EEPROM data, and there's no datasheet available, so I'm afraid that >> either the Realtek folks pick this up or it's not going to happen. > > Heiner is of the opinion it is not going to happen. > Realtek seems to do all SFP handling in firmware, w/o providing info about to which extent this firmware can be controlled via chip registers. A contact in Realtek confirmed that only 1G and 10G speeds are supported. He wasn't sure whether copper SFP modules are supported, and will check internally. I'll try to strip down the patch as far as possible, likely supporting 10G only in the beginning (as 1G requires some more vendor magic to configure). I assume the typical user won't spend money on a 10G card to use it with a 1G fiber module. Reducing complexity of the patch should make the decision easier to accept it. I don't have hw with RTL8127ATF, so I would give the patch to Fabio for testing. > Andrew Heiner