Page MenuHomeFreeBSD

ena: Add pci bus parameter to ENA_MEMCPY_TO_DEVICE_64
Needs ReviewPublic

Authored by osamaabb_amazon.com on Aug 20 2024, 8:45 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Dec 6, 10:18 PM
Unknown Object (File)
Fri, Nov 28, 12:58 AM
Unknown Object (File)
Oct 20 2025, 2:59 AM
Unknown Object (File)
Oct 20 2025, 2:59 AM
Unknown Object (File)
Oct 19 2025, 12:27 PM
Unknown Object (File)
Oct 2 2025, 12:44 AM
Unknown Object (File)
Sep 2 2025, 1:03 AM
Unknown Object (File)
Aug 12 2025, 5:41 AM
Subscribers

Details

Reviewers
cperciva
Summary

ENA_MEMCPY_TO_DEVICE_64 macro needs pci bus id in order
to write to the device memory when using llq.

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 59061
Build 55948: arc lint + arc unit

Event Timeline

ENA_MEMCPY_TO_DEVICE_64 macro needs pci bus id

... but it's not using it?

BTW "parmater" -> "parameter" in the title.

osamaabb_amazon.com retitled this revision from ena: Add pci bus parmater to ENA_MEMCPY_TO_DEVICE_64 to ena: Add pci bus parameter to ENA_MEMCPY_TO_DEVICE_64.Sep 23 2024, 8:12 AM

BTW "parmater" -> "parameter" in the title.

Fixed

ENA_MEMCPY_TO_DEVICE_64 macro needs pci bus id

... but it's not using it?

You're right, as ena-com is shared between multiple driver - this code is used by other drivers

ENA_MEMCPY_TO_DEVICE_64 macro needs pci bus id

... but it's not using it?

You're correct, at the moment, this parameter isn't used by the FreeBSD driver. The ena-com layer is shared across multiple drivers, but this specific parameter isn't utilized in the fbsd driver for now