ixgbe_ptp_rx_rgtstamp(9)
π ixgbe_ptp_rx_rgtstamp(9) β the Kernel API Manual glow-up π
okay so bestie, we're diving into the Kernel API Manual today and honestly? this one is a little baby function but she's doing Real Work. her name is ixgbe_ptp_rx_rgtstamp, and she's literally the utility function which checks for RX time stamp. that's it, that's her whole job description, and she ate. β¨
π SYNOPSIS π
void ixgbe_ptp_rx_rgtstamp (struct ixgbe_q_vector *q_vector , struct
sk_buff *skb );
like, look at her. clean, void, takes two pointers, no notes. main character energy fr fr. π
πΈ ARGUMENTS πΈ
q_vectorβ the structure containing interrupt and ring information. she's the vibe check container, she holds the receipts: interrupts, rings, all of it. πskbβ the particularskbto send timestamp with. one specific skb, no cap, she's the one getting the lil time-stamp glow-up. π¦
β¨ DESCRIPTION β¨
okay so here's the tea π: if the timestamp is valid, we convert it into the timecounter ns value, and then we store that result into the shhwtstamps structure which is passed up the network stack.
that's the whole flow, ngl it's giving pipeline:
- check if the timestamp is valid π
- if it is β convert it into the timecounter ns value π₯
- store that result into the
shhwtstampsstructure π¦ - that structure gets passed up the network stack π
note the conditional, bestie β the conversion + storing only happens if the timestamp is valid. no valid timestamp, no party. π
π§ SEE ALSO π§
the kernel file, in all her glory:
./drivers/net/ethernet/intel/ixgbe/ixgbe_ptp.c
and her whole extended friend group, in the order they showed up (no skipping, we're thorough in this house π):
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(9)ixgbe_ptp_tx_hwtstamp_work(9)ixgbe_ptp_rx_pktstamp(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 responsibly.
cute lil sign-off: this page came from the source path ./drivers/net/ethernet/intel/i... (yes, it's truncated like that, don't @ me π) and it's dated October 2026 β future vibes only. βπβ¨
π¦ 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