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
F166803988: D46332.diff
Sun, Aug 16, 7:31 PM
Unknown Object (File)
Tue, Aug 11, 7:47 PM
Unknown Object (File)
Sun, Aug 9, 3:33 PM
Unknown Object (File)
Fri, Aug 7, 7:22 PM
Unknown Object (File)
Tue, Aug 4, 9:35 AM
Unknown Object (File)
Wed, Jul 29, 12:46 AM
Unknown Object (File)
Jul 5 2026, 2:38 AM
Unknown Object (File)
Jun 29 2026, 12:04 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