From owner-freebsd-hackers@freebsd.org Sun Aug 2 11:06:10 2020 Return-Path: Delivered-To: freebsd-hackers@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 4232E379767 for ; Sun, 2 Aug 2020 11:06:10 +0000 (UTC) (envelope-from stephen.hocking@gmail.com) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 4BKJ9G0DByz4MCk for ; Sun, 2 Aug 2020 11:06:10 +0000 (UTC) (envelope-from stephen.hocking@gmail.com) Received: by mailman.nyi.freebsd.org (Postfix) id 05B44379B2E; Sun, 2 Aug 2020 11:06:10 +0000 (UTC) Delivered-To: hackers@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 04583379DB0 for ; Sun, 2 Aug 2020 11:06:10 +0000 (UTC) (envelope-from stephen.hocking@gmail.com) Received: from mail-ej1-x635.google.com (mail-ej1-x635.google.com [IPv6:2a00:1450:4864:20::635]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4BKJ9F4Vg5z4MBs; Sun, 2 Aug 2020 11:06:09 +0000 (UTC) (envelope-from stephen.hocking@gmail.com) Received: by mail-ej1-x635.google.com with SMTP id d6so21897551ejr.5; Sun, 02 Aug 2020 04:06:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=BhcGzpCdQoO0qo3foJjvPg0ugNwQhHv886wGXK/ZFkI=; b=F2Ax9+NnbsaHX8OlW9iyAP7iRWFEyO2xcASnJfhCqlSmpg6XIjPVvz4cetXrqreFW0 JpSUrvkbDiZSf7xie1KaZyf9a7E+y9uYillF1q8oQnm2uxwpNdWa+OhVlyEgU4n3bDCA w72JRCKqczx5e3zM+H60g9kpo4PK/I26cPY2oHSMaBXJ9+nhET+XM9IHIZCMsrvkpl1d H2MFBfkc7O5CzYDjURCGiyStDXgH8X7SyGRBNeVGSCrv39R0lN6MtIc21Z+n/ByKjzXR men3f3kF3pXqO/QvRohV9hhPJiRfitjkvsvPgR20XpNs94VpkCQ8XxP3FZqZR8gt1DO2 IVqw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=BhcGzpCdQoO0qo3foJjvPg0ugNwQhHv886wGXK/ZFkI=; b=b3YMliBgeeyV4wHmvvaBQ/Qw/zL8qWsaiJzqLUyUxTZaAfAqd7OWt9X7LpwPTsavFJ 4J19q5vQEHI/e8VFQUTvVfSON8QzqHfFdeabCLOlGMhS1pRyJGeSqtQMVWOcIUyuap9Q tAC2zvCtbXeatTcATW2yBS2iPhofAkEBwShZJoViQxti5Xeug00YBTY65yX2s1ZkS6KP kLjFE91c8bPV5TxofbzTMhYICg+ORkdyLRSqvcM1z/NJXKh6HO9CaN5i/SKofSqJvwoI 2W0/eQ7UDqG5nZPLz02oNsRUVN4r1nuI6QGSN5/yvECjk1efgGKQdckqqSrWcfzTPqEf oDyg== X-Gm-Message-State: AOAM530CUo/9yTX7YCdDeLqoaHkVo5JQ3mwQTJcHWSHRx34wOwMvdHSu 4QNG434jXoUm9MRvSoP9p7b4FvEb/8QQcjzU6/AWAtI4 X-Google-Smtp-Source: ABdhPJzRm2s7GJovICsVUvSMVwk2U5vTHPSey/+Q1xJnkdDE2XX5Cn1TPL9mMMqkpTgWwhF8F6FtRcMCMtnqX8+7Ro4= X-Received: by 2002:a17:906:1402:: with SMTP id p2mr11667830ejc.126.1596366367143; Sun, 02 Aug 2020 04:06:07 -0700 (PDT) MIME-Version: 1.0 References: <83f06794-1945-649a-6997-dc2959cb0d82@freebsd.org> In-Reply-To: From: Stephen Hocking Date: Sun, 2 Aug 2020 21:05:55 +1000 Message-ID: Subject: Re: Support for RealTek RTL8125B chipset? To: Stefan Esser Cc: hackers@freebsd.org Content-Type: text/plain; charset="UTF-8" X-Rspamd-Queue-Id: 4BKJ9F4Vg5z4MBs X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; TAGGED_FROM(0.00)[] X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 02 Aug 2020 11:06:10 -0000 Hi STefan, I'm rather ignorant about the different versions of that chipset, do you know of any place that could supply cards with them? Or should we be calling for volunteers? A few of my boxes have RealTek ethernet interfaces on their motherboards. On Sun, 2 Aug 2020 at 20:42, Stefan Esser wrote: > > Am 02.08.20 um 04:47 schrieb Stephen Hocking: > > Hi Stefan, > > > > Thanks for updating me on this - do you need any hardware for testing etc? > > Hi Stephen, > > thank you for the offer - I've got a main-board with RTL8125B and have > added RTL8111H and i210-T1 cards to compare the RTL8125 with. > > I'm limited to 1000baseTX speed due to other available interfaces and > switch ports, but I'd hope that if 1000baseTX works, the higher speeds > will be simple to test (and could be come at a later time, since having > on-board RTL8125 chips support by the base system at least at 1 Gbit/s > is my primary goal for now). > > The problem is lack of documentation for the MAC and PHY, and there are > even 4 firmware blobs for different versions of the RTL8125 alone (two > each for RTL8125A and B since both already exist in two revisions). > > Since I do not have any documentation (except for the RealTek driver > that has a friendly license, being derived from Bill Paul's FreeBSD > driver) I do not really know which parts of the initialization and > register setup that is different for those different chips needs to > be merged into out driver - for now I assume a mostly verbatim copy > of the blobs and of code fragments is the only way forward, since I > have access to only 1 of those 4 chip versions ... > > Regards, STefan -- "I and the public know what all schoolchildren learn Those to whom evil is done Do evil in return" W.H. Auden, "September 1, 1939"