iavf_verify_api_ver(9)
π¦ iavf_verify_api_ver(9) β the vibe check for your API versions π¦
okay so this is a page from the Kernel API Manual, and bestie, it's a whole little function in ./drivers/net/ethernet/intel/iavf. Let's get into it π
β¨ NAME β¨
iavf_verify_api_ver β and that's... literally it π the description line is blank in the original, no cap. Not me leaving it empty, it's just giving mysterious main character energy. Moving on π«Ά
β SYNOPSIS β
int iavf_verify_api_ver (struct iavf_adapter *adapter );
π ARGUMENTS π
adapterβ the adapter structure. that's the whole one-liner, she's lowkey a woman of few words πΈ
π DESCRIPTION π
okay so what she does: this function compares the API versions with the PF (that's the physical function, iykyk). Simple queen behaviour.
β οΈ important rule: it must be called after the admin queue is initialized. like, do not come for her before the admin queue is ready, she will not know what to do with you π
here's the return value tea β:
- returns
0if the API versions match β slay, we love a happy ending β¨ - returns
-EIOif they do not match β the vibes are off, the versions are off, it's giving incompatible π - returns
IAVF_ERR_ADMIN_QUEUE_NO_WORKif the admin queue is empty β nobody home, the queue is literally on airplane mode π - and any errors coming from the firmware are propagated, so whatever the firmware is going through, you're going through it too fr fr π«Ά
π SEE ALSO π
first up, the file itself:
Kernel file ./drivers/net/ethernet/intel/iavf/iavf_virtchnl.c
and then the whole friend group β every single one of these, no skipping, the group chat is large π:
iavf_send_pf_msg(9),iavf_send_api_ver(9),iavf_poll_virtchnl_msg(9),iavf_send_vf_config_msg(9),iavf_send_vf_ptp_caps_msg(9),iavf_validate_num_queues(9),iavf_get_vf_config(9),iavf_configure_queues(9),iavf_enable_queues(9),iavf_disable_queues(9),iavf_map_queues(9),iavf_set_mac_addr_type(9),iavf_add_ether_addrs(9),iavf_del_ether_addrs(9),iavf_mac_add_ok(9),iavf_mac_add_reject(9),iavf_vlan_add_reject(9),iavf_add_vlans(9),iavf_del_vlans(9),iavf_set_promiscuous(9),iavf_request_stats(9),iavf_get_rss_hashcfg(9),iavf_set_rss_hashcfg(9),iavf_set_rss_key(9),iavf_set_rss_lut(9),iavf_set_rss_hfunc(9),iavf_enable_vlan_stripping(9),iavf_disable_vlan_stripping(9),iavf_tpid_to_vc_ethertype(9),iavf_set_vc_offload_ethertype(9),iavf_clear_offload_v2_aq_required(9),iavf_send_vlan_offload_v2(9),iavf_enable_vlan_stripping_v2(9),iavf_disable_vlan_stripping_v2(9),iavf_enable_vlan_insertion_v2(9),iavf_disable_vlan_insertion_v2(9),iavf_virtchnl_send_ptp_cmd(9),iavf_print_link_message(9),iavf_get_vpe_link_status(9),iavf_set_adapter_link_speed_from_vpe(9),iavf_get_qos_caps(9),iavf_set_quanta_size(9),iavf_cfg_queues_quanta_size(9),iavf_cfg_queues_bw(9),iavf_enable_channels(9),iavf_disable_channels(9),iavf_print_cloud_filter(9),iavf_add_cloud_filter(9),iavf_del_cloud_filter(9),iavf_add_fdir_filter(9),iavf_del_fdir_filter(9),iavf_add_adv_rss_cfg(9),iavf_del_adv_rss_cfg(9),iavf_request_reset(9),iavf_netdev_features_vlan_strip_set(9),iavf_activate_fdir_filters(9),iavf_virtchnl_ptp_get_time(9),iavf_virtchnl_completion(9),iavf_poll_virtchnl_response(9)
π that's the whole page bestie, go verify those API versions and stay iconic π
byeee π this masterpiece lives in ./drivers/net/ethernet/intel/iavf, dated October 2026 β see you in the next release, 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