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
Unknown Object (File)
Nov 16 2024, 10:37 AM
Unknown Object (File)
Nov 2 2024, 7:29 PM
Unknown Object (File)
Oct 17 2024, 1:27 PM
Unknown Object (File)
Sep 30 2024, 8:09 AM
Unknown Object (File)
Sep 25 2024, 1:42 PM
Unknown Object (File)
Sep 22 2024, 1:32 PM
Unknown Object (File)
Sep 21 2024, 5:03 PM
Unknown Object (File)
Sep 19 2024, 3:04 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