mlx4_en_phc_adjfine(9)
π mlx4_en_phc_adjfine(9) β from the Kernel API Manual, bestie π
okay so we're in the Kernel API Manual today and the page is mlx4_en_phc_adjfine(9). grab a lil snack, this one's short and sweet π
β¨ NAME β¨
mlx4_en_phc_adjfine β adjust the frequency of the hardware clock
like, we're literally just nudging the clock's vibe (its frequency) so it stops drifting. no cap. π°οΈ
π SYNOPSIS π
int mlx4_en_phc_adjfine (struct ptp_clock_info *ptp , long scaled_ppm );
it returns an int, it takes two things, and yes the spacing is exactly like that β don't come for me, I'm copying the icon π
π¦ ARGUMENTS π¦
ptpβ the ptp clock structure. this is the main character of the whole operation, the clock we're about to tweak π«scaled_ppmβ the desired frequency change in scaled parts per million. so not regular ppm, scaled ppm β keep reading, I promise it makes sense πΈ
π₯ DESCRIPTION π₯
So here's the tea β: this function adjusts the frequency of the PHC cycle counter by the indicated scaled_ppm from the base frequency. that's it, that's the whole job β a little nudge away from base, in either direction, no dramatic main-character overhaul.
And in case you were wondering what the heck "scaled" means here (because I know you were):
Scaled parts per million is ppm with a 16-bit binary fractional field.
so it's ppm with a 16-bit fractional bit of extra precision stapled on. fancy ppm. posh ppm. ppm that went to finishing school πβ¨
π SEE ALSO π
kernel file ./drivers/net/ethernet/mellanox/mlx4/en_clock.c β go read the source, it's giving lore π
and these absolute icons, all in the same friend group:
mlx4_en_remove_timestamp(9)mlx4_en_phc_adjtime(9)mlx4_en_phc_gettime(9)mlx4_en_phc_settime(9)mlx4_en_phc_enable(9)
iykyk π
aaaand that's the whole page, bestie, you ate that π«Ά source line lives at ./drivers/net/ethernet/mellano... (truncated in the original, don't @ me π), dated October 2026, and the page is mlx4_en_phc_adjfine(9) β mwah, go adjust some frequencies responsibly βππ
π¦ 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