Netdev List
 help / color / mirror / Atom feed
From: Heiner Kallweit <hkallweit1@gmail.com>
To: Jian-Hong Pan <jian-hong@endlessm.com>,
	Linux Netdev List <netdev@vger.kernel.org>,
	Yan-Hsuan Chuang <yhchuang@realtek.com>
Cc: Linux Upstreaming Team <linux@endlessm.com>
Subject: Re: Driver support for Realtek RTL8125 2.5GB Ethernet
Date: Wed, 2 Oct 2019 07:54:06 +0200	[thread overview]
Message-ID: <71ccd182-beec-31f4-5a25-a81a7457ca55@gmail.com> (raw)
In-Reply-To: <a3066098-9fba-c2f4-f2d3-b95b08ef5637@gmail.com>

On 26.07.2019 21:05, Heiner Kallweit wrote:
> On 24.07.2019 22:02, Heiner Kallweit wrote:
>> On 24.07.2019 10:19, Jian-Hong Pan wrote:
>>> Hi all,
>>>
>>> We have got a consumer desktop equipped with Realtek RTL8125 2.5GB
>>> Ethernet [1] recently.  But, there is no related driver in mainline
>>> kernel yet.  So, we can only use the vendor driver [2] and customize
>>> it [3] right now.
>>>
>>> Is anyone working on an upstream driver for this hardware?
>>>
>> At least I'm not aware of any such work. Issue with Realtek is that
>> they answer individual questions very quickly but company policy is
>> to not release any datasheets or errata documentation.
>> RTL8169 inherited a lot from RTL8139, so I would expect that the
>> r8169 driver could be a good basis for a RTL8125 mainline driver.
>>
> Meanwhile I had a look at the RTL8125 vendor driver. Most parts are
> quite similar to RTL8168. However the PHY handling is quite weird.
> 2.5Gbps isn't covered by Clause 22, but instead of switching to
> Clause 45 Realtek uses Clause 22 plus a proprietary chip register
> (for controlling the 2.5Gbps mode) that doesn't seem to be accessible
> via MDIO bus. This may make using phylib tricky.
> 
In case you haven't seen it yet: Meanwhile I added RTL8125 support to
phylib and r8169, it's included in 5.4-rc1. I tested it on a
RTL8125-based PCIe add-on card, feedback from your system would be
appreciated. Note that you also need latest linux-firmware package
from Sep 23rd.

>>> [1] https://www.realtek.com/en/press-room/news-releases/item/realtek-launches-world-s-first-single-chip-2-5g-ethernet-controller-for-multiple-applications-including-gaming-solution
>>> [2] https://www.realtek.com/en/component/zoo/category/network-interface-controllers-10-100-1000m-gigabit-ethernet-pci-express-software
>>> [3] https://github.com/endlessm/linux/commit/da1e43f58850d272eb72f571524ed71fd237d32b
>>>
>>> Jian-Hong Pan
>>>
>> Heiner
>>
> Heiner
> 
Heiner

  reply	other threads:[~2019-10-02  5:54 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-07-24  8:19 Driver support for Realtek RTL8125 2.5GB Ethernet Jian-Hong Pan
2019-07-24 20:02 ` Heiner Kallweit
2019-07-26 19:05   ` Heiner Kallweit
2019-10-02  5:54     ` Heiner Kallweit [this message]
2019-10-02 10:22       ` Jian-Hong Pan
2019-10-02 21:03         ` Heiner Kallweit

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=71ccd182-beec-31f4-5a25-a81a7457ca55@gmail.com \
    --to=hkallweit1@gmail.com \
    --cc=jian-hong@endlessm.com \
    --cc=linux@endlessm.com \
    --cc=netdev@vger.kernel.org \
    --cc=yhchuang@realtek.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox