Page MenuHomeFreeBSD

ena: Adjust PHC for multiple devices
Needs ReviewPublic

Authored by osamaabb_amazon.com on Aug 20 2024, 8:45 AM.
Tags
None
Referenced Files
F131869046: D46342.diff
Sat, Oct 11, 8:21 PM
Unknown Object (File)
Mon, Sep 29, 12:40 AM
Unknown Object (File)
Aug 17 2025, 5:41 PM
Unknown Object (File)
Aug 9 2025, 5:10 PM
Unknown Object (File)
Jul 21 2025, 4:48 AM
Unknown Object (File)
Jun 20 2025, 3:50 AM
Unknown Object (File)
Jun 18 2025, 12:19 AM
Unknown Object (File)
Jun 16 2025, 5:39 AM
Subscribers

Details

Reviewers
cperciva
Summary

Static variables are tied to the driver code and not to each driver
instance, thus, all driver instances, regardless of the devices they
manage, share the same static variables.

This modification switches the static variable "start_time" to be used
within phc struct.

In addition, rearranged several PHC variables for cache friendly
struct layout and refined several variable names and types for
enhanced clarity and accuracy.

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 59071
Build 55958: arc lint + arc unit