ixgbe_ptp_tx_hwtstamp(9)
π ixgbe_ptp_tx_hwtstamp(9) π
okay so bestie, welcome to the Kernel API Manual β¨ this little cutie lives in the kernel API docs and it's genuinely such a slay
πΈ NAME πΈ
ixgbe_ptp_tx_hwtstamp β the utility function that checks for a TX time stamp π
like, that's literally her whole job. she checks. that's it. icon behavior.
β¨ SYNOPSIS β¨
void ixgbe_ptp_tx_hwtstamp (struct ixgbe_adapter *adapter );
no cap, that's the whole signature. void return, one arg, she's lowkey minimalist about it π¦
π«Ά ARGUMENTS π«Ά
adapterβ the private adapter struct π like yes bestie, the private one, thestruct ixgbe_adapterwe all know and love
π DESCRIPTION π
okay so here's the vibe check: if the timestamp is valid, we convert it into the timecounter ns value β¨ and then we store that result into the shhwtstamps structure β and that structure is what gets passed up the network stack π
so like, it goes up the stack. upward. to the network stack. that's the whole flow, iykyk π
ngl the whole function is conditional on the timestamp being valid, so if it's not valid... she's just not doing the conversion. that's the deal fr fr
π¦ SEE ALSO π¦
the kernel file she calls home π :
./drivers/net/ethernet/intel/ixgbe/ixgbe_ptp.c
and literally her entire friend group, all present and accounted for (not me listing all of them, but also yes me listing all of them π):
ixgbe_ptp_setup_sdp_X540(9)ixgbe_ptp_setup_sdp_X550(9)ixgbe_ptp_read_X550(9)ixgbe_ptp_read_82599(9)ixgbe_ptp_convert_to_hwtstamp(9)ixgbe_ptp_adjfine_82599(9)ixgbe_ptp_adjfine_X550(9)ixgbe_ptp_adjtime(9)ixgbe_ptp_gettimex(9)ixgbe_ptp_settime(9)ixgbe_ptp_feature_enable(9)ixgbe_ptp_check_pps_event(9)ixgbe_ptp_overflow_check(9)ixgbe_ptp_rx_hang(9)ixgbe_ptp_clear_tx_timestamp(9)ixgbe_ptp_tx_hang(9)ixgbe_ptp_tx_hwtstamp_work(9)ixgbe_ptp_rx_pktstamp(9)ixgbe_ptp_rx_rgtstamp(9)ixgbe_ptp_hwtstamp_get(9)ixgbe_ptp_set_timestamp_mode(9)ixgbe_ptp_hwtstamp_set(9)ixgbe_ptp_start_cyclecounter(9)ixgbe_ptp_init_systime(9)ixgbe_ptp_reset(9)ixgbe_ptp_create_clock(9)ixgbe_ptp_init(9)ixgbe_ptp_suspend(9)ixgbe_ptp_stop(9)
and that's the whole page bestie, go forth and timestamp your TX packets π
source/version: ./drivers/net/ethernet/intel/i... (yes it's truncated in the original, that's not me being lazy, that's just how she came to us π) β dated October 2026, manifesting that energy πβ¨ 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