igc_ptp_systim_to_hwtstamp(9)
π igc_ptp_systim_to_hwtstamp(9) β the kernel API manual, but make it cute π
okay so bestie, welcome to the igc_ptp_systim_to_hwtstamp page from the Kernel API Manual β¨ this one's a little function with a big job and honestly? it ate. let's get into it π
β¨ NAME β¨
igc_ptp_systim_to_hwtstamp β literally converts a system time value into a HW timestamp π°οΈβ¨
πΈ SYNOPSIS πΈ
int igc_ptp_systim_to_hwtstamp (struct igc_adapter *adapter , struct
skb_shared_hwtstamps *hwtstamps , u64 systim );
that's it, that's the whole vibe. three args, one int return, no cap π«Ά
π¦ ARGUMENTS π¦
adapterβ the board private structure π like, the whole adapter's personal businesshwtstampsβ the timestamp structure you're updating π she gets written to, she's the main charactersystimβ an unsigned 64bit system time value π₯ sixty-four whole bits of it
π DESCRIPTION π
so here's the situation bestie: we have a system time value chillin' in the RX/TXSTMP registers, and it's giving raw. we need to convert that value into a hwtstamp β one that the upper level timestamping functions can actually use ππ
it's a glow-up. register value in, usable hwtstamp out. iconic behavior honestly.
returns 0 on success β
that's the good ending, we love a zero return
π SEE ALSO π
the kernel file lives at ./drivers/net/ethernet/intel/igc/igc_ptp.c π and these are her friends, her crew, her whole social circle:
igc_ptp_rx_pktstamp(9)igc_ptp_clear_xsk_tx_tstamp_queue(9)igc_ptp_set_timestamp_mode(9)igc_ptp_tx_hwtstamp(9)igc_ptp_tx_tstamp_event(9)igc_ptp_hwtstamp_set(9)igc_ptp_hwtstamp_get(9)igc_ptp_init(9)igc_ptp_suspend(9)igc_ptp_stop(9)igc_ptp_reset(9)
go read them all, iykyk π§π
and that's the page!! this one came from ./drivers/net/ethernet/intel/igc, dated October 2026, and it's the igc_ptp_systim_to_hwtstamp(9) manual page π tysm for reading bestie, go convert some timestamps 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