iavf_ptp_cap_supported(9)
π 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:
iavf_ptp_disable_rx_tstamp(9)iavf_ptp_enable_rx_tstamp(9)iavf_ptp_set_timestamp_mode(9)iavf_ptp_set_ts_config(9)iavf_allocate_ptp_cmd(9)iavf_queue_ptp_cmd(9)iavf_send_phc_read(9)iavf_read_phc_indirect(9)iavf_ptp_cache_phc_time(9)iavf_ptp_do_aux_work(9)iavf_ptp_register_clock(9)iavf_ptp_init(9)iavf_ptp_release(9)iavf_ptp_process_caps(9)iavf_ptp_extend_32b_timestamp(9)
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
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms