From nobody Sun Aug 3 05:35:39 2025 X-Original-To: freebsd-net@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4bvpLk1hytz62rZR for ; Sun, 03 Aug 2025 05:35:42 +0000 (UTC) (envelope-from freebsd-net@dino.sk) Received: from cm0.netlabit.sk (mailhost.netlabit.sk [84.245.65.72]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4bvpLj5DfKz3Wjc; Sun, 03 Aug 2025 05:35:41 +0000 (UTC) (envelope-from freebsd-net@dino.sk) Authentication-Results: mx1.freebsd.org; none Received: from dino.sk ([84.245.95.254]) (AUTH: LOGIN milan, TLS: TLSv1.3,256bits,TLS_AES_256_GCM_SHA384) by cm0.netlabit.sk with ESMTPSA id 00000000004711EB.00000000688EF52B.0000A043; Sun, 03 Aug 2025 07:35:39 +0200 Date: Sun, 3 Aug 2025 07:35:39 +0200 From: Milan Obuch To: Peter Jeremy Cc: freebsd-net@freebsd.org Subject: Re: Technical documentation for Synopsys Ethernet QoS Controller (eqos) Message-ID: <20250803073539.04113807.11970677.88612660@dino.sk> In-Reply-To: References: X-Mailer: Claws Mail 3.21.0 (GTK+ 2.24.33; amd64-portbld-freebsd14.3) List-Id: Networking and TCP/IP with FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-net List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-net@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable X-Rspamd-Queue-Id: 4bvpLj5DfKz3Wjc X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:5578, ipnet:84.245.64.0/18, country:SK] On Sun, 3 Aug 2025 10:43:20 +1000 Peter Jeremy wrote: > I'm trying to extend eqos(4) to support more of the controller's > functionality: Checksum offload and ideally TCP offload. I have > "Rockchip RK3568 TRM Part2 V1.1-20210301.pdf" but that's missing > documentation on the DMA interface and there are some discrepancies > between it and the existing FreeBSD code. Hi, this controller is used in RiscV SoC from StarFive known as JH7110. Its TRM is available at https://doc-en.rvspace.org/JH7110/TRM/. I don't know if it contains anything you did not see yet, though. > Some specific questions: > * The existing code supports Synopsys versions 0x51 and 0x52. The > RK3566 (and, based on the above TRM, RK3568) are version 0x51. > Does anyone know what chips have version 0x52? =46rom dmesg on my Star64 board: eqos0: mem 0x16030000-0x1603f= fff irq 50,51,52 on simplebus0 eqos0: DesignWare EQOS ver 0x52 (0x41) eqos0: hw features 1a2173f7 09845904 01000000 00000000 I think it is what you are after. Regards, Milan