idpf_ptp_request_ts(9)
π
idpf_ptp_request_ts β the Kernel API Manual, bestie edition π
okay so this is idpf_ptp_request_ts(9) from the Kernel API Manual, and it's literally the girl whose whole job is grabbing you a Tx timestamp slot before you yeet your packet out the door β¨ no cap, she's the plug for timestamp indexes.
πΈ NAME πΈ
idpf_ptp_request_ts β request an available Tx timestamp index π«Ά
β SYNOPSIS β
int idpf_ptp_request_ts (struct idpf_tx_queue *tx_q , struct sk_buff
*skb , u32 *idx );
likeβ¦ she takes three things and hands you back an int, periodt π
π¦ ARGUMENTS π¦
tx_qβ the transmit queue where you're asking for this Tx timestamp. that's the vibes location, bestie πskbβ the SKB you're tying to this timestamp request. your packet, your problem, your main character energy πidxβ index of the Tx timestamp latch. this is the little number that comes back out π₯
π DESCRIPTION π
so what she actually does: she requests the Tx timestamp index that got negotiated during PTP init, and that index is the one that's gonna be set into the Tx descriptor. iykyk π
like, that's it. that's the whole job. she gets you the index, you put it in the descriptor, everybody slays β¨
π RETURN π
on success she gives you 0 and the index β the very same index you can hand straight to the Tx descriptor π otherwise you get -errno. it's giving "no notes, just vibes" when it works and "we don't talk about it" when it doesn't π
π SEE ALSO π
kernel file: ./drivers/net/ethernet/intel/idpf/idpf_ptp.c π¦
and now the whole friend group, alphabetically-ish, all of them, because we don't leave a single bestie out of the group chat:
idpf_ptp_get_access(9)idpf_ptp_get_features_access(9)idpf_ptp_enable_shtime(9)idpf_ptp_read_src_clk_reg_direct(9)idpf_ptp_read_src_clk_reg_mailbox(9)idpf_ptp_read_src_clk_reg(9)idpf_ptp_get_sync_device_time_direct(9)idpf_ptp_get_sync_device_time_mailbox(9)idpf_ptp_get_sync_device_time(9)idpf_ptp_get_crosststamp(9)idpf_ptp_gettimex64(9)idpf_ptp_update_phctime_rxq_grp(9)idpf_ptp_update_cached_phctime(9)idpf_ptp_settime64(9)idpf_ptp_adjtime_nonatomic(9)idpf_ptp_adjtime(9)idpf_ptp_adjfine(9)idpf_ptp_verify_pin(9)idpf_ptp_gpio_enable(9)idpf_ptp_tstamp_extend_32b_to_64b(9)idpf_ptp_extend_ts(9)idpf_ptp_set_rx_tstamp(9)idpf_ptp_set_timestamp_mode(9)idpf_tstamp_task(9)idpf_ptp_do_aux_work(9)idpf_ptp_set_caps(9)idpf_ptp_create_clock(9)idpf_ptp_release_vport_tstamp(9)idpf_ptp_release_tstamp(9)idpf_ptp_get_txq_tstamp_capability(9)idpf_ptp_init(9)idpf_ptp_release(9)
that's the whole page, bestie, and yes she ate π
this one came from ./drivers/net/ethernet/intel/idpf, dated October 2026, and the manual it lives in is the Kernel API Manual β so go forth, request those timestamps, and slay π₯β¨π
π¦ 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