i40e_ndo_set_vf_port_vlan(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– i40e_ndo_set_vf_port_vlan(9) πŸ’–

okay so bestie, we're in the Kernel API Manual today and the star of the show is i40e_ndo_set_vf_port_vlan 🌸 she's an i40e girlie and she's here to handle your VF vlan vibes, no cap.


✨ NAME ✨

i40e_ndo_set_vf_port_vlan β€”

and honestly? that's it. the original page gives us the function name, a lil dash, and nothing else. truly giving minimal-effort main character energy πŸ’… the rest of the tea is below, bestie, we promise.


πŸ¦‹ SYNOPSIS πŸ¦‹

int i40e_ndo_set_vf_port_vlan (struct net_device *netdev , int vf_id ,
       u16 vlan_id , u8 qos , __be16 vlan_proto );

look at her. five parameters. returns an int. iconic behavior πŸ”₯


πŸŽ€ ARGUMENTS πŸŽ€

  • netdev β€” the network interface device structure, aka the whole device situation she's working with 🫢
  • vf_id β€” the VF identifier, so she knows which virtual function she's dealing with
  • vlan_id β€” labeled "mac address" in the original and we're just gonna report that faithfully because that's what it says, bestie 😭 literally copying the vibe, not the facts, but this is the fact
  • qos β€” the priority setting, for when your traffic needs to be handled with the appropriate amount of ~urgency~
  • vlan_proto β€” the vlan protocol, ngl she likes to know what dialect of vlan she's speaking 🌈

πŸ’œ DESCRIPTION πŸ’œ

program VF vlan id and/or qos πŸ’«

that's the whole thing. short, sweet, to the point β€” she programs the VF vlan id and/or the qos, exactly as advertised. no extra lore, no secret side quests, just vibes and vlans πŸ“


πŸ‘‘ SEE ALSO πŸ‘‘

okay this list is long β€” like, genuinely a whole group chat of i40e functions, and every single one of them is invited to the party. here they all are, in order, no gatekeeping πŸ’–

also, the kernel file this all lives in:

./drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c

that's the address, bestie β€” that's where she resides 🏑


πŸ’€ friendly reminder that the vlan_id argument is literally described as "mac address" up in the ARGUMENTS section. we are not fixing that, we are reporting that. slay on, mystery documentation.

and that's the whole page, periodt 🧚

big love to the source: ./drivers/net/ethernet/intel/i40e, dated October 2026 β€” that's where this whole manual page comes from, and we're obsessed with her fr fr πŸ’–βœ¨πŸŽ€

πŸ“¦ where this page comes from