Date: Wed, 15 Apr 2026 15:55:59 +0000 From: Dmitry Salychev <dsl@FreeBSD.org> To: doc-committers@FreeBSD.org, dev-commits-doc-all@FreeBSD.org Subject: git: 4cd69387e6 - main - Status/2026Q1/dpaa2.adoc: Add report Message-ID: <69dfb50f.22736.694495ac@gitrepo.freebsd.org>
index | next in thread | raw e-mail
The branch main has been updated by dsl: URL: https://cgit.FreeBSD.org/doc/commit/?id=4cd69387e6ecacbb829b47ce7697e34f0670405b commit 4cd69387e6ecacbb829b47ce7697e34f0670405b Author: Dmitry Salychev <dsl@FreeBSD.org> AuthorDate: 2026-04-12 19:34:30 +0000 Commit: Dmitry Salychev <dsl@FreeBSD.org> 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 <tuexen@FreeBSD.org> + +Contact: Bjoern A. Zeeb <bz@FreeBSD.org> + +Contact: Dmitry Salychev <dsl@FreeBSD.org> + +==== 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)home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?69dfb50f.22736.694495ac>
