fm10k_iov_select_vid(9)
π fm10k_iov_select_vid(9) π
okay bestie, so this is a page from the Kernel API Manual β yes, the actual kernel docs, we're doing this π«Ά β and it's all about one tiny little function that picks the right VLAN ID for you. no cap, it's short but it's lowkey important.
β¨ NAME β¨
fm10k_iov_select_vid β Select correct default VLAN ID π
πΈ SYNOPSIS πΈ
s32 fm10k_iov_select_vid (struct fm10k_vf_info *vf_info , u16 vid );
literally the whole signature, character for character, do not come for me π
π¦ ARGUMENTS π¦
vf_infoβ pointer to VF information structure. that's the VF info struct, she's the main character of this function ngl πvidβ VLAN ID to correct. yeah, this one's the one getting vibe-checked β¨
π§ DESCRIPTION π§
okay so here's the tea π β this function will report an error if the VLAN ID is out of range. like, it's not gonna let a bad vid just slide, it's giving gatekeeping and honestly? valid.
and for VID = 0, it will return either the pf_vid or sw_vid depending on which one is set. so zero isn't "no VLAN", it's "choose for me bestie" and she picks whichever of the two is actually set π
fr fr, keep in mind: out-of-range VLAN ID means error. not a silent fix, an actual error. you've been warned π
β SEE ALSO β
so many siblings, she's got a whole extended family π all of these live in the kernel file ./drivers/net/ethernet/intel/fm10k/fm10k_pf.c:
fm10k_reset_hw_pf(9)fm10k_is_ari_hierarchy_pf(9)fm10k_init_hw_pf(9)fm10k_update_vlan_pf(9)fm10k_read_mac_addr_pf(9)fm10k_glort_valid_pf(9)fm10k_update_xc_addr_pf(9)fm10k_update_uc_addr_pf(9)fm10k_update_mc_addr_pf(9)fm10k_update_xcast_mode_pf(9)fm10k_update_int_moderator_pf(9)fm10k_update_lport_state_pf(9)fm10k_configure_dglort_map_pf(9)fm10k_iov_assign_resources_pf(9)fm10k_iov_configure_tc_pf(9)fm10k_iov_assign_int_moderator_pf(9)fm10k_iov_assign_default_mac_vlan_pf(9)fm10k_iov_reset_resources_pf(9)fm10k_iov_set_lport_pf(9)fm10k_iov_reset_lport_pf(9)fm10k_iov_update_stats_pf(9)fm10k_iov_msg_msix_pf(9)fm10k_iov_supported_xcast_mode_pf(9)fm10k_iov_msg_lport_state_pf(9)fm10k_update_hw_stats_pf(9)fm10k_rebind_hw_stats_pf(9)fm10k_set_dma_mask_pf(9)fm10k_get_fault_pf(9)fm10k_request_lport_map_pf(9)fm10k_get_host_state_pf(9)fm10k_msg_lport_map_pf(9)fm10k_msg_update_pvid_pf(9)fm10k_record_global_table_data(9)fm10k_msg_err_pf(9)
like I said. huge family. ate π
and that's the whole page bestie, go read the source, ily π«Ά
source path got truncated in the footer as./drivers/net/ethernet/intel/f..., dated October 2026, and the whole thing is filed underfm10k_iov_select_vid(9)β periodt. π
π¦ 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