STRUCT IDPF_PTP_VPORT_TX_TSTAMP_CAPS(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… struct idpf_ptp_vport_tx_tstamp_caps(9) ✨

hiii bestie!! welcome to the Kernel API Manual πŸŽ€ β€” this one's a struct page, not a command page, so grab a lil snack and let's get into it πŸ“


🌸 NAME 🌸

struct idpf_ptp_vport_tx_tstamp_caps β€” the Tx timestamp capabilities struct, and yes she's exactly as booked-and-blessed as her name suggests πŸ‘‘


✨ SYNOPSIS ✨

struct idpf_ptp_vport_tx_tstamp_caps {
    u32 vport_id;
    u16 num_entries;
    u16 tstamp_ns_lo_bit;
    spinlock_t latches_lock;
    spinlock_t status_lock;
    bool access:1;
    struct list_head latches_free;
    struct list_head latches_in_use;
    struct idpf_ptp_tx_tstamp_status tx_tstamp_status[];
};

literally the whole glow-up in one code block πŸ’–


πŸ¦‹ Members πŸ¦‹

okay so every single field, in order, no skipping, no cap:

  • vport_id β€” the vport id πŸ†” like, which vport she's repping, iykyk.
  • num_entries β€” the number of negotiated Tx timestamp entries πŸ“Š that's how many slots got agreed on.
  • tstamp_ns_lo_bit β€” first bit for the nanosecond part of the timestamp ⏱️ the starting bit, bestie, the literal beginning of the ns chunk.
  • latches_lock β€” the lock to the lists of free/used timestamp indexes πŸ”’ protects both the free list and the in-use list, she's doing double duty, main character energy fr.
  • status_lock β€” the lock to the status tracker πŸ” guards the status tracker, periodt.
  • access β€” indicates an access to Tx timestamp πŸ‘€ lil 1-bit bool flag saying yes, there's an access happening.
  • latches_free β€” the list of the free Tx timestamps latches πŸŽ€ the available ones, chilling, unclaimed.
  • latches_in_use β€” the list of the used Tx timestamps latches πŸ”₯ the ones currently spoken for, no touchy.
  • tx_tstamp_status β€” Tx tstamp status tracker πŸ“‘ the tracker keeping tabs on status, she's the one taking notes.

🌈 SEE ALSO 🌈

all the siblings and neighbours, linked and loved 🫢 the kernel file lives at ./drivers/net/ethernet/intel/idpf/idpf_ptp.h, and the whole fam is:

go read them too, they're iconic in their own right πŸ’œ


ok that's the whole page, every field and every reference accounted for β€” nothing dropped, nothing invented, we ate and left no crumbs πŸ’…βœ¨

later bestie!! this one came out of ./drivers/net/ethernet/intel/idpf, part of the Kernel API Manual, dated October 2026 β€” mwah, bye πŸ’–πŸŽ€πŸ¦‹

πŸ“¦ where this page comes from