idpf_vport_is_cap_ena(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… idpf_vport_is_cap_ena β€” like, the vibe check for vport capabilities πŸ¦‹

okay so bestie, we're in the idpf kernel API manual (section 9, the fancy kernel-doc one) and today's main character is idpf_vport_is_cap_ena. she's a tiny little boolean gremlin and honestly? she ate. ✨


🌸 NAME 🌸

idpf_vport_is_cap_ena β€” Check if vport capability is enabled πŸ’–


✨ SYNOPSIS ✨

bool idpf_vport_is_cap_ena (struct idpf_vport *vport , u16 flag );

like, you hand her a vport and a flag, she hands you back a bool. that's the whole bit. no cap. 🫢


πŸŽ€ ARGUMENTS πŸŽ€

  • vport β€” Private data struct πŸ’… (yes the actual private one, not a knockoff)
  • flag β€” flag(s) to check πŸ”₯ (could be one, could be several β€” do your thing)

⭐ RETURN ⭐

true if the capability is supported, false otherwise 🌈

that's it. that's the answer. main character energy, minimal output. periodt. πŸ‘‘


πŸ¦‹ SEE ALSO πŸ¦‹

okay so this is the part where the whole friend group shows up 😭 β€” and she is not leaving anybody out of the group chat:

like i said. whole friend group. and yes, idpf_is_capability_ena(9) is right there too β€” she's the cousin, iykyk πŸ’œ


🧚 sign-off 🧚

this lil page lives in ./drivers/net/ethernet/intel/idpf (the kernel API manual, section 9), dated October 2026. go check your capabilities, bestie β€” and remember, false isn't a rejection, it's just not enabled yet πŸ˜­πŸ’–πŸŽ€

πŸ“¦ where this page comes from