ENUM VIRTCHNL2_PTP_CAPS(9)
π NAME π
okay so bestie, this is enum virtchnl2_ptp_caps(9) β literally PTP capabilities β straight out of the Kernel API Manual. it's giving tiny enum, big Main Timer energy, and we're gonna go through every single constant, no skipping π
πΈ SYNOPSIS πΈ
here's the enum in all its glory, copied exactly so nobody comes for me:
enum virtchnl2_ptp_caps {
VIRTCHNL2_CAP_PTP_GET_DEVICE_CLK_TIME ,
VIRTCHNL2_CAP_PTP_GET_DEVICE_CLK_TIME_MB ,
VIRTCHNL2_CAP_PTP_GET_CROSS_TIME ,
VIRTCHNL2_CAP_PTP_GET_CROSS_TIME_MB ,
VIRTCHNL2_CAP_PTP_SET_DEVICE_CLK_TIME ,
VIRTCHNL2_CAP_PTP_SET_DEVICE_CLK_TIME_MB ,
VIRTCHNL2_CAP_PTP_ADJ_DEVICE_CLK ,
VIRTCHNL2_CAP_PTP_ADJ_DEVICE_CLK_MB ,
VIRTCHNL2_CAP_PTP_TX_TSTAMPS ,
VIRTCHNL2_CAP_PTP_TX_TSTAMPS_MB
};
π Constants π
VIRTCHNL2_CAP_PTP_GET_DEVICE_CLK_TIMEβ direct access to get the time of device clock π°οΈVIRTCHNL2_CAP_PTP_GET_DEVICE_CLK_TIME_MBβ mailbox access to get the time of device clock π¬VIRTCHNL2_CAP_PTP_GET_CROSS_TIMEβ direct access to cross timestamp β¨VIRTCHNL2_CAP_PTP_GET_CROSS_TIME_MBβ mailbox access to cross timestamp π¬VIRTCHNL2_CAP_PTP_SET_DEVICE_CLK_TIMEβ direct access to set the time of device clock β±οΈVIRTCHNL2_CAP_PTP_SET_DEVICE_CLK_TIME_MBβ mailbox access to set the time of device clock π¬VIRTCHNL2_CAP_PTP_ADJ_DEVICE_CLKβ direct access to adjust the time of device clock ποΈVIRTCHNL2_CAP_PTP_ADJ_DEVICE_CLK_MBβ mailbox access to adjust the time of device clock π¬VIRTCHNL2_CAP_PTP_TX_TSTAMPSβ direct access to the Tx timestamping π₯VIRTCHNL2_CAP_PTP_TX_TSTAMPS_MBβ mailbox access to the Tx timestamping π¬
π Description π
okay so the actual tea: the PF/VF negotiates a set of supported PTP capabilities with the Control Plane. there are two access methods β mailbox (_MB) and direct. PTP capabilities enables Main Timer operations: get/set/adjust Main Timer, cross timestamping and the Tx timestamping. that's it, bestie β iconic, concise, no filler π
π SEE ALSO π
if you're in your "read the whole header" era, here's the squad:
- Kernel file
./include/linux/net/intel/virtchnl2.henum 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)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_tx_tstamp_latch(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)
okay bestie, that's the whole page π« β source/version vibes are ./include/linux/net/intel, dated October 2026, and the page is enum virtchnl2_ptp_caps(9). go off, you iconic Unix gremlin π«Άπ
π¦ 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