iavf_ptp_cap_supported(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… iavf_ptp_cap_supported(9) β€” the kernel API manual, but make it make sense

okay so bestie, welcome to the Kernel API Manual page for iavf_ptp_cap_supported, and honestly? it's a little baddie of a function. tiny, does exactly one thing, does it well. we love a focused icon. ✨

🌸 NAME 🌸

iavf_ptp_cap_supported β€” literally just checks if a PTP capability is supported. that's it. that's the whole vibe. πŸŽ€

✨ SYNOPSIS ✨

bool iavf_ptp_cap_supported (const struct iavf_adapter *adapter , u32
cap );

like, yes, the line wraps weird in the original and we're keeping it, no notes. πŸ’…

πŸ¦‹ ARGUMENTS πŸ¦‹

  • adapter β€” the private adapter structure. it's giving "main character struct", it holds everything, just hand it over. 🫢
  • cap β€” the capability bitmask you wanna check. bitmasks are so underrated fr fr. ⭐

πŸ”₯ RETURN πŸ”₯

it comes back with true if every capability set in cap is also set in the enabled capabilities reported by the PF. and bestie, note the word every β€” this is an all-or-nothing situation, not a "one of these is fine" situation. if even one bit in cap isn't enabled by the PF, you get false. no partial credit, no half-slay. 😭

lowkey important: it's checking against the enabled capabilities reported by the PF β€” not against whatever you wish were enabled. the PF said what it said. πŸ™ˆ

πŸ‘‘ SEE ALSO πŸ‘‘

the kernel file lives here, exactly this path, don't @ me:

./drivers/net/ethernet/intel/iavf/iavf_ptp.c

and the whole friend group, in order, because they all show up together:


and that's the page, bestie, go check some capabilities πŸ§šπŸ’œ

source path: ./drivers/net/ethernet/intel/iavf Β· dated October 2026 Β· and yes, the page itself is called iavf_ptp_cap_supported(9) β€” that's the whole sign-off, mwah πŸ’‹πŸŒˆ

πŸ“¦ where this page comes from