Page MenuHomeFreeBSD

linuxkpi: Move pci_alloc_irq_vectors to .c file
ClosedPublic

Authored by imp on Apr 4 2022, 5:04 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Mar 6, 6:51 PM
Unknown Object (File)
Mon, Feb 24, 12:44 PM
Unknown Object (File)
Jan 29 2025, 4:31 PM
Unknown Object (File)
Jan 21 2025, 12:48 AM
Unknown Object (File)
Jan 16 2025, 1:59 AM
Unknown Object (File)
Jan 9 2025, 5:19 AM
Unknown Object (File)
Jan 9 2025, 5:18 AM
Unknown Object (File)
Jan 9 2025, 5:18 AM

Details

Summary

pci_alloc_irq_vectors encodes the size of struct msix_entry
into its code. Move from .h to .c to move this knowledge from
client modules to linuxkpi module.

Sponsored by: Netflix

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

imp requested review of this revision.Apr 4 2022, 5:04 PM
hselasky added a subscriber: hselasky.

Maybe prefix those functions with lkpi_xxx

This revision is now accepted and ready to land.Apr 4 2022, 5:21 PM

Maybe prefix those functions with lkpi_xxx

The current code is a bit inconsistent about this sort of thing. What's the rule we should enforce?

This revision was automatically updated to reflect the committed changes.