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
F171001527: D34774.id104607.diff
Tue, Sep 8, 3:04 AM
Unknown Object (File)
Sun, Sep 6, 9:42 PM
Unknown Object (File)
Sun, Sep 6, 11:13 AM
Unknown Object (File)
Sun, Sep 6, 12:59 AM
Unknown Object (File)
Sat, Sep 5, 11:07 PM
Unknown Object (File)
Sat, Sep 5, 6:28 PM
Unknown Object (File)
Sat, Sep 5, 11:53 AM
Unknown Object (File)
Fri, Sep 4, 11:50 PM

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.