iavf_ptp_set_ts_config(9)
π iavf_ptp_set_ts_config(9) β like, the timestamping glow-up page
okay bestie, welcome to the Kernel API Manual β¨ this one's all about iavf_ptp_set_ts_config, and honestly? it's a shortie but a goodie. let's get into it π
πΈ NAME πΈ
iavf_ptp_set_ts_config β Set timestamping configuration π« that's literally the whole vibe. it sets the ts config. iconic.
β¨ SYNOPSIS β¨
int iavf_ptp_set_ts_config (struct iavf_adapter *adapter , struct
kernel_hwtstamp_config *config , struct netlink_ext_ack *extack );
three args, one int coming back atcha π«Ά no cap.
π¦ ARGUMENTS π¦
adapterβ the private adapter structure π like, the main character of the whole driver nglconfigβ pointer to akernel_hwtstamp_configstructure π this is the config you're handing overextackβ pointer to anetlink_ext_ackstructure β¨ the extack bestie, there for the netlink receipts
π₯ DESCRIPTION π₯
Program the requested timestamping configuration to the device. periodt. π that's it, that's the whole job β you take the requested timestamping config and you program it into the device. no extra lore, no secret side quests, just straight-up config delivery πβ¨
β RETURN β
0on success π slay- a negative error code otherwise π it's giving "something went sideways", but at least it tells you with a negative number, iykyk
π SEE ALSO π
the kernel file we're living in: ./drivers/net/ethernet/intel/iavf/iavf_ptp.c π§
and the whole friend group, fr fr β go say hi to:
iavf_ptp_disable_rx_tstamp(9)iavf_ptp_enable_rx_tstamp(9)iavf_ptp_set_timestamp_mode(9)iavf_ptp_cap_supported(9)iavf_allocate_ptp_cmd(9)iavf_queue_ptp_cmd(9)iavf_send_phc_read(9)iavf_read_phc_indirect(9)iavf_ptp_cache_phc_time(9)iavf_ptp_do_aux_work(9)iavf_ptp_register_clock(9)iavf_ptp_init(9)iavf_ptp_release(9)iavf_ptp_process_caps(9)iavf_ptp_extend_32b_timestamp(9)
like, the whole cast π and yes, they all get (9) because they're kernel-functions, we don't make the rules π
mwah π that's the page!! sourced straight from ./drivers/net/ethernet/intel/iavf, dated October 2026 β so you know it's fresh π and it's all about iavf_ptp_set_ts_config(9), the one and only πβ¨π
π¦ 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