idpf_ptp_is...x_tstamp_ena(9)
π idpf_ptp_is_vport_rx_tstamp_ena β the Kernel API Manual glow-up β¨
okay so bestie, we are in the Kernel API Manual today and the function we're stanning is idpf_ptp_is_vport_rx_tstamp_ena. yes the header got chopped to idpf_ptp_is...x_tstamp_ena(9) because the terminal is a hater, but the full name is right there and it ate. let's get into it π
πΈ NAME πΈ
idpf_ptp_is_vport_rx_tstamp_ena β literally just verifying whether Rx timestamping is enabled for a given vport. that's the whole gig. no cap. π¦
β¨ SYNOPSIS β¨
bool idpf_ptp_is_vport_rx_tstamp_ena(struct idpf_vport *vport);
π ARGUMENTS π
vportβ the virtual port structure. that's the one you're asking about, bestie π
π« DESCRIPTION π«
so here's the tea β: the Rx timestamp feature is considered enabled only if two things line up, and lowkey they're a package deal:
- the PTP clock for the adapter is created, and
- it's actually possible to read the value of the device clock.
and why do we care about that second one, you ask? because (and this is the important bit, don't skip it π) the Rx timestamp value needs to get extended to 64 bit based on the current device clock time. so if you can't read the clock, you can't extend, and the whole vibe check fails. it's giving "you can't sit with us unless you can tell time." β°
π₯ RETURN π₯
trueif the Rx timestamping is enabled πfalseotherwise π
π SEE ALSO π
okay this is the friend group, all of them iconic, all of them in Kernel file ./drivers/net/ethernet/intel/idpf/idpf_ptp.h:
struct idpf_ptp_cmd(9)enum idpf_ptp_access(9)struct idpf_ptp_secondary_mbx(9)enum idpf_ptp_tx_tstamp_state(9)struct idpf_ptp_tx_tstamp_status(9)struct idpf_ptp_tx_tstamp(9)struct idpf_ptp_vport_tx_tstamp_caps(9)struct idpf_ptp(9)idpf_ptp_info_to_adapter(9)struct idpf_ptp_dev_timers(9)idpf_ptp_is_vport_tx_tstamp_ena(9)
and that's the page, bestie!! π«Ά this came to you from ./drivers/net/ethernet/intel/idpf, dated October 2026, and it's the idpf_ptp_is...x_tstamp_ena(9) man page being its full self. go read a clock, stay hydrated, 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