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)
Fri, Sep 11, 2:36 PM
Unknown Object (File)
Sat, Sep 5, 6:16 AM
Unknown Object (File)
Mon, Aug 17, 11:47 PM
Unknown Object (File)
Sun, Aug 16, 7:31 PM
Unknown Object (File)
Aug 11 2026, 7:47 PM
Unknown Object (File)
Aug 9 2026, 3:33 PM
Unknown Object (File)
Aug 7 2026, 7:22 PM
Unknown Object (File)
Aug 4 2026, 9:35 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