ice_reset_all_vfs(9)
π ice_reset_all_vfs(9) β reset all allocated VFs in one go π
okay so first things first, bestie: this page lives in the Kernel API Manual, and the function we're simping over today is ice_reset_all_vfs. It's giving "one big group reset, no chaos" energy and honestly? iconic. π
β¨ SYNOPSIS β¨
void ice_reset_all_vfs (struct ice_pf *pf );
no cap, that's the whole signature β she's a void, she takes one pointer, and she handles her business. π
π ARGUMENTS π
pfβ pointer to the PF structure. that's it, that's the whole argument list, and she ate. π
π¦ DESCRIPTION π¦
so the whole vibe here is: reset all the VFs at once, in response to a PF reset or any other device reset. group reset. all of them. together. periodt. π
here's the order of operations, and it lowkey matters:
- First, tell the hardware to reset each VF. π«Ά
- Then do all the waiting in one chunk β like, one big collective wait, not a million tiny ones. π
- And finally, finish restoring each VF after the wait. β¨
why do we care? because this is genuinely useful during PF routines which need to reset all VFs β otherwise you'd have to perform these resets in a serialized fashion, which sounds exhausting honestly. this way everything's parallel-ish and the code isn't sitting there doing them one at a time like some kind of Victorian era. π
π₯ SEE ALSO π₯
the kernel file, for the brave:
Kernel file ./drivers/net/ethernet/intel/ice/ice_vf_lib.c
and the whole friend group, fr fr β every single one of these is invited to the party:
ice_get_vf_by_id(9)ice_release_vf(9)ice_put_vf(9)ice_has_vfs(9)ice_get_num_vfs(9)ice_get_vf_vsi(9)ice_is_vf_disabled(9)ice_wait_on_vf_reset(9)ice_check_vf_ready_for_cfg(9)ice_trigger_vf_reset(9)ice_vf_pre_vsi_rebuild(9)ice_vf_reconfig_vsi(9)ice_vf_rebuild_vsi(9)ice_vf_rebuild_host_vlan_cfg(9)ice_vf_rebuild_host_tx_rate_cfg(9)ice_vf_set_host_trust_cfg(9)ice_vf_rebuild_host_mac_cfg(9)ice_vf_rebuild_aggregator_node_cfg(9)ice_vf_rebuild_host_cfg(9)ice_set_vf_state_qs_dis(9)ice_vf_set_initialized(9)ice_vf_post_vsi_rebuild(9)ice_is_any_vf_in_unicast_promisc(9)ice_vf_get_promisc_masks(9)ice_vf_clear_all_promisc_modes(9)ice_vf_set_vsi_promisc(9)ice_vf_clear_vsi_promisc(9)ice_reset_vf_mbx_cnt(9)ice_notify_vf_reset(9)ice_reset_interrupts(9)ice_reset_vf(9)ice_set_vf_state_dis(9)ice_initialize_vf_entry(9)ice_dis_vf_qs(9)ice_err_to_virt_err(9)ice_check_vf_init(9)ice_vf_get_port_info(9)ice_cfg_mac_antispoof(9)ice_vsi_ena_spoofchk(9)ice_vsi_dis_spoofchk(9)ice_vsi_apply_spoofchk(9)ice_is_vf_trusted(9)ice_vf_has_no_qs_ena(9)ice_is_vf_link_up(9)ice_vf_ctrl_invalidate_vsi(9)ice_vf_ctrl_vsi_release(9)ice_vf_ctrl_vsi_setup(9)ice_vf_init_host_cfg(9)ice_vf_invalidate_vsi(9)ice_vf_vsi_release(9)ice_get_vf_ctrl_vsi(9)ice_vf_update_mac_lldp_num(9)
and if you ever wanna find your way home: ./drivers/net/ethernet/intel/ice π§
that's the whole page, bestie β go forth and reset responsibly. before you go, one lil sign-off: this beauty is dated October 2026, and she ships from the Kernel API Manual source/version. mwah. ππ
π¦ 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