ice_ptp_rx_hwts_to_skb(9)
β¨ 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 π§
ice_release_rx_desc(9)ice_get_rx_hash(9)ice_rx_hash_to_skb(9)ice_rx_gcs(9)ice_rx_csum(9)ice_get_ptype(9)ice_process_skb_fields(9)ice_receive_skb(9)ice_clean_xdp_tx_buf(9)ice_clean_xdp_irq(9)__ice_xmit_xdp_ring(9)ice_finalize_xdp_rx(9)ice_xdp_rx_hw_ts(9)ice_xdp_rx_hash_type(9)ice_xdp_rx_hash(9)ice_xdp_rx_vlan_tag(9)
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
- 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