ice_vc_get_tpid(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… ice_vc_get_tpid β€” a Kernel API Manual moment

okay so bestie, welcome to ice_vc_get_tpid(9), a tiny function with a very specific glow-up job. Sit down, hydrate, let's get into it. 🫢


✨ NAME ✨

ice_vc_get_tpid β€” the lil glow-up translator that transforms from VIRTCHNL_VLAN_ETHERTYPE_* to VLAN TPID πŸ’«


🌸 SYNOPSIS 🌸

int ice_vc_get_tpid (u32 ethertype_setting , u16 *tpid );

πŸŽ€ ARGUMENTS πŸŽ€

  • ethertype_setting β€” the VIRTCHNL_VLAN_ETHERTYPE_* value you're feeding in to get your VLAN TPID. She's the input, she's the moment. ✨
  • tpid β€” a pointer to the VLAN TPID that gets populated. Basically the empty cup and this function is pouring the info in. πŸ’–

πŸ¦‹ SEE ALSO πŸ¦‹

it's giving linked list of besties, honestly. The kernel file lives at ./drivers/net/ethernet/intel/ice/virt/virtchnl.c, and the whole squad is:

like, that's the whole friend group right there. no cap. πŸ‘‘


ngl bestie, that's the whole page β€” she's short, she's sweet, she converts an ethertype setting into a TPID and minds her own business. πŸ’…

and that's a wrap, babes! 🌈 this lil page came from the kernel source path ./drivers/net/ethernet/intel/i... (truncated by whoever printed it, not me πŸ™ˆ), dated October 2026, and yeah β€” ice_vc_get_tpid(9) says hi. mwah πŸ’‹πŸŽ€

πŸ“¦ where this page comes from