STRUCT IDPF_PTP_VPORT_TX_TSTAMP_CAPS(9)
π 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-bitboolflag 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:
struct idpf_ptp_cmd(9)enum idpf_ptp_access(9)struct idpf_ptp_secondary_mbx(9)enum idpf_ptp_tx_tstamp_state(9)struct idpf_ptp_tx_tstamp_status(9)struct idpf_ptp_tx_tstamp(9)struct idpf_ptp(9)idpf_ptp_info_to_adapter(9)struct idpf_ptp_dev_timers(9)idpf_ptp_is_vport_tx_tstamp_ena(9)idpf_ptp_is_vport_rx_tstamp_ena(9)
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
- 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