idpf_ptp_ge...tstamps_caps(9)
π idpf_ptp_get_vport_tstamps_caps π
okay bestie, so this one's from the Kernel API Manual (yes, the actual kernel docs, we're fancy now β¨) and it's literally just... asking the hardware what timestamp stuff it can do. no biggie. let's get into it π«Ά
β¨ NAME β¨
idpf_ptp_get_vport_tstamps_caps β the function that sends a virtchnl message to grab the timestamp capabilities for a vport π
πΈ SYNOPSIS πΈ
int idpf_ptp_get_vport_tstamps_caps(struct idpf_vport *vport);
π ARGUMENTS π
vportβ the virtual port structure. yeah. that's the whole argument list. she's low maintenance π
π¦ DESCRIPTION π¦
So basically what happens is: this function sends the virtchnl get vport tstamps caps message, and what comes back is the set of tstamp capabilities for that specific vport. like, per-vport. each one gets its own. no sharing, no cap π§
that's it. that's the whole description. iconic brevity honestly π
β RETURN β
0on success β slay, we love a clean zero π-errnootherwise β not slay, something went sideways, and the error code comes back negative as is the convention π
π₯ SEE ALSO π₯
Kernel file: ./drivers/net/ethernet/intel/idpf/idpf_virtchnl_ptp.c β that's where she lives, bestie, go read the source π
and the whole PTP friend group, in the order the page lists them:
idpf_ptp_get_caps(9)idpf_ptp_get_dev_clk_time(9)idpf_ptp_get_cross_time(9)idpf_ptp_set_dev_clk_time(9)idpf_ptp_adj_dev_clk_time(9)idpf_ptp_adj_dev_clk_fine(9)idpf_ptp_update_tstamp_tracker(9)idpf_ptp_get_tstamp_value(9)idpf_ptp_get_tx_tstamp_async_handler(9)idpf_ptp_get_tx_tstamp(9)
ngl if you're messing with timestamps on intel idpf NICs, you're gonna be seeing a lot of these idpf_ptp_* functions. consider this your new group chat ππ
<div align="center">β§ο½₯οΎ: okay that's the whole page, bestie :ο½₯οΎβ§</div>
sourced straight from ./drivers/net/ethernet/intel/idpf, dated October 2026, and filed under that truncated little header idpf_ptp_ge...tstamps_caps(9) because the man page gods ran out of horizontal space ππ go forth and timestamp responsibly ππ¦
π¦ 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