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)
Mon, Apr 27, 3:13 PM
Unknown Object (File)
Sat, Apr 25, 7:47 PM
Unknown Object (File)
Sat, Apr 25, 10:49 AM
Unknown Object (File)
Fri, Apr 24, 7:41 PM
Unknown Object (File)
Apr 9 2026, 1:01 AM
Unknown Object (File)
Mar 15 2026, 10:23 AM
Unknown Object (File)
Mar 15 2026, 10:19 AM
Unknown Object (File)
Mar 10 2026, 7:42 PM
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