iavf_tpid_to_vc_ethertype(9)
π iavf_tpid_to_vc_ethertype β the Kernel API Manual glow-up (section 9, bestie) π
Okay so picture this: we're deep in the kernel, section 9 of the manual, and there's this tiny little function called iavf_tpid_to_vc_ethertype that is literally a translator. That's it. That's her whole job. She takes a VLAN TPID and turns it into a virtchnl ethertype, no cap. β¨
πΈ NAME πΈ
iavf_tpid_to_vc_ethertype β transform from VLAN TPID to virtchnl ethertype π¦
Like, she's the bridge between two worlds and she does it flawlessly. Main character energy fr.
β¨ SYNOPSIS β¨
u32 iavf_tpid_to_vc_ethertype (u16 tpid );
Look at her. One argument. Returns a u32. Clean, minimal, iconic. π
π§ ARGUMENTS π§
tpidβ the VLAN TPID, i.e.0x8100,0x88a8, etc. π
That's the vibe check right there: you hand her a TPID, she knows what to do with it.
π«Ά SEE ALSO π«Ά
Bestie, she does not ride alone β she runs with a whole squad. Here's the entire crew, and yes, we're listing every single one because nobody gets left behind π:
iavf_send_pf_msg(9)iavf_send_api_ver(9)iavf_poll_virtchnl_msg(9)iavf_verify_api_ver(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_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)
Oh and the source file herself, obviously:
- Kernel file
./drivers/net/ethernet/intel/iavf/iavf_virtchnl.cπ
Ngl, that SEE ALSO list is giving "squad goals." Fifty-nine friends and not one of them flaky. π₯
And that's the whole page, bestie β sourced straight from ./drivers/net/ethernet/intel/iavf, dated October 2026, and filed under iavf_tpid_to_vc_ethertype(9) in the Kernel API Manual. Slay. Bye. π
π¦ 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