- Use unsigned integers for various variables. The count argument to the alloc method as well as the IRQ values used with the pcib_if.m methods should also be unsigned eventually.
- Use mallocarray to allocate arrays
- Use bool in a few places
Differential D48889
pci: Cosmetic cleanups to MSI/MSI-X routines Authored by jhb on Feb 7 2025, 5:28 PM. Tags None Referenced Files
Subscribers None
Details
Diff Detail
Event Timeline
Comment Actions
I think that would be pretty useful for things like RDMA or sub-interfaces in ICE.
Fair point. Comment Actions We definitely have use cases in cxgbe(4) for this, I just haven't implemented it. :( | ||||||||||||||||||||||||||||||||||||||||