igb_ptp_rx_rgtstamp(9)
π igb_ptp_rx_rgtstamp(9) β like, the Kernel API Manual, but make it make sense β¨
okay so bestie, welcome to section 9 of the Kernel API Manual π β this is the page for igb_ptp_rx_rgtstamp, and honestly? she's a tiny little function with one job and she does it. let's get into it π¦
πΈ NAME πΈ
igb_ptp_rx_rgtstamp β retrieve the Rx timestamp that's stored in a register π like, the timestamp is literally sitting there in the hardware registers and this function goes and gets it, no cap.
β¨ SYNOPSIS β¨
void igb_ptp_rx_rgtstamp (struct igb_q_vector *q_vector , struct sk_buff
*skb );
that's it. that's the whole signature. returns void, so don't go looking for a return value, there isn't one π
π«Ά ARGUMENTS π«Ά
q_vectorβ pointer to the interrupt specific structure π this is your interrupt's own little home base, the per-interrupt struct.skbβ the buffer that's holding both the timestamp and the packet π yeah, both. timestamp goes in, packet lives there too.
π DESCRIPTION π
so the whole point of this function, the entire reason she exists: pull a timestamp out of the adapter's internal registers and stash it into the skb π that's the vibe. registry timestamp β your socket buffer. slay. β¨
it does not do anything else. it does not write your essay. it does not fix your sleep schedule. it retrieves the timestamp from the internal registers of the adapter and stores it in the skb. iconic behavior, honestly π
π¦ SEE ALSO π¦
the kernel file this lives in, fr fr:
./drivers/net/ethernet/intel/igb/igb_ptp.c
and her whole friend group π (they're all in this together, all PTP, all igb):
igb_ptp_systim_to_hwtstamp(9)igb_ptp_tx_work(9)igb_ptp_rx_hang(9)igb_ptp_tx_hang(9)igb_ptp_tx_hwtstamp(9)igb_ptp_rx_pktstamp(9)igb_ptp_hwtstamp_get(9)igb_ptp_set_timestamp_mode(9)igb_ptp_hwtstamp_set(9)igb_ptp_init(9)igb_ptp_sdp_init(9)igb_ptp_suspend(9)igb_ptp_stop(9)igb_ptp_reset(9)
π§ quick heads up: if you're looking for the Rx packet stamp instead of the register one, that's igb_ptp_rx_pktstamp(9) β different girl, similar name, iykyk π
mwah π that's the page. this one came out of ./drivers/net/ethernet/intel/igb and it's dated October 2026 β so yeah, she's from the future, and she's still just retrieving timestamps. periodt. ππ
π¦ 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