ice_sriov_se...ix_vec_count(9)
πΈ ice_sriov_set_msix_vec_count(9) β the Kernel API Manual glow-up πΈ
okay so bestie, you found a real one from the Kernel API Manual β this is the page for ice_sriov_set_msix_vec_count(9), and honestly? it's giving "I control the interrupts" main character energy. let's get into it π
β¨ NAME β¨
ice_sriov_set_msix_vec_count β that's it, that's the whole name (the original page doesn't add a description line, so we're not inventing one, periodt π)
π¦ SYNOPSIS π¦
int ice_sriov_set_msix_vec_count (struct pci_dev *vf_dev , int
msix_vec_count );
π ARGUMENTS π
vf_devβ a pointer to thepci_devstruct of the VF device π like, this is the actual virtual function we're messing with.msix_vec_countβ the new value for the MSI-X amount on this VF β¨ no cap, this is the number you're setting.
π DESCRIPTION π
so basically what this does is: set the requested MSI-X, queues and registers for vf_dev. that's the whole mission π«Ά
first up it does some sanity checks β like, are there even any VFs? is the new value actually correct? etc. π gotta vibe check the inputs before touching anything, obviously.
then it disables the old mapping (that's the MSI-X and queues registers), changes the MSI-X and queues, rebuilds the VSI, and enables the new mapping. slay, full makeover π₯
and if it's possible β specifically, if the driver is not binded to the VF β it also tries to remap the other VFs too, so the irqs register usage gets linearized. teamwork makes the dream work fr fr πΈ
β SEE ALSO β
the kernel file lives at ./drivers/net/ethernet/intel/ice/ice_sriov.c β that's the source, bestie, go read it iykyk π
and now, the iconic supporting cast, in the exact order the page gives them:
ice_free_vf_entries(9)ice_free_vf_res(9)ice_dis_vf_mappings(9)ice_free_vfs(9)ice_vf_vsi_setup(9)ice_ena_vf_msix_mappings(9)ice_ena_vf_q_mappings(9)ice_ena_vf_mappings(9)ice_calc_vf_reg_idx(9)ice_set_per_vf_res(9)ice_init_vf_vsi_res(9)ice_start_vfs(9)ice_sriov_free_vf(9)ice_sriov_clear_reset_state(9)ice_sriov_clear_mbx_register(9)ice_sriov_trigger_reset_register(9)ice_sriov_poll_reset_status(9)ice_sriov_clear_reset_trigger(9)ice_sriov_post_vsi_rebuild(9)ice_create_vf_entries(9)ice_ena_vfs(9)ice_pci_sriov_ena(9)ice_check_sriov_allowed(9)ice_sriov_get_vf_total_msix(9)ice_sriov_configure(9)ice_process_vflr_event(9)ice_get_vf_from_pfq(9)ice_globalq_to_pfq(9)ice_vf_lan_overflow_event(9)ice_set_vf_spoofchk(9)ice_get_vf_cfg(9)__ice_set_vf_mac(9)ice_set_vf_mac(9)ice_setup_vf_trust(9)ice_set_vf_trust(9)ice_set_vf_link_state(9)ice_calc_all_vfs_min_tx_rate(9)ice_min_tx_rate_oversubscribed(9)ice_set_vf_bw(9)ice_get_vf_stats(9)ice_is_supported_port_vlan_proto(9)ice_set_vf_port_vlan(9)ice_print_vf_rx_mdd_event(9)ice_print_vf_tx_mdd_event(9)ice_print_vfs_mdd_events(9)ice_restore_all_vfs_msi_state(9)
like, that's a whole friend group π
and that's the page, bestie! π source:./drivers/net/ethernet/intel/ice, dated October 2026, and the whole thing signs off asice_sriov_se...ix_vec_count(9)β the abbreviate-y-est title ever, honestly iconic ππ
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms