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)
Fri, Dec 13, 9:44 PM
Unknown Object (File)
Thu, Dec 5, 1:04 AM
Unknown Object (File)
Tue, Nov 26, 2:01 PM
Unknown Object (File)
Nov 19 2024, 6:35 PM
Unknown Object (File)
Nov 19 2024, 3:57 PM
Unknown Object (File)
Oct 19 2024, 6:05 PM
Unknown Object (File)
Sep 23 2024, 11:51 PM
Unknown Object (File)
Sep 19 2024, 2:27 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.