From nobody Wed Apr 15 15:55:59 2026 X-Original-To: dev-commits-doc-all@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 4fwm2s2w7yz6Z4DG for ; Wed, 15 Apr 2026 15:56:05 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (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 "mxrelay.nyi.freebsd.org", Issuer "R12" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4fwm2s2PV9z41pR for ; Wed, 15 Apr 2026 15:56:05 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1776268565; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=8af75Tfd3PL+R9a6DQgRfV/iWG9so7Wb94mT5PvH/wA=; b=CfIZmOXc8G2mAqSiI91xoSh8BrlIYOfENTRWPd4YoKTJBk8kwfECVCZ+T9paGtHwMeZnMM acf+J77wYDNmNS0OMRQOKp484V/NVdbHCj9OLHdtyraTsEVQ46WE1G20/NpFRMhgK+Lx8b JQTyqs0pZRUz3megMb1ghUB+PyDmzNTlRl6AlpqXq/8/6cwtvCofhgYUM+jp07bYxtbHNe /PDbwQpqz0TCwTW20sjkulmjKPDHfKnsDkiqb4lQGBT5n0E6pFKmQaZd4zq/GB+D7Fd6Oh VTThUNAypP9MMU606iceILth9RwTKtEY5ifgiPyBwJKk1OCLhOwi47oEUCRsoA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1776268565; a=rsa-sha256; cv=none; b=LZIPSXRZNQ8PXFM5JIW8n2DyiVBfIudzK/UB3S5MMyofjjsCmeFlItFaioLqGi3R6oAUrN akVu9NMbjghcRblF0rxm+77vzU9+Hbfmh13qD67R9TStZ9waBezap8KCGQYj4iY0XQxVd9 ZSUuWTPEytXwicjJVeqhvQCRziJ/DZoUi9Ds36h5VaNqjSteJ5XG1DnXXmD7pwgAb2cNkC cbTTC6ApmO9AiPv9fZtLAoEz/naI0D0mpWgPjHp4vdZsIo2VNlutNvDjYAh7/S0zVG65Oz FihV+PgGyo+OHHM5WomTT0raMYZSoDaEjnfK6iLWQLs+OOyJl17wDz8cjUE5yg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1776268565; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=8af75Tfd3PL+R9a6DQgRfV/iWG9so7Wb94mT5PvH/wA=; b=wc0p/K57jjZWnrMjHkqeLLrlTZMmjwmEk1RGc+V/q37IY8nWJZMqrM20VT1GybWN583ETB 2olBGiGFQ3zikGpDrPuDMkEQBccVk2fxDwTIfl4vGf2Cj4b/ZIq6J31mJzFWW0ME9L7xNU 1yUSx+sA/AO61p7nZZw11T575YgFJ8X0QAIU58itvIo/+7etNhbLxM0eCQmfB5j6LTUTMH vj0zdd0EvUjIGFBeIemcHppfASVsEvVDcnmioc06gygqFiGz8gwewoF8OS9yN+1piWXoC+ f47eqqaLldhq2vR7EJJC/o/kWE5ItaY8LyBVteLYEtzS8M3/ttmRSSHYhNbTMQ== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) by mxrelay.nyi.freebsd.org (Postfix) with ESMTP id 4fwm2s1zcXzBkl for ; Wed, 15 Apr 2026 15:56:05 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from git (uid 1279) (envelope-from git@FreeBSD.org) id 22736 by gitrepo.freebsd.org (DragonFly Mail Agent v0.13+ on gitrepo.freebsd.org); Wed, 15 Apr 2026 15:55:59 +0000 To: doc-committers@FreeBSD.org, dev-commits-doc-all@FreeBSD.org From: Dmitry Salychev Subject: git: 4cd69387e6 - main - Status/2026Q1/dpaa2.adoc: Add report List-Id: Commit messages for all branches of the doc repository List-Archive: https://lists.freebsd.org/archives/dev-commits-doc-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-doc-all@freebsd.org Sender: owner-dev-commits-doc-all@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: dsl X-Git-Repository: doc X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 4cd69387e6ecacbb829b47ce7697e34f0670405b Auto-Submitted: auto-generated Date: Wed, 15 Apr 2026 15:55:59 +0000 Message-Id: <69dfb50f.22736.694495ac@gitrepo.freebsd.org> The branch main has been updated by dsl: URL: https://cgit.FreeBSD.org/doc/commit/?id=4cd69387e6ecacbb829b47ce7697e34f0670405b commit 4cd69387e6ecacbb829b47ce7697e34f0670405b Author: Dmitry Salychev AuthorDate: 2026-04-12 19:34:30 +0000 Commit: Dmitry Salychev CommitDate: 2026-04-15 15:55:54 +0000 Status/2026Q1/dpaa2.adoc: Add report Reviewed by: gperciva_tarsnap.com, salvadore@ Differential Revision: https://reviews.freebsd.org/D56366 --- .../en/status/report-2026-01-2026-03/dpaa2.adoc | 34 ++++++++++++++++++++++ 1 file changed, 34 insertions(+) diff --git a/website/content/en/status/report-2026-01-2026-03/dpaa2.adoc b/website/content/en/status/report-2026-01-2026-03/dpaa2.adoc new file mode 100644 index 0000000000..d7db11ac25 --- /dev/null +++ b/website/content/en/status/report-2026-01-2026-03/dpaa2.adoc @@ -0,0 +1,34 @@ +=== NXP DPAA2 support + +Links: + +link:https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=292006[Bug 292006 - dpni doesn't behave properly in a bridge] URL: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=292006[] + +link:https://reviews.freebsd.org/D53436[dpaa2: Setup interface caps on attach] URL: https://reviews.freebsd.org/D53436[] + +link:https://reviews.freebsd.org/D54809[dpnaa2: announce transmit checksum support] URL: https://reviews.freebsd.org/D54809[] + +link:https://reviews.freebsd.org/D56144[dpaa2: Perform bus_dma pre-write sync before enqueue operation] URL: https://reviews.freebsd.org/D56144[] + +link:https://reviews.freebsd.org/D55320[dpaa2: dpaa2_ni_rx() RX checksum EN/ERR information for L3/4] URL: https://reviews.freebsd.org/D55320[] + +link:https://reviews.freebsd.org/D56315[dpaa2: Extract frame-specific routines to dpaa2_frame.[h,c]] URL: https://reviews.freebsd.org/D56315[] + +link:https://reviews.freebsd.org/D56383[dpaa2: Extract checksum statuses on ingress] URL: https://reviews.freebsd.org/D56383[] + +link:https://reviews.freebsd.org/D55321[dpaa2: ni: add more stats and link information] URL: https://reviews.freebsd.org/D55321 + +Contact: Michael Tuexen + +Contact: Bjoern A. Zeeb + +Contact: Dmitry Salychev + +==== What is DPAA2? + +DPAA2 (Data Path Acceleration Architecture Gen2) is a hardware-level networking architecture found in some NXP SoCs which contains hardware blocks including Management Complex (MC, a command interface to manipulate DPAA2 objects), Wire Rate I/O processor (WRIOP, packets distribution, queuing, drop decisions), Queues and Buffers Manager (QBMan, Rx/Tx queues control, Rx buffer pools) and others. The Management Complex runs NXP-supplied firmware which provides DPAA2 objects as an abstraction layer over those blocks to simplify access to the underlying hardware. + +==== Done + +link:https://cgit.freebsd.org/src/commit/?id=39d4094173f9[39d4094173f9] ("epair: add support for checksum offloading") revealed several issues in the DPAA2 drivers, sparked investigations conducted by tuexen@ and dsl@ and eventually led to the changes accumulated under the bug link:https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=292006[292006]: + +* HW checksum offloading was not properly enabled when the dpaa2_ni driver was attached despite being declared and enabled on the dpni interface (fixed in link:https://cgit.freebsd.org/src/commit/?id=a731cb93a662[a731cb93a662]) +* dpni (DPAA2 network interface) did not properly announce TX checksum offloading (fixed in link:https://cgit.freebsd.org/src/commit/?id=f31336b3e314[f31336b3e314]) +* Without a proper synchronization payload of the egress TCP segments can be corrupted as tuexen@ described in link:https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=292006#c31[292006#c31] (fixed in link:https://cgit.freebsd.org/src/commit/?id=5812415bee55[5812415bee55]) + +==== Work in Progress + +* bz@ prepared code to extract information about calculated checksums from the hardware annotations of the ingress frames in link:https://reviews.freebsd.org/D55320[D55320], but dsl@ asked to properly define structures needed for the frame annotations which led to dpaa2_frame.[h,c] introduced in link:https://reviews.freebsd.org/D56315[D56315] and refined in link:https://reviews.freebsd.org/D56383[D56383] +* bz@ significantly extended dpni sysctl(9) including new interface counters and link state information in link:https://reviews.freebsd.org/D55321[D55321] + +Sponsor: Traverse Technologies (providing Ten64 HW for testing)