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)
Wed, Mar 26, 12:27 AM
Unknown Object (File)
Fri, Mar 14, 2:17 PM
Unknown Object (File)
Feb 9 2025, 10:36 PM
Unknown Object (File)
Feb 9 2025, 2:08 AM
Unknown Object (File)
Feb 8 2025, 4:08 AM
Unknown Object (File)
Feb 3 2025, 2:46 PM
Unknown Object (File)
Nov 16 2024, 10:37 AM
Unknown Object (File)
Nov 2 2024, 7:29 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