HomeFreeBSD

virtio_net: Use bus_dma for rxq/txq buffers

Description

virtio_net: Use bus_dma for rxq/txq buffers

While the majority of virtio platforms will be fully coherent, some may
require cache maintenance or other specific device memory handling (eg for
secure partitioning). Using bus_dma allows for these usecases.

The virtio buffers are marked as coherent; this should ensure that sync
calls are no-ops in the common cases.

Reviewed by: andrew
Sponsored by: Arm Ltd
Differential Revision: https://reviews.freebsd.org/D55492

Details

Provenance
sarah.walker2_arm.comAuthored on Feb 16 2026, 2:19 PM
andrewCommitted on Apr 27 2026, 11:37 AM
Reviewer
andrew
Differential Revision
D55492: virtio_net: Use bus_dma for rxq/txq buffers
Parents
rGe3935639d8d8: contrib/expat: import expat 2.8.0
Branches
Unknown
Tags
Unknown
Reverted By
rGdc00f118405e: Revert "virtio_net: Use bus_dma for rxq/txq buffers"