ixgbe_ptp_rx_pktstamp(9)
π ixgbe_ptp_rx_pktstamp β a Kernel API Manual moment
okay so bestie, welcome to ixgbe_ptp_rx_pktstamp(9), straight out of the Kernel API Manual, and no cap this one is a little utility function that does exactly one thing and does it slayfully. it's giving "small but crucial," it's giving "supporting cast with main character energy." let's get into it π
β¨ NAME β¨
ixgbe_ptp_rx_pktstamp β a utility function to get the RX time stamp from the buffer. that's it, that's the whole job, and she's iconic for it π«Ά
πΈ SYNOPSIS πΈ
void ixgbe_ptp_rx_pktstamp (struct ixgbe_q_vector *q_vector , struct sk_buff *skb );
return type is void, so likeβ¦ she doesn't report back, she just does. periodt π
π¦ ARGUMENTS π¦
q_vectorβ a structure containing interrupt and ring information. think of it as the whole vibe check of where this packet lives π₯skbβ the packet. literally the packet. that's the argument, that's the whole thing π
β DESCRIPTION β
so here's the tea: this function will be called by the Rx routine when the timestamp for this packet is stored in the buffer. the value is stored in little endian format, starting at the end of the packet data. ngl that last part matters β end of the packet data, not the front, not the middle, the end. iykyk π
π«Ά careful bestie: the timestamp lives at the tail of the packet data and it's little endian β those are facts, don't come for me.
π SEE ALSO π
the whole extended friend group, all present and accounted for, no one left on read:
- Kernel file
./drivers/net/ethernet/intel/ixgbe/ixgbe_ptp.c 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_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)
that's the whole page, bestie β go forth and timestamp responsibly π
and for the cute sign-off: this little number is sourced from ./drivers/net/ethernet/intel/i... (the kernel source tree path, truncated exactly like that in the footer so don't @ me π) and it's dated October 2026, page name ixgbe_ptp_rx_pktstamp(9), 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