ice_ptp_rx_hwts_to_skb(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ ice_ptp_rx_hwts_to_skb(9) ✨

okay bestie so we're in the Kernel API Manual today and the star of the show is ice_ptp_rx_hwts_to_skb β€” literally putting the RX timestamp into the skb, no cap πŸ’…


πŸŽ€ NAME πŸŽ€

ice_ptp_rx_hwts_to_skb β€” Put RX timestamp into skb

πŸ¦‹ SYNOPSIS πŸ¦‹

void ice_ptp_rx_hwts_to_skb (struct ice_rx_ring *rx_ring , const union
ice_32b_rx_flex_desc *rx_desc , struct sk_buff *skb );

🌸 ARGUMENTS 🌸

  • rx_ring β€” the ring we grab the VSI info from, that's its whole job 🫢
  • rx_desc β€” the receive descriptor, hi queen πŸ‘‘
  • skb β€” the particular skb that gets to carry the timestamp, main character energy fr

πŸ’– DESCRIPTION πŸ’–

so the timestamp is in ns (nanoseconds, babe), which means we must convert the result first before doing anything else with it. that's the vibe check of this whole function ngl ⭐

🌈 SEE ALSO 🌈

kernel file ./drivers/net/ethernet/intel/ice/ice_txrx_lib.c β€” that's where the magic lives btw 🧚


like, go read the whole friend group honestly, they all ate πŸ’…πŸ”₯

okay that's the page!! this came out of ./drivers/net/ethernet/intel/ice, dated October 2026, and yeah β€” it's ice_ptp_rx_hwts_to_skb(9) the whole way through, periodt πŸ’œπŸŽ€

πŸ“¦ where this page comes from