iavf_send_phc_read(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– iavf_send_phc_read(9) πŸ’–

okay so bestie, this is a page from the Kernel API Manual, and we're talking about iavf_send_phc_read(9) β€” a little function that asks for the PTP hardware clock time. slay.

✨ NAME ✨

iavf_send_phc_read β€” Send request to read PHC time.

πŸ¦‹ SYNOPSIS πŸ¦‹

int iavf_send_phc_read (struct iavf_adapter *adapter );

πŸŽ€ ARGUMENTS πŸŽ€

  • adapter β€” the private adapter structure. that's the one and only argument, bestie.

🌸 DESCRIPTION 🌸

okay so what this does: it sends a request to obtain the PTP hardware clock time. ✨ To do that, it allocates the VIRTCHNL_OP_1588_PTP_GET_TIME message and queues it up to send, so the PHC time gets read indirectly.

🫢 important vibe check: this function does not wait for the reply from the PF. no cap, it just sends and dips.

⭐ RETURN ⭐

  • 0 if success
  • error code otherwise

πŸ’œ SEE ALSO πŸ’œ


okay bye bestie 🫢 the source/version is ./drivers/net/ethernet/intel/iavf, the date is October 2026, and the page stays iavf_send_phc_read(9). periodt πŸ’…

πŸ“¦ where this page comes from