fm10k_update_vlan_pf(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… fm10k_update_vlan_pf(9) β€” like, the whole kernel API manual vibe πŸŽ€

okay bestie, so this one lives in the Kernel API Manual, and it's called fm10k_update_vlan_pf(9). yes the name is a mouthful, no we're not changing it, it's iconic in its own way ✨


✨ SYNOPSIS ✨

s32 fm10k_update_vlan_pf (struct fm10k_hw *hw , u32 vid , u8 vsi , bool
set );

that's the whole function signature, no cap. it returns an s32, and it takes four args. we're gonna go through each one, one at a time, because that's just how we do πŸ’–


🌸 ARGUMENTS 🌸

  • hw β€” pointer to hardware structure. yeah she's a pointer, she points at the hardware struct, that's her whole job 🫢
  • vid β€” the VLAN ID to add to table. this is the actual number going in, main character of the operation fr
  • vsi β€” Index indicating VF ID or PF ID in table. so like, which function's corner of the table we're messing with πŸ‘‘
  • set β€” Indicates if this is a set or clear operation. bool, so it's giving true/false, add/remove energy πŸ’…

πŸ”₯ DESCRIPTION πŸ”₯

so what does she do? she adds or removes the corresponding VLAN ID from the VLAN filter table for the corresponding function. that's it, that's the whole errand πŸ¦‹

and here's the part that's lowkey kinda slay: in addition to the standard set/clear that supports one bit, a multi-bit write is supported β€” so you can set 64 bits at a time. sixty-four. at once. ate πŸ’€πŸ”₯

ngl bestie, "one bit at a time" is cute and all, but 64 bits in one go is the moment the whole function becomes a baddie 🌈

πŸŽ€ SEE ALSO πŸŽ€

the kernel file she lives in:

  • Kernel file ./drivers/net/ethernet/intel/fm10k/fm10k_pf.c

and literally the entire friend group, in order, no skips:


okay that's the page!! 🧚 source is ./drivers/net/ethernet/intel/f... (yes it's truncated like that, don't come for me, that's literally what it says πŸ™ˆ) and it's dated October 2026, and it's page fm10k_update_vlan_pf(9) of the Kernel API Manual. mwah πŸ’œπŸŒΈ go update some VLAN IDs bestie, you got this 🫢✨

πŸ“¦ where this page comes from