idpf_ptp_upd...tamp_tracker(9)
π 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 frexpected_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:
idpf_ptp_get_caps(9)idpf_ptp_get_dev_clk_time(9)idpf_ptp_get_cross_time(9)idpf_ptp_set_dev_clk_time(9)idpf_ptp_adj_dev_clk_time(9)idpf_ptp_adj_dev_clk_fine(9)idpf_ptp_get_vport_tstamps_caps(9)idpf_ptp_get_tstamp_value(9)idpf_ptp_get_tx_tstamp_async_handler(9)idpf_ptp_get_tx_tstamp(9)
π 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
- 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