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)
Sat, Mar 28, 9:41 AM
Unknown Object (File)
Sat, Mar 28, 5:17 AM
Unknown Object (File)
Thu, Mar 26, 12:23 PM
Unknown Object (File)
Sun, Mar 22, 9:06 PM
Unknown Object (File)
Sat, Mar 21, 11:35 PM
Unknown Object (File)
Mar 13 2026, 4:26 AM
Unknown Object (File)
Mar 12 2026, 7:58 PM
Unknown Object (File)
Mar 12 2026, 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.