igb_ptp_rx_rgtstamp(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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):

🧚 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