idpf_ptp_upd...tamp_tracker(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… idpf_ptp_update_tstamp_tracker β€” Kernel API Manual, section 9 ✨

okay bestie, gather round, because this is a little kernel helper from the Kernel API Manual (section 9, the fun one) and honestly? it's giving very specific, very niche, very iconic πŸŽ€


🌸 NAME 🌸

idpf_ptp_update_tstamp_tracker β€” updates the Tx timestamp tracker based on the skb compatibility, no cap πŸ’–


✨ SYNOPSIS ✨

bool idpf_ptp_update_tstamp_tracker (struct
       idpf_ptp_vport_tx_tstamp_caps *caps , struct sk_buff *skb , enum
       idpf_ptp_tx_tstamp_state current_state , enum idpf_ptp_tx_tstamp_state
       expected_state );

she returns a bool, she takes four arguments, she's booked and busy 🫢


πŸ¦‹ ARGUMENTS πŸ¦‹

  • caps β€” the Tx timestamp capabilities; these are the ones monitoring the latch status. think of them as the little clipboard-holder keeping an eye on things πŸ‘€
  • skb β€” the skb whose tstamp value gets returned via virtchnl message. yes, that skb. the main character of this whole operation πŸ’…
  • current_state β€” the current state of the Tx timestamp latch, aka where we're at right now, fr fr
  • expected_state β€” the expected state of the Tx timestamp latch, aka where we're supposed to be. the vibe check target 🌈

πŸ”₯ DESCRIPTION πŸ”₯

so what she does is: find a proper skb tracker β€” one that the Tx timestamp is actually received for β€” and then change the state to the expected value. that's it. that's the whole job. lowkey elegant, highkey essential ⭐

like, she's matching up trackers and flipping states, and honestly? obsessed with her focus 🧚


πŸ‘‘ RETURN πŸ‘‘

returns true if the tracker has been found and updated β€” slay, she ate πŸ’–

returns false otherwise β€” not me crying, it's fine, we move 😭


πŸ’œ SEE ALSO πŸ’œ

kernel file ./drivers/net/ethernet/intel/idpf/idpf_virtchnl_ptp.c β€” go read her, she's the source of truth πŸ“–

and the whole squad, in this exact order, bestie:


πŸ’€ real talk though: this page is straight from ./drivers/net/ethernet/intel/idpf, dated October 2026, section 9. that's the whole receipt, iykyk 🧾✨

k bye, go update some trackers, ily, don't forget to close your brackets πŸ«ΆπŸ’…πŸŽ€

πŸ“¦ where this page comes from