HomeFreeBSD

dpaa2: Clean up channels in separate tasks

Description

dpaa2: Clean up channels in separate tasks

Each channel gets its own DMA resources, cleanup and "bufferpool"
tasks, and a separate cleanup taskqueue to isolate channels operation
as much as possible to avoid various kernel panics under heavy network
load.

As a side-effect of this work, dpaa2_buf structure is simplified and
all of the functions to re-seed those buffers are gathered now in
dpaa2_buf.h and .c files; functions to work with channels are
extracted into dpaa2_channel.h and .c files as well.

Reported by: dch
Reviewed by: bz
Approved by: bz (mentor)
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D41296

Details

Provenance
dslAuthored on Jun 18 2023, 3:03 PM
Reviewer
bz
Differential Revision
D41296: dpaa2: Clean up channels in separate tasks
Parents
rG83d941e0af37: Bump __FreeBSD_version for zlib 1.3.
Branches
Unknown
Tags
Unknown