STRUCT VIRTCHNL2_PTP_TX_TSTAMP_LATCH(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ• STRUCT VIRTCHNL2_PTP_TX_TSTAMP_LATCH(9) πŸ•

okay so this is a page from the Kernel API Manual bestie, and it's literally all about one little struct: struct virtchnl2_ptp_tx_tstamp_latch. She's the icon that describes tx tstamp values, plus her index and validity. tiny but crucial, no cap πŸ’…


✨ NAME ✨

struct virtchnl2_ptp_tx_tstamp_latch β€” the structure that describes tx tstamp values, index and validity. she said "I hold the timestamp info and I hold it correctly" 🫢


πŸŽ€ SYNOPSIS πŸŽ€

struct virtchnl2_ptp_tx_tstamp_latch {
    __le64 tstamp;
    u8 index;
    u8 valid;
    u8 pad[6];
 };

look at her. four fields. flawless layout. the pad[6] is giving "I left room for the future" main character energy 🌸


πŸ’– Members πŸ’–

  • tstamp β€” the timestamp value itself, the whole reason she exists ⭐
  • index β€” the timestamp index you read that value from, like her little source tag 🏷️
  • valid β€” says whether the timestamp is actually valid; a vibe check in a single field πŸ‘‘
  • pad β€” padding for future extensions, aka reserved seating for guests not yet invited πŸ¦‹

🌈 SEE ALSO 🌈

bestie there is so much family here, all from the kernel file ./include/linux/net/intel/virtchnl2.h:

  • enum virtchnl2_vport_type(9)
  • enum virtchnl2_queue_model(9)
  • enum virtchnl2_action_types(9)
  • enum virtchnl2_txq_sched_mode(9)
  • enum virtchnl2_rxq_flags(9)
  • enum virtchnl2_mac_addr_type(9)
  • struct virtchnl2_edt_caps(9)
  • struct virtchnl2_version_info(9)
  • struct virtchnl2_get_capabilities(9)
  • struct virtchnl2_queue_reg_chunk(9)
  • struct virtchnl2_queue_reg_chunks(9)
  • enum virtchnl2_vport_flags(9)
  • struct virtchnl2_create_vport(9)
  • struct virtchnl2_vport(9)
  • struct virtchnl2_txq_info(9)
  • struct virtchnl2_config_tx_queues(9)
  • struct virtchnl2_rxq_info(9)
  • struct virtchnl2_config_rx_queues(9)
  • struct virtchnl2_add_queues(9)
  • struct virtchnl2_vector_chunk(9)
  • struct virtchnl2_vector_chunks(9)
  • struct virtchnl2_alloc_vectors(9)
  • struct virtchnl2_rss_lut(9)
  • struct virtchnl2_rss_hash(9)
  • struct virtchnl2_sriov_vfs_info(9)
  • struct virtchnl2_ptype(9)
  • struct virtchnl2_get_ptype_info(9)
  • struct virtchnl2_vport_stats(9)
  • struct virtchnl2_event(9)
  • struct virtchnl2_rss_key(9)
  • struct virtchnl2_queue_chunk(9)
  • struct virtchnl2_del_ena_dis_queues(9)
  • struct virtchnl2_queue_vector(9)
  • struct virtchnl2_queue_vector_maps(9)
  • struct virtchnl2_loopback(9)
  • struct virtchnl2_mac_addr_list(9)
  • struct virtchnl2_promisc_info(9)
  • enum virtchnl2_ptp_caps(9)
  • struct virtchnl2_ptp_clk_reg_offsets(9)
  • struct virtchnl2_ptp_cross_time_reg_offsets(9)
  • struct virtchnl2_ptp_clk_adj_reg_offsets(9)
  • struct virtchnl2_ptp_tx_tstamp_latch_caps(9)
  • struct virtchnl2_ptp_get_vport_tx_tstamp_caps(9)
  • struct virtchnl2_ptp_get_caps(9)
  • struct virtchnl2_ptp_get_vport_tx_tstamp_latches(9)
  • struct virtchnl2_ptp_get_dev_clk_time(9)
  • struct virtchnl2_ptp_get_cross_time(9)
  • struct virtchnl2_ptp_set_dev_clk_time(9)
  • struct virtchnl2_ptp_adj_dev_clk_fine(9)
  • struct virtchnl2_ptp_adj_dev_clk_time(9)
  • struct virtchnl2_mem_region(9)
  • struct virtchnl2_get_lan_memory_regions(9)
  • struct virtchnl2_proto_hdr(9)
  • struct virtchnl2_proto_hdrs(9)
  • struct virtchnl2_rule_action(9)
  • struct virtchnl2_rule_action_set(9)
  • struct virtchnl2_flow_rule(9)
  • struct virtchnl2_flow_rule_info(9)
  • struct virtchnl2_flow_rule_add_del(9)

fr fr that's the whole friend group, go say hi πŸ˜­πŸ’œ


πŸ’€ friendly reminder: tstamp is __le64, so endianness is a real thing here β€” don't just assume, iykyk.

and that's the page!! brought to you by ./include/linux/net/intel, dated October 2026, and yes this whole struct page slays exactly as much as it sounds like it does πŸŽ€βœ¨πŸ¦‹ periodt 🫢

πŸ“¦ where this page comes from