i40e_ptp_adjfine(9)
π i40e_ptp_adjfine β the Kernel API Manual, but make it make sense
okay bestie, welcome to the i40e_ptp_adjfine(9) page β yes it's a kernel API manual page, no you don't have to be scared, I literally got you π«Ά
β¨ NAME β¨
i40e_ptp_adjfine β adjust the PHC frequency. that's it. that's the whole vibe. it nudge-nudges the clock frequency by a teeny delta and honestly? iconic.
πΈ SYNOPSIS πΈ
int i40e_ptp_adjfine (struct ptp_clock_info *ptp , long scaled_ppm );
like, it takes two things and returns an int. we love a simple signature. no cap.
π ARGUMENTS π
ptpβ the PTP clock structure π this is your clock bestie, the actualstruct ptp_clock_info *you're messing with.scaled_ppmβ scaled parts per million adjustment from base. along, and yes the "scaled" part matters, keep reading π
π¦ DESCRIPTION π¦
so, what does it actually do? it adjusts the frequency of the PHC by the indicated delta from the base frequency. like a little fine-tuning knob for your hardware clock. obsessed. π₯
and here's the detail you cannot skip: scaled parts per million is ppm with a 16 bit binary fractional field. so scaled_ppm isn't just plain ppm β it's ppm with 16 extra bits of fractional goodness tacked on the end. write that down, iykyk β¨
π SEE ALSO π
the kernel file lives right here, for the curious girlies:
./drivers/net/ethernet/intel/i40e/i40e_ptp.c
and now, the friend group. every single one of these, present and accounted for π (i40e PTP family reunion, fr fr):
i40e_ptp_extts0_work(9)i40e_is_ptp_pin_dev(9)i40e_can_set_pins(9)i40_ptp_reset_timing_events(9)i40e_ptp_verify(9)i40e_ptp_read(9)i40e_ptp_write(9)i40e_ptp_convert_to_hwtstamp(9)i40e_ptp_set_1pps_signal_hw(9)i40e_ptp_adjtime(9)i40e_ptp_gettimex(9)i40e_ptp_settime(9)i40e_pps_configure(9)i40e_pin_state(9)i40e_ptp_enable_pin(9)i40e_ptp_feature_enable(9)i40e_ptp_get_rx_events(9)i40e_ptp_rx_hang(9)i40e_ptp_tx_hang(9)i40e_ptp_tx_hwtstamp(9)i40e_ptp_rx_hwtstamp(9)i40e_ptp_set_increment(9)i40e_ptp_hwtstamp_get(9)i40e_ptp_free_pins(9)i40e_ptp_set_pin_hw(9)i40e_ptp_set_led_hw(9)i40e_ptp_init_leds_hw(9)i40e_ptp_set_pins_hw(9)i40e_ptp_set_pins(9)i40e_ptp_alloc_pins(9)i40e_ptp_set_timestamp_mode(9)i40e_ptp_hwtstamp_set(9)i40e_init_pin_config(9)i40e_ptp_create_clock(9)i40e_ptp_save_hw_time(9)i40e_ptp_restore_hw_time(9)i40e_ptp_init(9)i40e_ptp_stop(9)
note thati40_ptp_reset_timing_events(9)really is spelled with oneein thei40part β that's the original, don't come for me, i copied it exactly π
and that's the page, bestie π the whole thing comes from ./drivers/net/ethernet/intel/i40e and it's dated October 2026 β so yeah, future vibes only β go adjust some frequencies, you main character π§ββοΈπ
π¦ 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