Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 3 Aug 2025 10:43:20 +1000
From:      Peter Jeremy <peterj@freebsd.org>
To:        FreeBSD-arm@freebsd.org, FreeBSD-net@freebsd.org
Subject:   Technical documentation for Synopsys Ethernet QoS Controller (eqos)
Message-ID:  <aI6wqPnSobOlh3E6@server.rulingia.com>

next in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
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.

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?
* Is anyone aware of errata regarding the controller's support of
  checksum offload or TCP offload?
* Does anyone have documentation on the actual configuration of the
  DMA registers?  I notice the eqos(4) code initialises the ring
  buffer length to 1 less than the number of ring buffers but there's
  no mention of this in the TRM I have.

I've had a quick look at NetBSD and OpenBSD.  The latter doesn't
appear to have an eqos driver and the former doesn't seem to support
any functionality that FreeBSD doesn't.

-- 
Peter Jeremy

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----

iQKTBAEBCgB9FiEE7rKYbDBnHnTmXCJ+FqWXoOSiCzQFAmiOsKFfFIAAAAAALgAo
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEVF
QjI5ODZDMzA2NzFFNzRFNjVDMjI3RTE2QTU5N0EwRTRBMjBCMzQACgkQFqWXoOSi
CzRCsw//RdpgAfCnxyHsovtHCLruglAuuxIIFWKEaGRRV6UcdvO0/LOxrJskq/k3
cfghdl65xi5HdCLm5a/JNhR/172R6yUAdlzsne2ROGgSQr1/hbRHFl7Qftle+hGl
GEmQ+WChTKDcswuenJJkAFMPRMa1AvIR5JA7Kg6okPXlYiTz3WCc5vsYr+FQkVIH
9hIdf/sbdy/aAlI5RXQHOzpLdxLu+0c9RPlR/TPa2CwJma37iuQ9lAtp+Q8iKhvm
Bwo4klru26LslJcdhA95dfP8nA4mskvZBaNcqxOXzUIiymcUSkAniaDsL4kUPZmx
gt/UTAEoeUpDfBWoJEf7UXCVwmowYXoTR2Yrm6uuABm15Di7PpmoW/tdwmRSlSwL
8J8dI590LlmwnlziI2lvH0bzslCg55T7JSVDrsDdY3OuQJaeUvGD42zfRt3yR5yG
g8e49mHAAX1qrJ7M1Mc0RKdDhigGJJiaZXFj87xRGfrZiQ81eF1mFj+e8bRNOIj3
l5pBOh57N2zHSNlp1JsI2aY+N8U2gBG2YkRKJwk+YrNHO8lDqCcNkRUAuSQ0P+Tx
e7VsFaY4+7DQNlRC89hX02xaq7PBdYbujCbKQUyOiJvkDJqPecB/+L08hL3t5YFO
wghjGe5FwFhELqjGLUidypyG2K3DBd8Cy1d2YDusj4tjPIXZHWQ=
=7IhP
-----END PGP SIGNATURE-----

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?aI6wqPnSobOlh3E6>