From nobody Sun Aug 3 00:43:20 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 4bvgsb2Cwsz63mRD; Sun, 03 Aug 2025 00:43:31 +0000 (UTC) (envelope-from peterj@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (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-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4bvgsb1Mqvz45JY; Sun, 03 Aug 2025 00:43:31 +0000 (UTC) (envelope-from peterj@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1754181811; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type; bh=c/V1w6x1q/8JLzfPkAUb6XlrqwMkrW/uki1/wqi2dPo=; b=QAqTq5tkzNnDCzWeHRQBUeChSdpaJudXGbK/A8/GtfdXXWjkR+ozDtnsZZB/cOv7OftWD6 p5GzfTe2UXagV2KNEJyfNFsA3mfuiCfWSJKO/gIVXnCgXMUIwKDXz8yZLotl8va8ai5k6N FL5qlBFnHaLh9Ro9oul3Vg9D5jWCp52WGSqpYGFmTfXu0XvLCsZD4AKeqaueGPfLBWkzY0 +bg3Og77flx/apX+5z85u0SH2yn63yiwgrugusCtlhwIW4FQKKUqiJXrVNbjGE9XssmsJN y8rt9dm+OhTOm8Q2C1wk5eBstTyk9NUh1GpMPZFg8fdO3UyZFdYfrG6xpbrCQg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1754181811; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type; bh=c/V1w6x1q/8JLzfPkAUb6XlrqwMkrW/uki1/wqi2dPo=; b=d1LbNuNKZCwfUj61LsUIJZ5zZo98vC1zxuwzp5bIo60Ntt1JI4MtyGwxea2zfxxpEPeimB 0qxRCnyNt7KqNHMXdNh5p8LpDwp35m5sk3ABeXek6hHEww3fi2BXYFQGqLghmcciYXLPA7 +jM6Xc3uhtmoLzbKruc1c5hazN8OYgSPpFkjShpXIEW1yMii3SlqOt+isYLbFji9+D2QsQ S2Xw8OB4pcaQ8DMA1u5D0IMkc43SO3MsEeIYcTtfKAy0uyMUa1nRWokBUN5Gty1MTOu9qy ji/vizeU6Z6WZ3L8lXltFji2Gx02ICosuFTBDmP7oOBZ38JN8DxQPrQYwfjWHA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1754181811; a=rsa-sha256; cv=none; b=dQ8wSOfDMcniALvXsZ0NmG0+8CBREVRGfKuiybkZ+USUIr3JAMTLf47gWvB6XruFQSpwVA c3EVhu/YapfIUS5wLrBVJ8F8qAoUycNmYAnQG6S6NV2IS5eSGKboHQ4+rYc31LH9oMhnNZ 4DQKJ6XYo5TreF4gVMYb27R+55EbeBUvlrTspgLrxpDScWhpfUAjJh/v4U+MEpZBgIkmEA Whe3m88SS4Ju/dCRrCfuk6kGmrwy+qU4a02WP/J0SSTodqjadN6nraBzLSaj8psdwjnHOR aMA6Ls9Pl1KjmaQlaiouEZRSfxtoalA66WtH1jLb8vfG078dhN6RkbVEoBy5WQ== Received: from server.rulingia.com (ppp239-208.static.internode.on.net [59.167.239.208]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA512) (Client did not present a certificate) (Authenticated sender: peterj) by smtp.freebsd.org (Postfix) with ESMTPSA id 4bvgsZ1GZbzpwl; Sun, 03 Aug 2025 00:43:29 +0000 (UTC) (envelope-from peterj@freebsd.org) Date: Sun, 3 Aug 2025 10:43:20 +1000 From: Peter Jeremy To: FreeBSD-arm@freebsd.org, FreeBSD-net@freebsd.org Subject: Technical documentation for Synopsys Ethernet QoS Controller (eqos) Message-ID: 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: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="LnuzQhFjNE8r57nN" Content-Disposition: inline X-PGP-Key: http://www.rulingia.com/keys/peter.pgp --LnuzQhFjNE8r57nN Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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. --=20 Peter Jeremy --LnuzQhFjNE8r57nN Content-Type: application/pgp-signature; name=signature.asc -----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----- --LnuzQhFjNE8r57nN--