idpf_sriov_ena(9)
β¨ idpf_sriov_ena(9) β¨
okay so bestie, we're deep in the kernel API manual today β this one's idpf_sriov_ena(9), and honestly? it's giving "small function, big responsibilities" energy. it lives down in ./drivers/net/ethernet/intel/idpf/ and it's here to get your virtual functions (VFs) turned on or resized. let's get into it π«Ά
π NAME π
idpf_sriov_ena β enable or change the number of VFs. that's it, that's the whole vibe. one job, done iconically π
πΈ SYNOPSIS πΈ
int idpf_sriov_ena (struct idpf_adapter *adapter , int num_vfs );
not me just casually dropping the exact signature up there β copy it character for character, no freestyling π
π¦ ARGUMENTS π¦
adapterβ the private data struct. she's the one carrying all the state, the main character of the adapter world πnum_vfsβ how many VFs you wanna allocate. yes, this is a number, please pass a sane one π
π SEE ALSO π
first up, the actual source, if you wanna read the lore yourself:
- Kernel file
./drivers/net/ethernet/intel/idpf/idpf_lib.c
and now the whole bestie squad β every single one of these is a (9) kernel function, and no, i did not skip any, i would never π:
idpf_init_vector_stack(9),idpf_deinit_vector_stack(9),idpf_mb_intr_rel_irq(9),idpf_intr_rel(9),idpf_mb_intr_clean(9)idpf_mb_irq_enable(9),idpf_mb_intr_req_irq(9),idpf_mb_intr_init(9),idpf_vector_lifo_push(9),idpf_vector_lifo_pop(9),idpf_vector_stash(9)idpf_req_rel_vector_indexes(9),idpf_intr_req(9),idpf_del_all_flow_steer_filters(9),idpf_find_mac_filter(9)__idpf_del_mac_filter(9),idpf_del_mac_filter(9),__idpf_add_mac_filter(9),idpf_add_mac_filter(9)idpf_del_all_mac_filters(9),idpf_restore_mac_filters(9),idpf_remove_mac_filters(9),idpf_deinit_mac_addr(9)idpf_init_mac_addr(9),idpf_cfg_netdev(9),idpf_get_free_slot(9),idpf_remove_features(9),idpf_vport_stop(9),idpf_stop(9)idpf_decfg_netdev(9),idpf_vport_rel(9),idpf_vport_dealloc(9),idpf_is_hsplit_supported(9),idpf_vport_get_hsplit(9)idpf_vport_set_hsplit(9),idpf_vport_alloc(9),idpf_get_stats64(9),idpf_statistics_task(9),idpf_mbx_task(9),idpf_service_task(9)idpf_restore_features(9),idpf_set_real_num_queues(9),idpf_up_complete(9),idpf_rx_init_buf_tail(9),idpf_vport_open(9)idpf_init_task(9),idpf_sriov_configure(9),idpf_deinit_task(9),idpf_check_reset_complete(9),idpf_init_hard_reset(9)idpf_vc_event_task(9),idpf_initiate_soft_reset(9),idpf_addr_sync(9),idpf_addr_unsync(9),idpf_set_rx_mode(9),idpf_set_features(9)idpf_open(9),idpf_change_mtu(9),idpf_chk_tso_segment(9),idpf_features_check(9),idpf_set_mac(9)
likeβ¦ the way that's an entire friend group π every single one gets a lil shoutout, iykyk.
ngl the only thing this page asks of you is theadapterand thenum_vfsβ no extra options, no flags, no environment variables, no exit statuses hiding in the fine print. what you see is what you get, periodt π
and that's the page, bestie!! π this lil legend comes from ./drivers/net/ethernet/intel/idpf, October 2026 edition β go forth and enable those VFs responsibly β¨ππ¦
π¦ 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