idpf_ptp_extend_ts(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸŽ€ NAME πŸŽ€

okay so this is the idpf_ptp_extend_ts(9) page from the Kernel API Manual, and it's literally about converting a 40b timestamp to 64b nanoseconds. slay.

✨ SYNOPSIS ✨

u64 idpf_ptp_extend_ts (struct idpf_vport *vport , u64 in_tstamp );

🌸 ARGUMENTS 🌸

  • vport β€” Virtual port structure. main character struct energy, ngl.
  • in_tstamp β€” Ingress/egress timestamp value.

πŸ’« DESCRIPTION πŸ’«

⚠️ assumption alert: it is assumed that the caller verifies the timestamp is valid prior to calling this function. no cap, the validity check is on the caller bestie.

Extract the 32bit nominal nanoseconds and extend them. Use the cached PHC time stored in the device private PTP structure as the basis for timestamp extension. it's giving timestamp glow-up fr fr.

πŸ”₯ RETURN πŸ”₯

Tx timestamp value extended to 64 bits. πŸ’…

πŸ¦‹ SEE ALSO πŸ¦‹

Kernel file: ./drivers/net/ethernet/intel/idpf/idpf_ptp.c

the whole PTP bestie squad, all (9) pages: 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_request_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).


okay bye bestie! source/version is ./drivers/net/ethernet/intel/idpf, date is October 2026 β€” page idpf_ptp_extend_ts(9), mwah πŸ’‹πŸ«Ά

πŸ“¦ where this page comes from