ice_vc_get_vlan_caps(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… ice_vc_get_vlan_caps(9) β€” the Kernel API Manual era πŸŽ€

okay bestie, welcome to the Kernel API Manual, section 9 (that's the kernel-API girlies' section, iykyk). Today's main character is ice_vc_get_vlan_caps, and she's here to tell you what VLAN caps your VF is allowed to have. Let's get into it ✨


🌸 NAME 🌸

ice_vc_get_vlan_caps β€”

and that's literally it, that's the whole description. no cliffhanger, no explanation, just the name and a little dash hanging out by itself πŸ’€ iconic minimalism honestly.


✨ SYNOPSIS ✨

u32 ice_vc_get_vlan_caps (struct ice_hw *hw , struct ice_vf *vf , struct
ice_vsi *vsi , u32 driver_caps );

she takes four things, she gives back a u32. simple as that 🫢


πŸ¦‹ ARGUMENTS πŸ¦‹

  • hw β€” pointer to the hw. yes, the hardware. she needs to know what she's working with πŸ’–
  • vf β€” pointer to the VF info. that's your virtual function's whole lore right there.
  • vsi β€” pointer to the VSI. the virtual station interface in question, no cap.
  • driver_caps β€” current driver caps. what the driver's saying it can do, right now, in this moment, main character energy.

🌈 DESCRIPTION 🌈

Return 0 if there is no VLAN caps supported, or VLAN caps value.

that's the tea πŸ“ β€” no caps? you get a 0, sorry bestie. caps? you get the VLAN caps value itself. it's giving "yes or no and if yes, here's the whole menu" πŸ’…


πŸŽ€ SEE ALSO πŸŽ€

first up, the kernel file this baby lives in β€” she's a real one:

  • ./drivers/net/ethernet/intel/ice/virt/virtchnl.c

and now the whole extended friend group, all of them, in order, because nobody gets left out at this sleepover 🧚:


ngl bestie, that's a lot of cross-references. she knows everybody. she's networked. she's the moment πŸ’…

and that's the whole page!! sourced from ./drivers/net/ethernet/intel/i... (the path got a lil truncated in the footer, but you know where she lives now 🌸), October 2026 edition, signed off as ice_vc_get_vlan_caps(9) β€” mwah, go read some VLAN headers, ily πŸ«ΆπŸ’–βœ¨

πŸ“¦ where this page comes from