wx_get_pcie_msix_counts(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 NAME 🌸

okay so welcome to the Kernel API Manual, bestie β€” this page is all about wx_get_pcie_msix_counts(9), and its whole thing is literally Gets MSI-X vector count ✨

✨ SYNOPSIS ✨

int wx_get_pcie_msix_counts (struct wx *wx , u16 *msix_count , u16
       max_msix_count );

πŸŽ€ ARGUMENTS πŸŽ€

  • wx β€” pointer to hardware structure, aka the hardware struct main character 🫢
  • msix_count β€” number of MSI interrupts that can be obtained, the count bestie πŸ’…
  • max_msix_count β€” number of MSI interrupts that mac need, like the mac's requested number πŸ‘‘

πŸ¦‹ DESCRIPTION πŸ¦‹

Read PCIe configuration space, and get the MSI-X vector count from the capabilities table. That's the whole function, and honestly it ate πŸ”₯

πŸ’– SEE ALSO πŸ’–

Kernel file: ./drivers/net/ethernet/wangxun/libwx/wx_hw.c

the see-also squad, all linked and iconic:


source/version line says ./drivers/net/ethernet/wangxun..., dated October 2026, and this iconic page is wx_get_pcie_msix_counts(9) πŸ’…

πŸ“¦ where this page comes from