iavf_virtchnl_ptp_get_time(9)
πΈ NAME πΈ
okay so welcome to the Kernel API Manual, bestie! π Todayβs page is iavf_virtchnl_ptp_get_time β she literally responds to VIRTCHNL_OP_1588_PTP_GET_TIME. Thatβs it, thatβs her whole job, and she ate π
β¨
π¦ SYNOPSIS π¦
void iavf_virtchnl_ptp_get_time (struct iavf_adapter *adapter , void
*data , u16 len );
π ARGUMENTS π
adapterβ the private adapter structure, aka her lil internal home base πdataβ the message from the PF, like the text bubble that just landed π©lenβ length of the message from the PF, aka how many bytes weβre reading π
π DESCRIPTION π
okay so this function handles the VIRTCHNL_OP_1588_PTP_GET_TIME message from the PF. The PF sends this message in response to the same op as a request from the VF. Our job is to extract the 64bit nanoseconds time from the message and store it in cached_phc_time. Then we notify any thread that is waiting for the update via the wait queue. Itβs giving synchronization with main character energy, no cap π₯π°οΈ
π SEE ALSO π
Kernel file ./drivers/net/ethernet/intel/iavf/iavf_virtchnl.c β yes, thatβs the actual file, and then the whole iavf girlie squad:
iavf_send_pf_msg(9),iavf_send_api_ver(9),iavf_poll_virtchnl_msg(9),iavf_verify_api_ver(9),iavf_send_vf_config_msg(9),iavf_send_vf_ptp_caps_msg(9),iavf_validate_num_queues(9),iavf_get_vf_config(9)iavf_configure_queues(9),iavf_enable_queues(9),iavf_disable_queues(9),iavf_map_queues(9),iavf_set_mac_addr_type(9),iavf_add_ether_addrs(9),iavf_del_ether_addrs(9),iavf_mac_add_ok(9)iavf_mac_add_reject(9),iavf_vlan_add_reject(9),iavf_add_vlans(9),iavf_del_vlans(9),iavf_set_promiscuous(9),iavf_request_stats(9),iavf_get_rss_hashcfg(9),iavf_set_rss_hashcfg(9)iavf_set_rss_key(9),iavf_set_rss_lut(9),iavf_set_rss_hfunc(9),iavf_enable_vlan_stripping(9),iavf_disable_vlan_stripping(9),iavf_tpid_to_vc_ethertype(9),iavf_set_vc_offload_ethertype(9),iavf_clear_offload_v2_aq_required(9)iavf_send_vlan_offload_v2(9),iavf_enable_vlan_stripping_v2(9),iavf_disable_vlan_stripping_v2(9),iavf_enable_vlan_insertion_v2(9),iavf_disable_vlan_insertion_v2(9),iavf_virtchnl_send_ptp_cmd(9),iavf_print_link_message(9),iavf_get_vpe_link_status(9)iavf_set_adapter_link_speed_from_vpe(9),iavf_get_qos_caps(9),iavf_set_quanta_size(9),iavf_cfg_queues_quanta_size(9),iavf_cfg_queues_bw(9),iavf_enable_channels(9),iavf_disable_channels(9),iavf_print_cloud_filter(9)iavf_add_cloud_filter(9),iavf_del_cloud_filter(9),iavf_add_fdir_filter(9),iavf_del_fdir_filter(9),iavf_add_adv_rss_cfg(9),iavf_del_adv_rss_cfg(9),iavf_request_reset(9),iavf_netdev_features_vlan_strip_set(9)iavf_activate_fdir_filters(9),iavf_virtchnl_completion(9),iavf_poll_virtchnl_response(9)
and thatβs the page, bestie! The footer says the source is ./drivers/net/ethernet/intel/iavf, the date is October 2026, and the page id is iavf_virtchnl_ptp_get_time(9) β stay iconic and synchronized πβ¨π«Ά
π¦ 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