iavf_virtchnl_ptp_get_time(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 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:


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