Page MenuHomeFreeBSD

ena: Fix memory barrier comment
Needs ReviewPublic

Authored by osamaabb_amazon.com on Aug 20 2024, 8:46 AM.
Tags
None
Referenced Files
F167190438: D46349.diff
Wed, Aug 19, 6:59 PM
Unknown Object (File)
Mon, Aug 10, 6:58 PM
Unknown Object (File)
Mon, Aug 10, 6:43 AM
Unknown Object (File)
Sun, Aug 9, 9:51 AM
Unknown Object (File)
Sat, Jul 25, 7:09 PM
Unknown Object (File)
Jul 19 2026, 6:16 PM
Unknown Object (File)
Jul 18 2026, 6:53 AM
Unknown Object (File)
Jun 30 2026, 4:43 PM
Subscribers

Details

Reviewers
cperciva
Summary

The dma_rmb() memory barrier guarantees that the device set the
phase bit before continuing to read the rest of the descriptor.
Because the phase bit and the rest of the descriptor are in the same
cache line this ensures coherency of the data from the descriptor.

Approved by: cperciva
MFC after: 2 weeks
Sponsored by: Amazon, Inc.

Diff Detail

Repository
rG FreeBSD src repository
Lint
No Lint Coverage
Unit
No Test Coverage
Build Status
Buildable 59078
Build 55965: arc lint + arc unit