fm10k_iov_select_vid(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– 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:

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 under fm10k_iov_select_vid(9) β€” periodt. 🌟
πŸ“¦ where this page comes from